Running command: translateModel(Modelica.Media.Examples.ReferenceAir.DryAir2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.T|volume.medium.p|volume1.medium.T|volume1.medium.p",fileNamePrefix="Modelica_3.2.2_cpp_Modelica.Media.Examples.ReferenceAir.DryAir2") Notification: Performance of loadModel(Modelica): time 2.007/2.007, allocations: 194.9 MB / 211.2 MB, free: 8.348 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 4.015e-05/4.002e-05, allocations: 7.906 kB / 258.8 MB, free: 8.711 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3262/0.3262, allocations: 44.5 MB / 303.3 MB, free: 12.73 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.DryAir2): time 0.03426/0.3605, allocations: 21.6 MB / 324.9 MB, free: 8.047 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.009488/0.3701, allocations: 4.997 MB / 329.9 MB, free: 3.039 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005696/0.3707, allocations: 11.94 kB / 329.9 MB, free: 3.027 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000922/0.3717, allocations: 234.9 kB / 330.1 MB, free: 2.797 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0009763/0.3727, allocations: 291.1 kB / 330.4 MB, free: 2.512 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.004668/0.3773, allocations: 1.176 MB / 331.6 MB, free: 1.332 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.001276/0.3786, allocations: 0.5224 MB / 332.1 MB, free: 0.8086 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002157/0.3789, allocations: 68.38 kB / 332.2 MB, free: 0.7422 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006609/0.3795, allocations: 319.3 kB / 332.5 MB, free: 440 kB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004746/0.38, allocations: 231.2 kB / 332.7 MB, free: 208 kB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002388/0.3824, allocations: 0.7453 MB / 333.5 MB, free: 15.46 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002528/0.3827, allocations: 56 kB / 333.5 MB, free: 15.4 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001799/0.3829, allocations: 95.72 kB / 333.6 MB, free: 15.31 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002411/0.3832, allocations: 64 kB / 333.7 MB, free: 15.25 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001575/0.3848, allocations: 0.7693 MB / 334.4 MB, free: 14.48 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.837e-06/0.3848, allocations: 0 / 334.4 MB, free: 14.48 MB / 282.7 MB Notification: Performance of FrontEnd: time 2.404e-06/0.3848, allocations: 0 / 334.4 MB, free: 14.48 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.363e-05/0.3848, allocations: 0 / 334.4 MB, free: 14.48 MB / 282.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 96 * Number of variables: 96 Notification: Performance of Generate backend data structure: time 0.001363/0.3862, allocations: 0.6554 MB / 335.1 MB, free: 13.77 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.722e-05/0.3863, allocations: 11.97 kB / 335.1 MB, free: 13.76 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008123/0.3871, allocations: 83.41 kB / 335.2 MB, free: 13.68 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006089/0.3877, allocations: 326.2 kB / 335.5 MB, free: 13.32 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.906e-05/0.3878, allocations: 29 kB / 335.5 MB, free: 13.29 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.022e-05/0.3879, allocations: 36 kB / 335.6 MB, free: 13.26 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001067/0.3889, allocations: 467.5 kB / 336 MB, free: 12.76 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.075e-05/0.389, allocations: 11.84 kB / 336 MB, free: 12.75 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.997e-05/0.3891, allocations: 20 kB / 336.1 MB, free: 12.73 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.845e-05/0.3891, allocations: 12 kB / 336.1 MB, free: 12.71 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007681/0.3899, allocations: 303.6 kB / 336.4 MB, free: 12.41 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02214/0.412, allocations: 6.715 MB / 343.1 MB, free: 5.113 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007473/0.4128, allocations: 266.5 kB / 343.3 MB, free: 4.844 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01825/0.4311, allocations: 3.885 MB / 347.2 MB, free: 0.6602 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.373e-05/0.4312, allocations: 38.5 kB / 347.3 MB, free: 0.6133 MB / 282.7 MB Notification: Performance of pre-optimization done (n=35): time 2.816e-06/0.4312, allocations: 0 / 347.3 MB, free: 0.6133 MB / 282.7 MB Notification: Performance of matching and sorting (n=45): time 0.01913/0.4503, allocations: 2.492 MB / 349.7 MB, free: 14.04 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.764e-05/0.4504, allocations: 55.41 kB / 349.8 MB, free: 13.98 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004747/0.4509, allocations: 266.4 kB / 350.1 MB, free: 13.71 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 6.276e-05/0.451, allocations: 37.7 kB / 350.1 MB, free: 13.66 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00021/0.4512, allocations: 274.5 kB / 350.4 MB, free: 13.39 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000193/0.4514, allocations: 169.6 kB / 350.5 MB, free: 13.22 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.746e-05/0.4515, allocations: 8 kB / 350.5 MB, free: 13.21 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001561/0.4516, allocations: 334.8 kB / 350.9 MB, free: 12.88 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004315/0.4521, allocations: 153.1 kB / 351 MB, free: 12.73 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005796/0.4527, allocations: 267.7 kB / 351.3 MB, free: 12.42 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005558/0.4532, allocations: 196.7 kB / 351.5 MB, free: 12.23 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.847e-06/0.4533, allocations: 0 / 351.5 MB, free: 12.23 MB / 298.7 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.001761/0.455, allocations: 0.5727 MB / 352 MB, free: 11.64 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.531e-05/0.4551, allocations: 9.344 kB / 352.1 MB, free: 11.63 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.447e-05/0.4551, allocations: 4 kB / 352.1 MB, free: 11.62 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01171/0.4668, allocations: 0.7675 MB / 352.8 MB, free: 10.85 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008258/0.4677, allocations: 107.8 kB / 352.9 MB, free: 10.74 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002954/0.4707, allocations: 2.471 MB / 355.4 MB, free: 8.086 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006277/0.4714, allocations: 35.95 kB / 355.4 MB, free: 8.051 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.951e-05/0.4714, allocations: 23.98 kB / 355.5 MB, free: 8.027 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (61): * Single equations (assignments): 58 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 3 {2 1,2 1,1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0003453/0.4718, allocations: 180.5 kB / 355.6 MB, free: 7.844 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001147/0.4719, allocations: 43.53 kB / 355.7 MB, free: 7.801 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002055/0.474, allocations: 0.8514 MB / 356.5 MB, free: 6.934 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.248e-05/0.474, allocations: 11.98 kB / 356.5 MB, free: 6.922 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.148e-06/0.4741, allocations: 0 / 356.5 MB, free: 6.922 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001671/0.4757, allocations: 0.9612 MB / 357.5 MB, free: 5.887 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00327/0.479, allocations: 1.488 MB / 359 MB, free: 4.332 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.073e-05/0.4791, allocations: 4 kB / 359 MB, free: 4.328 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006024/0.4797, allocations: 75.89 kB / 359.1 MB, free: 4.254 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005935/0.4857, allocations: 0.6179 MB / 359.7 MB, free: 3.629 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001077/0.4858, allocations: 15.98 kB / 359.7 MB, free: 3.613 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001583/0.4874, allocations: 1.284 MB / 361 MB, free: 2.277 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.007e-06/0.4875, allocations: 4.125 kB / 361 MB, free: 2.273 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002806/0.4903, allocations: 1.225 MB / 362.2 MB, free: 1.012 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002434/0.4906, allocations: 116.5 kB / 362.3 MB, free: 0.8789 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001175/0.4907, allocations: 12 kB / 362.3 MB, free: 0.8672 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005183/0.4912, allocations: 35.83 kB / 362.4 MB, free: 0.832 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.507e-05/0.4913, allocations: 27.95 kB / 362.4 MB, free: 0.8047 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.873e-05/0.4914, allocations: 19.94 kB / 362.4 MB, free: 0.7852 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0003705/0.4918, allocations: 210 kB / 362.6 MB, free: 0.582 MB / 298.7 MB Notification: Performance of sort global known variables: time 5.51e-07/0.4918, allocations: 0 / 362.6 MB, free: 0.582 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.001108/0.4929, allocations: 235.9 kB / 362.9 MB, free: 360 kB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 4 (volume.medium.p,volume.medium.T,volume1.medium.p,volume1.medium.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (43): * Single equations (assignments): 39 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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: 0 * Non-linear torn systems: 2 {1 2,1 2} Notification: Performance of Backend phase and start with SimCode phase: time 0.0009334/0.4939, allocations: 282.8 kB / 363.1 MB, free: 68 kB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.002016/0.4959, allocations: 0.683 MB / 363.8 MB, free: 15.37 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 5.13e-06/0.4959, allocations: 0 / 363.8 MB, free: 15.37 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001563/0.4975, allocations: 432.3 kB / 364.2 MB, free: 14.95 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002236/0.4998, allocations: 233.1 kB / 364.5 MB, free: 14.72 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003216/0.503, allocations: 1.49 MB / 366 MB, free: 13.2 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005499/0.5036, allocations: 0.8519 MB / 366.8 MB, free: 12.32 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002068/0.5038, allocations: 39.44 kB / 366.8 MB, free: 12.28 MB / 314.7 MB Notification: Performance of SimCode: time 9.42e-07/0.5039, allocations: 0 / 366.8 MB, free: 12.28 MB / 314.7 MB Notification: Performance of Templates: time 0.02849/0.5324, allocations: 12.71 MB / 379.6 MB, free: 15.56 MB / 330.7 MB