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_trunk_cpp_Modelica.Media.Examples.ReferenceAir.DryAir2") Notification: Performance of loadModel(Modelica): time 2.097/2.097, allocations: 224.7 MB / 241.1 MB, free: 1.648 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.229e-05/3.219e-05, allocations: 0 / 294.6 MB, free: 11.41 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1192/0.1193, allocations: 50.41 MB / 345 MB, free: 8.957 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.DryAir2): time 0.04493/0.1643, allocations: 21.73 MB / 366.7 MB, free: 3.16 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.01283/0.1772, allocations: 4.997 MB / 371.7 MB, free: 14.15 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006625/0.1779, allocations: 7.938 kB / 371.7 MB, free: 14.14 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001218/0.1791, allocations: 230.9 kB / 371.9 MB, free: 13.91 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001343/0.1805, allocations: 291.1 kB / 372.2 MB, free: 13.63 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.006301/0.1868, allocations: 1.184 MB / 373.4 MB, free: 12.44 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.001775/0.1886, allocations: 0.5302 MB / 373.9 MB, free: 11.91 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003058/0.189, allocations: 68.55 kB / 374 MB, free: 11.84 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00095/0.1899, allocations: 319.3 kB / 374.3 MB, free: 11.53 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006435/0.1906, allocations: 223.3 kB / 374.5 MB, free: 11.31 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00322/0.1938, allocations: 0.7415 MB / 375.3 MB, free: 10.57 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003787/0.1943, allocations: 56 kB / 375.3 MB, free: 10.52 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002545/0.1945, allocations: 103.7 kB / 375.4 MB, free: 10.41 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003382/0.1949, allocations: 60 kB / 375.5 MB, free: 10.36 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0022/0.1971, allocations: 0.7523 MB / 376.2 MB, free: 9.602 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.957e-06/0.1972, allocations: 0 / 376.2 MB, free: 9.602 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.845e-06/0.1972, allocations: 0 / 376.2 MB, free: 9.602 MB / 314.7 MB Notification: Performance of Transformations before backend: time 1.817e-05/0.1972, allocations: 0 / 376.2 MB, free: 9.602 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: 96 * Number of variables: 96 Notification: Performance of Generate backend data structure: time 0.001835/0.1991, allocations: 0.6591 MB / 376.9 MB, free: 8.895 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.588e-05/0.1991, allocations: 8.031 kB / 376.9 MB, free: 8.887 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001172/0.2003, allocations: 75.5 kB / 377 MB, free: 8.812 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008859/0.2012, allocations: 338.1 kB / 377.3 MB, free: 8.441 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.871e-05/0.2013, allocations: 33 kB / 377.3 MB, free: 8.41 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001204/0.2014, allocations: 36 kB / 377.4 MB, free: 8.375 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001458/0.2029, allocations: 459.6 kB / 377.8 MB, free: 7.883 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.602e-05/0.203, allocations: 7.922 kB / 377.8 MB, free: 7.875 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.938e-05/0.2031, allocations: 20 kB / 377.9 MB, free: 7.855 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.12e-05/0.2031, allocations: 8 kB / 377.9 MB, free: 7.848 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00108/0.2042, allocations: 303.7 kB / 378.2 MB, free: 7.551 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02568/0.2299, allocations: 6.73 MB / 384.9 MB, free: 240 kB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007671/0.2307, allocations: 278.5 kB / 385.2 MB, free: 15.95 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01895/0.2497, allocations: 3.881 MB / 389 MB, free: 11.77 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.065e-05/0.2498, allocations: 38.5 kB / 389.1 MB, free: 11.73 MB / 330.7 MB Notification: Performance of pre-optimization done (n=35): time 2.735e-06/0.2498, allocations: 0 / 389.1 MB, free: 11.73 MB / 330.7 MB Notification: Performance of matching and sorting (n=45): time 0.01911/0.269, allocations: 2.486 MB / 391.6 MB, free: 9.16 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.535e-05/0.269, allocations: 55.41 kB / 391.6 MB, free: 9.094 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004806/0.2695, allocations: 274.3 kB / 391.9 MB, free: 8.828 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 6.176e-05/0.2696, allocations: 37.64 kB / 391.9 MB, free: 8.785 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000212/0.2698, allocations: 282.4 kB / 392.2 MB, free: 8.508 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001818/0.27, allocations: 157.7 kB / 392.4 MB, free: 8.352 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.977e-05/0.2701, allocations: 12 kB / 392.4 MB, free: 8.34 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.000163/0.2703, allocations: 326.8 kB / 392.7 MB, free: 8.012 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004257/0.2707, allocations: 153.1 kB / 392.8 MB, free: 7.863 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005427/0.2713, allocations: 271.7 kB / 393.1 MB, free: 7.551 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000535/0.2718, allocations: 196.7 kB / 393.3 MB, free: 7.363 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.168e-06/0.2718, allocations: 0 / 393.3 MB, free: 7.363 MB / 330.7 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.00177/0.2736, allocations: 0.5722 MB / 393.9 MB, free: 6.773 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.798e-05/0.2737, allocations: 8 kB / 393.9 MB, free: 6.766 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.315e-05/0.2737, allocations: 4.469 kB / 393.9 MB, free: 6.762 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0118/0.2855, allocations: 0.7596 MB / 394.6 MB, free: 5.992 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008305/0.2864, allocations: 119.8 kB / 394.8 MB, free: 5.875 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002935/0.2893, allocations: 2.455 MB / 397.2 MB, free: 3.234 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006539/0.29, allocations: 43.89 kB / 397.3 MB, free: 3.191 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.53e-05/0.2901, allocations: 23.95 kB / 397.3 MB, free: 3.168 MB / 330.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.0003377/0.2905, allocations: 177.7 kB / 397.4 MB, free: 2.984 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001194/0.2906, allocations: 35.62 kB / 397.5 MB, free: 2.949 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002011/0.2926, allocations: 0.8592 MB / 398.3 MB, free: 2.07 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.994e-05/0.2927, allocations: 4 kB / 398.3 MB, free: 2.066 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.446e-06/0.2927, allocations: 3.938 kB / 398.3 MB, free: 2.062 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001627/0.2943, allocations: 0.9574 MB / 399.3 MB, free: 1.031 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.3103/0.6046, allocations: 1.493 MB / 400.8 MB, free: 54.8 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.351e-05/0.6047, allocations: 0.5625 kB / 400.8 MB, free: 54.8 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000835/0.6056, allocations: 79.22 kB / 400.9 MB, free: 54.8 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.008009/0.6136, allocations: 0.6232 MB / 401.5 MB, free: 54.79 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001343/0.6138, allocations: 19.05 kB / 401.5 MB, free: 54.79 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001805/0.6156, allocations: 1.271 MB / 402.8 MB, free: 53.75 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.003e-06/0.6157, allocations: 0.5312 kB / 402.8 MB, free: 53.75 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003466/0.6191, allocations: 1.236 MB / 404 MB, free: 53.4 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002388/0.6194, allocations: 115.5 kB / 404.1 MB, free: 53.31 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001508/0.6196, allocations: 14.56 kB / 404.2 MB, free: 53.3 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007026/0.6203, allocations: 25.98 kB / 404.2 MB, free: 53.29 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001035/0.6204, allocations: 27.8 kB / 404.2 MB, free: 53.29 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.638e-05/0.6205, allocations: 17 kB / 404.2 MB, free: 53.29 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0003308/0.6209, allocations: 212 kB / 404.4 MB, free: 53.17 MB / 330.7 MB Notification: Performance of sort global known variables: time 1.252e-06/0.6209, allocations: 0 / 404.4 MB, free: 53.17 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.001107/0.622, allocations: 233.2 kB / 404.7 MB, free: 53.16 MB / 330.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.0009823/0.623, allocations: 286.5 kB / 404.9 MB, free: 53.06 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.001971/0.625, allocations: 0.6917 MB / 405.6 MB, free: 52.75 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 5.781e-06/0.6251, allocations: 0 / 405.6 MB, free: 52.75 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001506/0.6266, allocations: 425.5 kB / 406 MB, free: 52.59 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002291/0.6289, allocations: 221.4 kB / 406.3 MB, free: 52.56 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002914/0.6319, allocations: 1.491 MB / 407.8 MB, free: 51.73 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004093/0.6323, allocations: 0.8464 MB / 408.6 MB, free: 51.02 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002943/0.6326, allocations: 45.55 kB / 408.6 MB, free: 51.01 MB / 330.7 MB Notification: Performance of SimCode: time 1.703e-06/0.6327, allocations: 0 / 408.6 MB, free: 51.01 MB / 330.7 MB Notification: Performance of Templates: time 0.02948/0.6621, allocations: 12.71 MB / 421.4 MB, free: 44.23 MB / 330.7 MB