Running command: translateModel(Chemical.Examples.CheckSubstancesData.SimpleReaction,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Chemical_Chemical.Examples.CheckSubstancesData.SimpleReaction") Notification: Performance of loadModel(Chemical): time 1.82/1.82, allocations: 215.4 MB / 227.5 MB, free: 360 kB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 2.954e-05/2.957e-05, allocations: 4 kB / 280.4 MB, free: 11.76 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08351/0.08356, allocations: 50.02 MB / 330.5 MB, free: 9.645 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3957/0.4793, allocations: 82.93 MB / 413.4 MB, free: 14.55 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001983/0.4795, allocations: 70.89 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$B. 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.06415/0.5437, allocations: 17.31 MB / 430.8 MB, free: 4 kB / 346.7 MB Notification: Performance of FrontEnd: time 2.137e-05/0.5438, allocations: 4 kB / 430.8 MB, free: 0 / 346.7 MB Notification: Performance of Transformations before backend: time 2.092e-05/0.5438, allocations: 8.109 kB / 430.8 MB, free: 15.99 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: 44 * Number of variables: 44 Notification: Performance of Generate backend data structure: time 0.001051/0.5449, allocations: 0.6605 MB / 431.4 MB, free: 15.3 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.84e-05/0.5449, allocations: 12.03 kB / 431.4 MB, free: 15.29 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.642e-05/0.545, allocations: 35.53 kB / 431.5 MB, free: 15.25 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005803/0.5456, allocations: 338.2 kB / 431.8 MB, free: 14.92 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.499e-05/0.5457, allocations: 19.8 kB / 431.8 MB, free: 14.91 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.935e-05/0.5457, allocations: 19.44 kB / 431.9 MB, free: 14.89 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008533/0.5466, allocations: 0.5436 MB / 432.4 MB, free: 14.53 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.208e-05/0.5466, allocations: 0 / 432.4 MB, free: 14.53 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.2e-05/0.5467, allocations: 7.438 kB / 432.4 MB, free: 14.53 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.665e-05/0.5467, allocations: 15.92 kB / 432.4 MB, free: 14.52 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001528/0.5483, allocations: 1.017 MB / 433.4 MB, free: 13.81 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002938/0.5512, allocations: 1.786 MB / 435.2 MB, free: 12.43 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001162/0.5514, allocations: 48.95 kB / 435.3 MB, free: 12.39 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.853e-05/0.5514, allocations: 28.25 kB / 435.3 MB, free: 12.36 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.475e-05/0.5515, allocations: 0 / 435.3 MB, free: 12.36 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.566e-05/0.5515, allocations: 30.56 kB / 435.3 MB, free: 12.32 MB / 362.7 MB Notification: Performance of pre-optimization done (n=4): time 2.025e-06/0.5515, allocations: 4 kB / 435.3 MB, free: 12.32 MB / 362.7 MB Notification: Performance of matching and sorting (n=4): time 0.000265/0.5518, allocations: 103.3 kB / 435.4 MB, free: 12.22 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.823e-05/0.5518, allocations: 54.22 kB / 435.5 MB, free: 12.16 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00146/0.5533, allocations: 1.099 MB / 436.6 MB, free: 11.48 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.893e-05/0.5534, allocations: 25.7 kB / 436.6 MB, free: 11.45 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001919/0.5536, allocations: 246.7 kB / 436.9 MB, free: 11.26 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.203e-05/0.5536, allocations: 14.72 kB / 436.9 MB, free: 11.25 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.117e-05/0.5536, allocations: 3.438 kB / 436.9 MB, free: 11.25 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001756/0.5538, allocations: 345.4 kB / 437.2 MB, free: 10.91 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004459/0.5543, allocations: 309.8 kB / 437.5 MB, free: 10.73 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005416/0.5548, allocations: 439.7 kB / 437.9 MB, free: 10.36 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005313/0.5554, allocations: 344 kB / 438.3 MB, free: 10.15 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.151e-06/0.5554, allocations: 0 / 438.3 MB, free: 10.15 MB / 362.7 MB Notification: Performance of matching and sorting (n=32) (initialization): time 0.001306/0.5567, allocations: 0.776 MB / 439.1 MB, free: 9.613 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.937e-05/0.5567, allocations: 8 kB / 439.1 MB, free: 9.605 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.15e-05/0.5568, allocations: 4.047 kB / 439.1 MB, free: 9.602 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.277e-05/0.5568, allocations: 11.98 kB / 439.1 MB, free: 9.59 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003226/0.5571, allocations: 71.58 kB / 439.1 MB, free: 9.523 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.457e-05/0.5572, allocations: 8.562 kB / 439.2 MB, free: 9.516 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003311/0.5575, allocations: 39.22 kB / 439.2 MB, free: 9.48 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.321e-05/0.5576, allocations: 19.98 kB / 439.2 MB, free: 9.461 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 21 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (32): * Single equations (assignments): 32 * 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.0001069/0.5577, allocations: 120 kB / 439.3 MB, free: 9.344 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.14e-05/0.5578, allocations: 39.58 kB / 439.4 MB, free: 9.305 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002425/0.558, allocations: 108.7 kB / 439.5 MB, free: 9.211 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.607e-06/0.5581, allocations: 0 / 439.5 MB, free: 9.211 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.098e-06/0.5581, allocations: 0 / 439.5 MB, free: 9.211 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.146e-06/0.5581, allocations: 0 / 439.5 MB, free: 9.211 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008573/0.559, allocations: 0.6172 MB / 440.1 MB, free: 8.605 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.286e-06/0.559, allocations: 0 / 440.1 MB, free: 8.605 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.78e-05/0.5591, allocations: 8 kB / 440.1 MB, free: 8.598 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.961e-06/0.5591, allocations: 0 / 440.1 MB, free: 8.598 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.357e-05/0.5591, allocations: 7.984 kB / 440.1 MB, free: 8.59 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.198e-06/0.5591, allocations: 3.938 kB / 440.1 MB, free: 8.586 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.089e-06/0.5591, allocations: 4.125 kB / 440.1 MB, free: 8.582 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000268/0.5594, allocations: 184.2 kB / 440.3 MB, free: 8.375 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001933/0.5596, allocations: 147.9 kB / 440.4 MB, free: 8.227 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.839e-05/0.5597, allocations: 0 / 440.4 MB, free: 8.227 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001651/0.5599, allocations: 2.938 kB / 440.4 MB, free: 8.227 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.613e-05/0.5599, allocations: 7.953 kB / 440.4 MB, free: 8.219 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.392e-06/0.5599, allocations: 0 / 440.4 MB, free: 8.219 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.001112/0.5611, allocations: 0.8892 MB / 441.3 MB, free: 7.688 MB / 362.7 MB Notification: Performance of sort global known variables: time 7.49e-07/0.5611, allocations: 0 / 441.3 MB, free: 7.688 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0009049/0.562, allocations: 302.9 kB / 441.6 MB, free: 7.406 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.001053/0.5631, allocations: 0.5053 MB / 442.1 MB, free: 6.895 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0006685/0.5637, allocations: 387.2 kB / 442.5 MB, free: 6.645 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 5.362e-06/0.5638, allocations: 0 / 442.5 MB, free: 6.645 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 5.583e-05/0.5638, allocations: 23.48 kB / 442.5 MB, free: 6.625 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006479/0.5645, allocations: 120.4 kB / 442.7 MB, free: 6.527 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006892/0.5652, allocations: 314.3 kB / 443 MB, free: 6.219 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004585/0.5657, allocations: 0.7794 MB / 443.7 MB, free: 5.414 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0004243/0.5661, allocations: 154.5 kB / 443.9 MB, free: 5.262 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001275/0.5663, allocations: 47.41 kB / 443.9 MB, free: 5.215 MB / 362.7 MB Notification: Performance of SimCode: time 1.381e-06/0.5663, allocations: 3.938 kB / 443.9 MB, free: 5.211 MB / 362.7 MB Notification: Performance of Templates: time 0.01962/0.5859, allocations: 9.076 MB / 453 MB, free: 12.23 MB / 378.7 MB