Running command: translateModel(Chemical.Examples.CheckSubstancesData.SimpleReaction2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Chemical_Chemical.Examples.CheckSubstancesData.SimpleReaction2") Notification: Performance of loadModel(Chemical): time 1.844/1.844, allocations: 215.4 MB / 227.5 MB, free: 348 kB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.212e-05/3.22e-05, allocations: 3.984 kB / 280.4 MB, free: 11.76 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08142/0.08148, allocations: 50.02 MB / 330.5 MB, free: 9.641 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3785/0.46, allocations: 82.93 MB / 413.4 MB, free: 14.55 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003677/0.4605, allocations: 70.58 kB / 413.5 MB, free: 14.52 MB / 346.7 MB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Chemical 1.2.0/package.mo:2614:7-2614:66:writable] Warning: No corresponding 'inner' declaration found for component .Modelica.Fluid.System A.system declared as 'outer '. The existing 'inner' components are: There are no 'inner' components defined in the model in any of the parent scopes of 'outer' component's scope: Chemical.Sources.PureSubstance. Check if you have not misspelled the 'outer' component name. Please declare an 'inner' component with the same name in the top scope. Continuing flattening by only considering the 'outer' component declaration. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Chemical 1.2.0/package.mo:2614:7-2614:66:writable] Warning: No corresponding 'inner' declaration found for component .Modelica.Fluid.System B.system declared as 'outer '. The existing 'inner' components are: There are no 'inner' components defined in the model in any of the parent scopes of 'outer' component's scope: Chemical.Sources.PureSubstance. Check if you have not misspelled the 'outer' component name. Please declare an 'inner' component with the same name in the top scope. Continuing flattening by only considering the 'outer' component declaration. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Chemical 1.2.0/package.mo:2614:7-2614:66:writable] Warning: No corresponding 'inner' declaration found for component .Modelica.Fluid.System C.system declared as 'outer '. The existing 'inner' components are: There are no 'inner' components defined in the model in any of the parent scopes of 'outer' component's scope: Chemical.Sources.PureSubstance$C. Check if you have not misspelled the 'outer' component name. Please declare an 'inner' component with the same name in the top scope. Continuing flattening by only considering the 'outer' component declaration. Notification: Performance of FrontEnd - DAE generated: time 0.08188/0.5424, allocations: 19.81 MB / 433.3 MB, free: 13.89 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.974e-06/0.5424, allocations: 0 / 433.3 MB, free: 13.89 MB / 362.7 MB Notification: Performance of Transformations before backend: time 2.801e-05/0.5425, allocations: 8 kB / 433.3 MB, free: 13.89 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 64 * Number of variables: 64 Notification: Performance of Generate backend data structure: time 0.001291/0.5438, allocations: 0.7604 MB / 434 MB, free: 13.11 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.211e-05/0.5438, allocations: 11.98 kB / 434 MB, free: 13.1 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001356/0.544, allocations: 59.34 kB / 434.1 MB, free: 13.04 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007523/0.5447, allocations: 421.5 kB / 434.5 MB, free: 12.64 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.001e-05/0.5448, allocations: 21.31 kB / 434.5 MB, free: 12.63 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.46e-05/0.5449, allocations: 22.62 kB / 434.6 MB, free: 12.61 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001268/0.5461, allocations: 0.7931 MB / 435.4 MB, free: 12.09 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.414e-05/0.5462, allocations: 0 / 435.4 MB, free: 12.09 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.802e-05/0.5462, allocations: 10.81 kB / 435.4 MB, free: 12.09 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.862e-05/0.5463, allocations: 26.86 kB / 435.4 MB, free: 12.07 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002263/0.5486, allocations: 1.51 MB / 436.9 MB, free: 11.03 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004206/0.5528, allocations: 2.556 MB / 439.5 MB, free: 9.102 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001254/0.553, allocations: 50.36 kB / 439.5 MB, free: 9.051 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.735e-05/0.553, allocations: 32.5 kB / 439.5 MB, free: 9.023 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.684e-05/0.5531, allocations: 0 / 439.5 MB, free: 9.023 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.743e-05/0.5531, allocations: 46.27 kB / 439.6 MB, free: 8.973 MB / 362.7 MB Notification: Performance of pre-optimization done (n=4): time 2.18e-06/0.5531, allocations: 0 / 439.6 MB, free: 8.973 MB / 362.7 MB Notification: Performance of matching and sorting (n=4): time 0.0003185/0.5535, allocations: 124.1 kB / 439.7 MB, free: 8.855 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.596e-05/0.5535, allocations: 55.41 kB / 439.8 MB, free: 8.789 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002204/0.5557, allocations: 1.605 MB / 441.4 MB, free: 7.812 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.467e-05/0.5558, allocations: 25.7 kB / 441.4 MB, free: 7.781 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002736/0.5561, allocations: 334.1 kB / 441.7 MB, free: 7.543 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.633e-05/0.5561, allocations: 14.75 kB / 441.7 MB, free: 7.531 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.407e-05/0.5562, allocations: 10.56 kB / 441.7 MB, free: 7.527 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0002041/0.5564, allocations: 368.3 kB / 442.1 MB, free: 7.18 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006607/0.557, allocations: 449.2 kB / 442.5 MB, free: 6.914 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008208/0.5579, allocations: 0.6379 MB / 443.2 MB, free: 6.371 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007698/0.5587, allocations: 0.4894 MB / 443.7 MB, free: 6.062 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.858e-06/0.5587, allocations: 0 / 443.7 MB, free: 6.062 MB / 362.7 MB Notification: Performance of matching and sorting (n=46) (initialization): time 0.001916/0.5606, allocations: 1.13 MB / 444.8 MB, free: 5.293 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.113e-05/0.5607, allocations: 8 kB / 444.8 MB, free: 5.285 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.549e-05/0.5607, allocations: 16.05 kB / 444.8 MB, free: 5.27 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.533e-05/0.5607, allocations: 8 kB / 444.8 MB, free: 5.262 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004739/0.5612, allocations: 103.2 kB / 444.9 MB, free: 5.164 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.559e-05/0.5612, allocations: 15.98 kB / 444.9 MB, free: 5.148 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004887/0.5617, allocations: 54.38 kB / 445 MB, free: 5.102 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.194e-05/0.5618, allocations: 31.3 kB / 445 MB, free: 5.074 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 31 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (46): * Single equations (assignments): 46 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001242/0.562, allocations: 124.5 kB / 445.1 MB, free: 4.953 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001147/0.5621, allocations: 47.44 kB / 445.2 MB, free: 4.906 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003019/0.5624, allocations: 133 kB / 445.3 MB, free: 4.797 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.877e-06/0.5624, allocations: 3.953 kB / 445.3 MB, free: 4.793 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.612e-06/0.5624, allocations: 3.984 kB / 445.3 MB, free: 4.789 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.937e-06/0.5625, allocations: 0 / 445.3 MB, free: 4.789 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001082/0.5636, allocations: 0.7114 MB / 446 MB, free: 4.121 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.52e-06/0.5636, allocations: 128 / 446 MB, free: 4.121 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.567e-05/0.5637, allocations: 15.98 kB / 446.1 MB, free: 4.105 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.215e-06/0.5637, allocations: 0 / 446.1 MB, free: 4.105 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.345e-05/0.5637, allocations: 4 kB / 446.1 MB, free: 4.102 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.845e-06/0.5637, allocations: 0 / 446.1 MB, free: 4.102 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.493e-06/0.5637, allocations: 3.938 kB / 446.1 MB, free: 4.098 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003188/0.5641, allocations: 213.3 kB / 446.3 MB, free: 3.863 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002511/0.5643, allocations: 169.4 kB / 446.4 MB, free: 3.703 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.478e-05/0.5644, allocations: 0 / 446.4 MB, free: 3.703 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002315/0.5647, allocations: 7.938 kB / 446.4 MB, free: 3.695 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.613e-05/0.5647, allocations: 7.938 kB / 446.5 MB, free: 3.688 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.062e-05/0.5648, allocations: 7.625 kB / 446.5 MB, free: 3.684 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.00171/0.5665, allocations: 1.288 MB / 447.7 MB, free: 2.727 MB / 362.7 MB Notification: Performance of sort global known variables: time 9.19e-07/0.5665, allocations: 3.938 kB / 447.8 MB, free: 2.723 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.001051/0.5676, allocations: 343.6 kB / 448.1 MB, free: 2.387 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (4): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001066/0.5686, allocations: 0.5146 MB / 448.6 MB, free: 1.859 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0009919/0.5696, allocations: 0.5486 MB / 449.2 MB, free: 1.312 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.036e-06/0.5697, allocations: 4 kB / 449.2 MB, free: 1.309 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 7.089e-05/0.5697, allocations: 19.98 kB / 449.2 MB, free: 1.289 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008615/0.5706, allocations: 170.5 kB / 449.3 MB, free: 1.129 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000959/0.5716, allocations: 434.9 kB / 449.8 MB, free: 0.6719 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005367/0.5722, allocations: 0.8272 MB / 450.6 MB, free: 15.82 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.000588/0.5728, allocations: 227.9 kB / 450.8 MB, free: 15.6 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000183/0.573, allocations: 59.33 kB / 450.9 MB, free: 15.54 MB / 378.7 MB Notification: Performance of SimCode: time 1.419e-06/0.573, allocations: 0 / 450.9 MB, free: 15.54 MB / 378.7 MB Notification: Performance of Templates: time 0.02462/0.5976, allocations: 11.25 MB / 462.1 MB, free: 4.352 MB / 378.7 MB