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.1_cpp_Modelica.Media.Examples.ReferenceAir.DryAir2") Notification: Performance of loadModel(Modelica): time 1.747/1.747, allocations: 171.1 MB / 186.3 MB, free: 1.332 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 3.355e-05/3.354e-05, allocations: 4 kB / 228.1 MB, free: 7.988 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08728/0.08734, allocations: 38.77 MB / 266.9 MB, free: 1.141 MB / 218.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.DryAir2): time 0.0364/0.1238, allocations: 21.58 MB / 288.5 MB, free: 11.5 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.009443/0.1333, allocations: 5.008 MB / 293.5 MB, free: 6.477 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000566/0.1339, allocations: 4 kB / 293.5 MB, free: 6.473 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0009288/0.1349, allocations: 234.8 kB / 293.7 MB, free: 6.242 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0009414/0.1358, allocations: 291.1 kB / 294 MB, free: 5.957 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.004742/0.1406, allocations: 1.18 MB / 295.2 MB, free: 4.773 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.001466/0.1421, allocations: 0.534 MB / 295.7 MB, free: 4.238 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002478/0.1424, allocations: 56.38 kB / 295.8 MB, free: 4.18 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008078/0.1432, allocations: 319.3 kB / 296.1 MB, free: 3.867 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005258/0.1437, allocations: 231.2 kB / 296.3 MB, free: 3.641 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002447/0.1462, allocations: 0.7376 MB / 297 MB, free: 2.902 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002883/0.1466, allocations: 56 kB / 297.1 MB, free: 2.848 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002053/0.1468, allocations: 103.6 kB / 297.2 MB, free: 2.746 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002516/0.147, allocations: 64 kB / 297.3 MB, free: 2.684 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001586/0.1486, allocations: 0.7757 MB / 298 MB, free: 1.906 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.417e-06/0.1487, allocations: 0 / 298 MB, free: 1.906 MB / 250.7 MB Notification: Performance of FrontEnd: time 3.036e-06/0.1487, allocations: 0 / 298 MB, free: 1.906 MB / 250.7 MB Notification: Performance of Transformations before backend: time 1.436e-05/0.1487, allocations: 0 / 298 MB, free: 1.906 MB / 250.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.001353/0.1501, allocations: 0.6474 MB / 298.7 MB, free: 1.211 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.821e-05/0.1501, allocations: 8.031 kB / 298.7 MB, free: 1.203 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008199/0.151, allocations: 79.41 kB / 298.8 MB, free: 1.125 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000637/0.1516, allocations: 338.2 kB / 299.1 MB, free: 0.7539 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.507e-05/0.1517, allocations: 29 kB / 299.1 MB, free: 0.7227 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.653e-05/0.1518, allocations: 47.88 kB / 299.2 MB, free: 0.6758 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001085/0.1529, allocations: 459.6 kB / 299.6 MB, free: 188 kB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.639e-05/0.1529, allocations: 0 / 299.6 MB, free: 188 kB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.619e-05/0.153, allocations: 20 kB / 299.6 MB, free: 168 kB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.135e-05/0.1531, allocations: 11.95 kB / 299.6 MB, free: 156 kB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.2113/0.3644, allocations: 300.1 kB / 299.9 MB, free: 33.11 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02259/0.387, allocations: 6.729 MB / 306.7 MB, free: 29.2 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006875/0.3878, allocations: 277.7 kB / 306.9 MB, free: 29.08 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0178/0.4056, allocations: 3.879 MB / 310.8 MB, free: 26.72 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.359e-05/0.4057, allocations: 35.91 kB / 310.9 MB, free: 26.68 MB / 250.7 MB Notification: Performance of pre-optimization done (n=35): time 2.755e-06/0.4057, allocations: 1.312 kB / 310.9 MB, free: 26.68 MB / 250.7 MB Notification: Performance of matching and sorting (n=45): time 0.01854/0.4242, allocations: 2.48 MB / 313.3 MB, free: 25.34 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.945e-05/0.4243, allocations: 55.06 kB / 313.4 MB, free: 25.28 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004087/0.4247, allocations: 274.6 kB / 313.7 MB, free: 25.09 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 5.751e-05/0.4248, allocations: 35.08 kB / 313.7 MB, free: 25.05 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001341/0.425, allocations: 275 kB / 314 MB, free: 24.8 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001371/0.4251, allocations: 166.9 kB / 314.1 MB, free: 24.66 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.713e-05/0.4252, allocations: 10.75 kB / 314.1 MB, free: 24.65 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 7.818e-05/0.4253, allocations: 334.9 kB / 314.5 MB, free: 24.32 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003928/0.4257, allocations: 152.7 kB / 314.6 MB, free: 24.24 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004653/0.4261, allocations: 266.9 kB / 314.9 MB, free: 24.02 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005404/0.4267, allocations: 196.9 kB / 315.1 MB, free: 23.92 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.709e-06/0.4267, allocations: 1.312 kB / 315.1 MB, free: 23.92 MB / 250.7 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.001646/0.4284, allocations: 0.5776 MB / 315.6 MB, free: 23.6 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.651e-05/0.4284, allocations: 6.656 kB / 315.6 MB, free: 23.6 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.29e-05/0.4284, allocations: 7.875 kB / 315.7 MB, free: 23.59 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0116/0.44, allocations: 0.7624 MB / 316.4 MB, free: 23.29 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008108/0.4409, allocations: 107.4 kB / 316.5 MB, free: 23.27 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002197/0.4431, allocations: 2.469 MB / 319 MB, free: 20.79 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006549/0.4438, allocations: 31.77 kB / 319 MB, free: 20.78 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.294e-05/0.4439, allocations: 27.77 kB / 319 MB, free: 20.77 MB / 250.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.0002934/0.4442, allocations: 181.5 kB / 319.2 MB, free: 20.6 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001132/0.4443, allocations: 35.91 kB / 319.3 MB, free: 20.59 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001661/0.446, allocations: 0.8574 MB / 320.1 MB, free: 20.08 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.675e-05/0.446, allocations: 11.92 kB / 320.1 MB, free: 20.07 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.759e-06/0.446, allocations: 3.969 kB / 320.1 MB, free: 20.07 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001315/0.4474, allocations: 0.9559 MB / 321.1 MB, free: 19.37 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002658/0.4501, allocations: 1.491 MB / 322.6 MB, free: 18.2 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.065e-06/0.4501, allocations: 0 / 322.6 MB, free: 18.2 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006006/0.4507, allocations: 75.89 kB / 322.7 MB, free: 18.12 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005514/0.4562, allocations: 0.6217 MB / 323.3 MB, free: 17.49 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.878e-05/0.4564, allocations: 15.98 kB / 323.3 MB, free: 17.48 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001072/0.4575, allocations: 1.278 MB / 324.6 MB, free: 16.15 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.348e-06/0.4575, allocations: 4.031 kB / 324.6 MB, free: 16.14 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00223/0.4597, allocations: 1.232 MB / 325.8 MB, free: 14.88 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000216/0.46, allocations: 116.6 kB / 325.9 MB, free: 14.75 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001129/0.4601, allocations: 8 kB / 325.9 MB, free: 14.74 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005342/0.4607, allocations: 32.75 kB / 326 MB, free: 14.71 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.66e-05/0.4608, allocations: 39.61 kB / 326 MB, free: 14.68 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.073e-05/0.4608, allocations: 15.98 kB / 326 MB, free: 14.66 MB / 250.7 MB Notification: Performance of sorting global known variables: time 0.0002843/0.4611, allocations: 209.9 kB / 326.2 MB, free: 14.46 MB / 250.7 MB Notification: Performance of sort global known variables: time 3.71e-07/0.4611, allocations: 0 / 326.2 MB, free: 14.46 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0009815/0.4621, allocations: 222.6 kB / 326.4 MB, free: 14.25 MB / 250.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.0008383/0.463, allocations: 289.9 kB / 326.7 MB, free: 13.99 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.001684/0.4647, allocations: 0.6862 MB / 327.4 MB, free: 13.29 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 4.719e-06/0.4647, allocations: 4 kB / 327.4 MB, free: 13.29 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001323/0.466, allocations: 428.2 kB / 327.8 MB, free: 12.87 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00221/0.4683, allocations: 228.6 kB / 328.1 MB, free: 12.66 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002597/0.4709, allocations: 1.497 MB / 329.5 MB, free: 11.14 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003026/0.4713, allocations: 0.8404 MB / 330.4 MB, free: 10.27 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000171/0.4714, allocations: 39.44 kB / 330.4 MB, free: 10.23 MB / 250.7 MB Notification: Performance of SimCode: time 8.72e-07/0.4714, allocations: 4 kB / 330.4 MB, free: 10.23 MB / 250.7 MB Notification: Performance of Templates: time 0.02266/0.4941, allocations: 12.71 MB / 343.1 MB, free: 13.51 MB / 266.7 MB