Running command: translateModel(Modelica.Media.Examples.ReferenceAir.DryAir1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.T|volume.medium.p",fileNamePrefix="Modelica_trunk_cpp_Modelica.Media.Examples.ReferenceAir.DryAir1") Notification: Performance of loadModel(Modelica): time 2.282/2.282, allocations: 224.7 MB / 241.1 MB, free: 1.688 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 2.686e-05/2.693e-05, allocations: 4 kB / 294.6 MB, free: 11.39 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1236/0.1237, allocations: 50.41 MB / 345 MB, free: 8.941 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.DryAir1): time 0.03181/0.1556, allocations: 15.93 MB / 360.9 MB, free: 8.957 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.008676/0.1643, allocations: 4.51 MB / 365.4 MB, free: 4.438 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004348/0.1648, allocations: 7.938 kB / 365.4 MB, free: 4.43 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0007131/0.1655, allocations: 167.2 kB / 365.6 MB, free: 4.266 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0008322/0.1664, allocations: 211.3 kB / 365.8 MB, free: 4.059 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.004191/0.1706, allocations: 1.04 MB / 366.8 MB, free: 3.016 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.000944/0.1716, allocations: 379.2 kB / 367.2 MB, free: 2.645 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001844/0.1718, allocations: 51.94 kB / 367.2 MB, free: 2.594 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01594/0.1877, allocations: 7.184 MB / 374.4 MB, free: 11.41 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003751/0.1881, allocations: 151.5 kB / 374.6 MB, free: 11.26 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002256/0.1904, allocations: 0.7259 MB / 375.3 MB, free: 10.53 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002884/0.1908, allocations: 48 kB / 375.3 MB, free: 10.48 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001527/0.1909, allocations: 63.81 kB / 375.4 MB, free: 10.42 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001864/0.1911, allocations: 44 kB / 375.4 MB, free: 10.38 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001495/0.1926, allocations: 0.6003 MB / 376 MB, free: 9.777 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.426e-06/0.1927, allocations: 0 / 376 MB, free: 9.777 MB / 314.7 MB Notification: Performance of FrontEnd: time 3.025e-06/0.1927, allocations: 4 kB / 376.1 MB, free: 9.773 MB / 314.7 MB Notification: Performance of Transformations before backend: time 1.562e-05/0.1927, allocations: 0 / 376.1 MB, free: 9.773 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: 66 * Number of variables: 66 Notification: Performance of Generate backend data structure: time 0.001189/0.1939, allocations: 0.5576 MB / 376.6 MB, free: 9.168 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.595e-05/0.194, allocations: 8.031 kB / 376.6 MB, free: 9.16 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006456/0.1946, allocations: 55.61 kB / 376.7 MB, free: 9.105 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005641/0.1952, allocations: 283 kB / 376.9 MB, free: 8.789 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.285e-05/0.1953, allocations: 20.56 kB / 377 MB, free: 8.77 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.953e-05/0.1953, allocations: 28 kB / 377 MB, free: 8.742 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008049/0.1962, allocations: 334.4 kB / 377.3 MB, free: 8.383 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.643e-05/0.1962, allocations: 11.88 kB / 377.3 MB, free: 8.371 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.69e-05/0.1963, allocations: 16 kB / 377.4 MB, free: 8.355 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.182e-05/0.1963, allocations: 4 kB / 377.4 MB, free: 8.352 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005459/0.1969, allocations: 206 kB / 377.6 MB, free: 8.148 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0219/0.2188, allocations: 5.9 MB / 383.5 MB, free: 1.75 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005008/0.2193, allocations: 187.2 kB / 383.6 MB, free: 1.559 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01883/0.2382, allocations: 3.877 MB / 387.5 MB, free: 13.38 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.423e-05/0.2383, allocations: 38.75 kB / 387.6 MB, free: 13.34 MB / 330.7 MB Notification: Performance of pre-optimization done (n=21): time 2.875e-06/0.2383, allocations: 0 / 387.6 MB, free: 13.34 MB / 330.7 MB Notification: Performance of matching and sorting (n=26): time 0.009859/0.2482, allocations: 1.412 MB / 389 MB, free: 11.85 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.243e-05/0.2483, allocations: 55.36 kB / 389 MB, free: 11.79 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003973/0.2487, allocations: 237.6 kB / 389.3 MB, free: 11.55 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 4.081e-05/0.2487, allocations: 33.7 kB / 389.3 MB, free: 11.51 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000184/0.2489, allocations: 246.6 kB / 389.5 MB, free: 11.26 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001132/0.2491, allocations: 94.66 kB / 389.6 MB, free: 11.17 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.422e-05/0.2491, allocations: 4 kB / 389.6 MB, free: 11.16 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001531/0.2493, allocations: 322.8 kB / 389.9 MB, free: 10.84 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002661/0.2495, allocations: 95.73 kB / 390 MB, free: 10.75 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003606/0.2499, allocations: 179.1 kB / 390.2 MB, free: 10.53 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000333/0.2503, allocations: 123.9 kB / 390.3 MB, free: 10.41 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.026e-06/0.2503, allocations: 0 / 390.3 MB, free: 10.41 MB / 330.7 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.00112/0.2514, allocations: 387 kB / 390.7 MB, free: 10.02 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.367e-05/0.2515, allocations: 4 kB / 390.7 MB, free: 10.02 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.223e-05/0.2515, allocations: 4 kB / 390.7 MB, free: 10.01 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005957/0.2574, allocations: 401.5 kB / 391.1 MB, free: 9.613 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000564/0.2581, allocations: 75.86 kB / 391.2 MB, free: 9.539 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002297/0.2604, allocations: 1.875 MB / 393.1 MB, free: 7.508 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000427/0.2608, allocations: 23.92 kB / 393.1 MB, free: 7.484 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.927e-05/0.2609, allocations: 16 kB / 393.1 MB, free: 7.469 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (39): * Single equations (assignments): 37 * 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: 0 * Non-linear torn systems: 2 {2 1,1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0002654/0.2612, allocations: 150.5 kB / 393.2 MB, free: 7.312 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.757e-05/0.2613, allocations: 31.7 kB / 393.3 MB, free: 7.281 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001245/0.2625, allocations: 0.4941 MB / 393.8 MB, free: 6.77 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.745e-05/0.2626, allocations: 7.984 kB / 393.8 MB, free: 6.762 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.009e-06/0.2626, allocations: 8 kB / 393.8 MB, free: 6.754 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00105/0.2637, allocations: 0.7166 MB / 394.5 MB, free: 5.949 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002052/0.2657, allocations: 0.9375 MB / 395.4 MB, free: 4.945 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.306e-06/0.2658, allocations: 3.938 kB / 395.4 MB, free: 4.941 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003781/0.2662, allocations: 43.97 kB / 395.5 MB, free: 4.898 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002949/0.2691, allocations: 328.3 kB / 395.8 MB, free: 4.574 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.475e-05/0.2692, allocations: 8 kB / 395.8 MB, free: 4.566 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007753/0.27, allocations: 0.6421 MB / 396.5 MB, free: 3.898 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.645e-06/0.27, allocations: 0 / 396.5 MB, free: 3.898 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001523/0.2715, allocations: 0.7261 MB / 397.2 MB, free: 3.141 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001724/0.2717, allocations: 116.6 kB / 397.3 MB, free: 3.008 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.921e-05/0.2718, allocations: 4 kB / 397.3 MB, free: 3.004 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003529/0.2722, allocations: 20.05 kB / 397.3 MB, free: 2.984 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.608e-05/0.2723, allocations: 11.98 kB / 397.3 MB, free: 2.973 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.14e-05/0.2723, allocations: 15.98 kB / 397.3 MB, free: 2.957 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0002804/0.2726, allocations: 178 kB / 397.5 MB, free: 2.785 MB / 330.7 MB Notification: Performance of sort global known variables: time 4.11e-07/0.2726, allocations: 0 / 397.5 MB, free: 2.785 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0009075/0.2735, allocations: 191.9 kB / 397.7 MB, free: 2.598 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): 23 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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: 0 * Non-linear torn systems: 1 {1 2} Notification: Performance of Backend phase and start with SimCode phase: time 0.0009735/0.2745, allocations: 267.6 kB / 398 MB, free: 2.328 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.001274/0.2758, allocations: 455.8 kB / 398.4 MB, free: 1.871 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 4.829e-06/0.2759, allocations: 0 / 398.4 MB, free: 1.871 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008331/0.2767, allocations: 232.5 kB / 398.6 MB, free: 1.645 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001677/0.2784, allocations: 164.4 kB / 398.8 MB, free: 1.484 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002077/0.2805, allocations: 0.9613 MB / 399.8 MB, free: 0.4961 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.2719/0.5524, allocations: 0.7788 MB / 400.5 MB, free: 54.55 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001594/0.5526, allocations: 31.42 kB / 400.6 MB, free: 54.54 MB / 330.7 MB Notification: Performance of SimCode: time 1.002e-06/0.5526, allocations: 5.156 kB / 400.6 MB, free: 54.54 MB / 330.7 MB Notification: Performance of Templates: time 0.02157/0.5742, allocations: 8.427 MB / 409 MB, free: 52.49 MB / 330.7 MB