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_Modelica.Media.Examples.ReferenceAir.DryAir2") Notification: Performance of loadModel(Modelica): time 1.651/1.651, allocations: 171.2 MB / 185.7 MB, free: 1.398 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 2.763e-05/2.772e-05, allocations: 4 kB / 228.1 MB, free: 7.332 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0785/0.07855, allocations: 38.77 MB / 266.9 MB, free: 496 kB / 218.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.DryAir2): time 0.03382/0.1124, allocations: 21.58 MB / 288.5 MB, free: 10.84 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.009635/0.1221, allocations: 5.012 MB / 293.5 MB, free: 5.82 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005436/0.1227, allocations: 7.938 kB / 293.5 MB, free: 5.812 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000893/0.1236, allocations: 230.9 kB / 293.7 MB, free: 5.586 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0009703/0.1246, allocations: 287.1 kB / 294 MB, free: 5.305 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.004706/0.1293, allocations: 1.184 MB / 295.2 MB, free: 4.117 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.001293/0.1306, allocations: 0.534 MB / 295.7 MB, free: 3.582 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002144/0.1309, allocations: 64.36 kB / 295.8 MB, free: 3.516 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006739/0.1316, allocations: 319.2 kB / 296.1 MB, free: 3.203 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005004/0.1321, allocations: 227.3 kB / 296.3 MB, free: 2.98 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002363/0.1345, allocations: 0.7415 MB / 297.1 MB, free: 2.238 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002561/0.1348, allocations: 56 kB / 297.1 MB, free: 2.184 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001879/0.135, allocations: 95.7 kB / 297.2 MB, free: 2.09 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002459/0.1352, allocations: 64 kB / 297.3 MB, free: 2.027 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001667/0.1369, allocations: 0.7795 MB / 298.1 MB, free: 1.246 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.128e-06/0.1369, allocations: 4 kB / 298.1 MB, free: 1.242 MB / 250.7 MB Notification: Performance of FrontEnd: time 3.005e-06/0.1369, allocations: 0 / 298.1 MB, free: 1.242 MB / 250.7 MB Notification: Performance of Transformations before backend: time 1.751e-05/0.137, allocations: 0 / 298.1 MB, free: 1.242 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.001423/0.1384, allocations: 0.6475 MB / 298.7 MB, free: 0.5469 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.927e-05/0.1385, allocations: 8.031 kB / 298.7 MB, free: 0.5391 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008217/0.1393, allocations: 75.41 kB / 298.8 MB, free: 476 kB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006786/0.14, allocations: 334.2 kB / 299.1 MB, free: 100 kB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.014e-05/0.1401, allocations: 36.94 kB / 299.2 MB, free: 60 kB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.57e-05/0.1402, allocations: 40 kB / 299.2 MB, free: 20 kB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.2053/0.3454, allocations: 455 kB / 299.6 MB, free: 33.25 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.381e-05/0.3455, allocations: 3.734 kB / 299.6 MB, free: 33.25 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.603e-05/0.3456, allocations: 16.56 kB / 299.7 MB, free: 33.25 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.988e-05/0.3457, allocations: 15.8 kB / 299.7 MB, free: 33.25 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008091/0.3465, allocations: 306.3 kB / 300 MB, free: 33.23 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02122/0.3677, allocations: 6.728 MB / 306.7 MB, free: 29.11 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006868/0.3684, allocations: 271.3 kB / 307 MB, free: 28.98 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01712/0.3856, allocations: 3.877 MB / 310.8 MB, free: 26.53 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.638e-05/0.3857, allocations: 37.84 kB / 310.9 MB, free: 26.49 MB / 250.7 MB Notification: Performance of pre-optimization done (n=35): time 2.665e-06/0.3857, allocations: 0 / 310.9 MB, free: 26.49 MB / 250.7 MB Notification: Performance of matching and sorting (n=45): time 0.01833/0.404, allocations: 2.481 MB / 313.4 MB, free: 25.14 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.332e-05/0.4041, allocations: 58.92 kB / 313.4 MB, free: 25.08 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004045/0.4045, allocations: 274.3 kB / 313.7 MB, free: 24.89 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 4.914e-05/0.4046, allocations: 36.45 kB / 313.7 MB, free: 24.85 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001376/0.4047, allocations: 223.3 kB / 313.9 MB, free: 24.65 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001255/0.4049, allocations: 165.1 kB / 314.1 MB, free: 24.51 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.523e-05/0.4049, allocations: 10.75 kB / 314.1 MB, free: 24.5 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 8.586e-05/0.405, allocations: 351 kB / 314.5 MB, free: 24.16 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00039/0.4054, allocations: 152.7 kB / 314.6 MB, free: 24.09 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004547/0.4059, allocations: 270.4 kB / 314.9 MB, free: 23.86 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004778/0.4064, allocations: 192.9 kB / 315.1 MB, free: 23.77 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.667e-06/0.4064, allocations: 1.375 kB / 315.1 MB, free: 23.77 MB / 250.7 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.001658/0.408, allocations: 0.5853 MB / 315.6 MB, free: 23.45 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.514e-05/0.4081, allocations: 6.719 kB / 315.6 MB, free: 23.45 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.23e-05/0.4081, allocations: 3.594 kB / 315.6 MB, free: 23.45 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0115/0.4196, allocations: 0.77 MB / 316.4 MB, free: 23.14 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007971/0.4205, allocations: 115.4 kB / 316.5 MB, free: 23.11 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002034/0.4225, allocations: 2.461 MB / 319 MB, free: 20.64 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005698/0.4231, allocations: 43.28 kB / 319 MB, free: 20.61 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.814e-05/0.4232, allocations: 23.34 kB / 319.1 MB, free: 20.61 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.0002699/0.4235, allocations: 169 kB / 319.2 MB, free: 20.46 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.816e-05/0.4236, allocations: 36.11 kB / 319.3 MB, free: 20.44 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0016/0.4252, allocations: 0.8578 MB / 320.1 MB, free: 19.93 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.56e-05/0.4252, allocations: 15.64 kB / 320.1 MB, free: 19.92 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.116e-06/0.4252, allocations: 0 / 320.1 MB, free: 19.92 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001225/0.4265, allocations: 0.9566 MB / 321.1 MB, free: 19.21 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002465/0.4289, allocations: 1.49 MB / 322.6 MB, free: 17.68 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.043e-06/0.429, allocations: 0 / 322.6 MB, free: 17.68 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000554/0.4295, allocations: 75.89 kB / 322.7 MB, free: 17.6 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005456/0.435, allocations: 0.6306 MB / 323.3 MB, free: 16.96 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.752e-05/0.4351, allocations: 12 kB / 323.3 MB, free: 16.95 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00106/0.4362, allocations: 1.28 MB / 324.6 MB, free: 15.62 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.767e-06/0.4362, allocations: 7.984 kB / 324.6 MB, free: 15.62 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002029/0.4383, allocations: 1.217 MB / 325.8 MB, free: 14.37 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001752/0.4385, allocations: 128.6 kB / 325.9 MB, free: 14.23 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001094/0.4386, allocations: 15.95 kB / 325.9 MB, free: 14.21 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004823/0.4391, allocations: 27.86 kB / 326 MB, free: 14.18 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.203e-05/0.4392, allocations: 27.95 kB / 326 MB, free: 14.16 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.952e-05/0.4392, allocations: 19.98 kB / 326 MB, free: 14.14 MB / 250.7 MB Notification: Performance of sorting global known variables: time 0.0002672/0.4395, allocations: 210 kB / 326.2 MB, free: 13.93 MB / 250.7 MB Notification: Performance of sort global known variables: time 3.91e-07/0.4395, allocations: 0 / 326.2 MB, free: 13.93 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.001005/0.4405, allocations: 230.6 kB / 326.4 MB, free: 13.72 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.000783/0.4413, allocations: 284.2 kB / 326.7 MB, free: 13.46 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.001634/0.443, allocations: 0.6829 MB / 327.4 MB, free: 12.77 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 4.428e-06/0.443, allocations: 4 kB / 327.4 MB, free: 12.77 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001348/0.4444, allocations: 436.2 kB / 327.8 MB, free: 12.34 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002072/0.4465, allocations: 224.9 kB / 328.1 MB, free: 12.13 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002395/0.4489, allocations: 1.451 MB / 329.5 MB, free: 10.66 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002947/0.4492, allocations: 0.8522 MB / 330.4 MB, free: 9.789 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 0.0004642/0.4497, allocations: 72.33 kB / 330.4 MB, free: 9.715 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001172/0.4498, allocations: 35.44 kB / 330.5 MB, free: 9.68 MB / 250.7 MB Notification: Performance of SimCode: time 1.162e-06/0.4498, allocations: 0 / 330.5 MB, free: 9.68 MB / 250.7 MB Notification: Performance of Templates: time 0.02626/0.4761, allocations: 11.75 MB / 342.2 MB, free: 13.96 MB / 266.7 MB