Running command: translateModel(Modelica.Media.Examples.Tests.MediaTestModels.Air.SimpleAir,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.T|volume.medium.p",fileNamePrefix="Modelica_3.2.1_cpp_Modelica.Media.Examples.Tests.MediaTestModels.Air.SimpleAir") Notification: Performance of loadModel(Modelica): time 1.737/1.737, allocations: 171.1 MB / 186.3 MB, free: 1.414 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 3.374e-05/3.386e-05, allocations: 0 / 228.1 MB, free: 7.988 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08617/0.08624, allocations: 38.77 MB / 266.9 MB, free: 1.133 MB / 218.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.Air.SimpleAir): time 0.4375/0.5238, allocations: 117.7 MB / 384.6 MB, free: 12.64 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.003467/0.5273, allocations: 1.41 MB / 386 MB, free: 11.23 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003973/0.5278, allocations: 4 kB / 386 MB, free: 11.23 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0007438/0.5285, allocations: 143.9 kB / 386.1 MB, free: 11.09 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0007464/0.5293, allocations: 203.4 kB / 386.3 MB, free: 10.89 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001431/0.5308, allocations: 323.2 kB / 386.7 MB, free: 10.57 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0009003/0.5317, allocations: 339.2 kB / 387 MB, free: 10.24 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001819/0.5319, allocations: 39.95 kB / 387 MB, free: 10.2 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008384/0.5328, allocations: 279.3 kB / 387.3 MB, free: 9.93 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005543/0.5333, allocations: 199.5 kB / 387.5 MB, free: 9.734 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004388/0.5338, allocations: 83.83 kB / 387.6 MB, free: 9.652 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 7.484e-05/0.5339, allocations: 12 kB / 387.6 MB, free: 9.641 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001372/0.534, allocations: 71.8 kB / 387.7 MB, free: 9.57 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001515/0.5342, allocations: 40 kB / 387.7 MB, free: 9.531 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007126/0.5349, allocations: 383.9 kB / 388.1 MB, free: 9.16 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.256e-06/0.535, allocations: 0 / 388.1 MB, free: 9.16 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.545e-06/0.535, allocations: 0 / 388.1 MB, free: 9.16 MB / 314.7 MB Notification: Performance of Transformations before backend: time 1.463e-05/0.535, allocations: 0 / 388.1 MB, free: 9.16 MB / 314.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 60 * Number of variables: 60 Notification: Performance of Generate backend data structure: time 0.001007/0.536, allocations: 0.5147 MB / 388.6 MB, free: 8.594 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.841e-05/0.5361, allocations: 8.031 kB / 388.6 MB, free: 8.586 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004142/0.5365, allocations: 39.62 kB / 388.6 MB, free: 8.547 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005402/0.5371, allocations: 286.5 kB / 388.9 MB, free: 8.227 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.077e-05/0.5371, allocations: 16.56 kB / 388.9 MB, free: 8.211 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.276e-05/0.5372, allocations: 24 kB / 388.9 MB, free: 8.188 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007859/0.538, allocations: 301.3 kB / 389.2 MB, free: 7.879 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.375e-05/0.538, allocations: 7.844 kB / 389.2 MB, free: 7.871 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.146e-05/0.5381, allocations: 12 kB / 389.3 MB, free: 7.859 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.341e-05/0.5381, allocations: 7.953 kB / 389.3 MB, free: 7.852 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000556/0.5387, allocations: 206.1 kB / 389.5 MB, free: 7.652 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002792/0.5415, allocations: 1.289 MB / 390.8 MB, free: 6.238 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000608/0.5422, allocations: 187.3 kB / 390.9 MB, free: 6.047 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002316/0.5424, allocations: 162.4 kB / 391.1 MB, free: 5.852 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.272e-05/0.5425, allocations: 46.62 kB / 391.1 MB, free: 5.797 MB / 314.7 MB Notification: Performance of pre-optimization done (n=21): time 3.387e-06/0.5425, allocations: 4 kB / 391.1 MB, free: 5.793 MB / 314.7 MB Notification: Performance of matching and sorting (n=26): time 0.003996/0.5465, allocations: 1.034 MB / 392.2 MB, free: 4.664 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.436e-05/0.5466, allocations: 59.34 kB / 392.2 MB, free: 4.594 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004036/0.547, allocations: 229.8 kB / 392.5 MB, free: 4.359 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 7.33e-05/0.5471, allocations: 29.7 kB / 392.5 MB, free: 4.324 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001965/0.5473, allocations: 246.5 kB / 392.7 MB, free: 4.078 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001137/0.5474, allocations: 86.75 kB / 392.8 MB, free: 3.992 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.391e-05/0.5475, allocations: 4 kB / 392.8 MB, free: 3.988 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001549/0.5476, allocations: 326.8 kB / 393.1 MB, free: 3.66 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002595/0.5479, allocations: 75.97 kB / 393.2 MB, free: 3.586 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003513/0.5483, allocations: 187.5 kB / 393.4 MB, free: 3.359 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003289/0.5486, allocations: 111.9 kB / 393.5 MB, free: 3.25 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.867e-06/0.5486, allocations: 0 / 393.5 MB, free: 3.25 MB / 314.7 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.00111/0.5498, allocations: 435.9 kB / 393.9 MB, free: 2.793 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.957e-05/0.5498, allocations: 5.25 kB / 393.9 MB, free: 2.789 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.397e-05/0.5499, allocations: 4 kB / 393.9 MB, free: 2.785 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000231/0.5501, allocations: 42.11 kB / 394 MB, free: 2.738 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006394/0.5508, allocations: 83.83 kB / 394.1 MB, free: 2.656 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002949/0.5537, allocations: 2.579 MB / 396.6 MB, free: 15.82 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004651/0.5543, allocations: 31.92 kB / 396.7 MB, free: 15.79 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.17e-05/0.5543, allocations: 12 kB / 396.7 MB, free: 15.77 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (40): * Single equations (assignments): 38 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 1 {1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0002859/0.5546, allocations: 153.7 kB / 396.8 MB, free: 15.61 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001118/0.5547, allocations: 27.7 kB / 396.9 MB, free: 15.59 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009283/0.5557, allocations: 358.7 kB / 397.2 MB, free: 15.2 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.018e-05/0.5557, allocations: 4 kB / 397.2 MB, free: 15.2 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.851e-06/0.5557, allocations: 0 / 397.2 MB, free: 15.2 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009117/0.5567, allocations: 0.6152 MB / 397.8 MB, free: 14.48 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001749/0.5585, allocations: 0.7625 MB / 398.6 MB, free: 13.63 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.761e-06/0.5585, allocations: 0 / 398.6 MB, free: 13.63 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005476/0.5591, allocations: 59.91 kB / 398.7 MB, free: 13.57 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000126/0.5592, allocations: 21.72 kB / 398.7 MB, free: 13.55 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.308e-05/0.5593, allocations: 15.88 kB / 398.7 MB, free: 13.54 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001331/0.5606, allocations: 1.292 MB / 400 MB, free: 12.11 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.999e-06/0.5607, allocations: 0 / 400 MB, free: 12.11 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001157/0.5618, allocations: 0.5197 MB / 400.5 MB, free: 11.54 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001434/0.562, allocations: 104.8 kB / 400.6 MB, free: 11.42 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.494e-05/0.5621, allocations: 0 / 400.6 MB, free: 11.42 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004524/0.5626, allocations: 20.05 kB / 400.6 MB, free: 11.4 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.782e-05/0.5626, allocations: 19.97 kB / 400.6 MB, free: 11.38 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.287e-05/0.5627, allocations: 15.98 kB / 400.7 MB, free: 11.37 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0002936/0.563, allocations: 185.9 kB / 400.8 MB, free: 11.19 MB / 330.7 MB Notification: Performance of sort global known variables: time 3.9e-07/0.563, allocations: 0 / 400.8 MB, free: 11.19 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0006797/0.5637, allocations: 107.9 kB / 400.9 MB, free: 11.08 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 2 (volume.medium.p,volume.medium.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (25): * Single equations (assignments): 24 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003296/0.564, allocations: 131.2 kB / 401.1 MB, free: 10.95 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.001154/0.5652, allocations: 449.7 kB / 401.5 MB, free: 10.48 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 6.181e-06/0.5653, allocations: 0 / 401.5 MB, free: 10.48 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004754/0.5658, allocations: 223.3 kB / 401.7 MB, free: 10.25 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001687/0.5675, allocations: 161 kB / 401.9 MB, free: 10.09 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001921/0.5694, allocations: 0.8128 MB / 402.7 MB, free: 9.246 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004258/0.5699, allocations: 0.7648 MB / 403.5 MB, free: 8.457 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001897/0.5701, allocations: 39.42 kB / 403.5 MB, free: 8.418 MB / 330.7 MB Notification: Performance of SimCode: time 1.202e-06/0.5701, allocations: 0 / 403.5 MB, free: 8.418 MB / 330.7 MB Notification: Performance of Templates: time 0.01477/0.5849, allocations: 6.154 MB / 409.7 MB, free: 2.27 MB / 330.7 MB