﻿id	summary	reporter	owner	description	type	status	priority	milestone	component	version	resolution	keywords	cc
1721	error division by zero	mohamed	mohamed	"Dear all,

I have a problem with a model generating 
an error division by zero.

Using these scripts wihin OMShell:

loadFile(""C:/Users/sridim/Desktop/gaspropreties.mo"")
true

simulate(gaspropreties.intake1)

will generate the following error:
record SimulationResult
    resultFile = """",
    simulationOptions = ""startTime = 0.0, stopTime = 1.0, numberOfIntervals = 500, tolerance = 1e-006, method = 'dassl', fileNamePrefix = 'gaspropreties.intake1', storeInTemp = false, noClean = false, options = '', outputFormat = 'mat', variableFilter = '.*', measureTime = false, cflags = ''"",
    messages = ""Simulation execution failed for model: gaspropreties.intake1
warning | division by zero in partial equation: 1.0 / pco1 because pco1 == 0
        | [line] 263 | [file] gaspropreties.intake1.c
throw   | [line] 43 | [file] util/division.c
        | division by zero
"",
    timeFrontend = 0.0,
    timeBackend = 0.0,
    timeSimCode = 0.0,
    timeTemplates = 0.0,
    timeCompile = 0.0,
    timeSimulation = 0.0,
    timeTotal = 0.0
end SimulationResult;

Attached,please find the full model(file.mo).

Best regards,
Mohamed,"	defect	closed	blocker	1.9.0	Backend		fixed		mohamed Frenkel TUD Lennart Ochel Willi Braun
