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_3.2.2_cpp_Modelica.Media.Examples.ReferenceAir.DryAir1") Notification: Performance of loadModel(Modelica): time 2.019/2.019, allocations: 194.9 MB / 211.2 MB, free: 8.352 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 4.293e-05/4.295e-05, allocations: 7.938 kB / 258.8 MB, free: 8.719 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3103/0.3104, allocations: 44.51 MB / 303.3 MB, free: 12.77 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.DryAir1): time 0.02791/0.3383, allocations: 15.84 MB / 319.1 MB, free: 13.84 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.008844/0.3472, allocations: 4.506 MB / 323.6 MB, free: 9.324 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004208/0.3477, allocations: 7.938 kB / 323.6 MB, free: 9.316 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0007107/0.3484, allocations: 163.2 kB / 323.8 MB, free: 9.156 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0007423/0.3492, allocations: 215.3 kB / 324 MB, free: 8.945 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.004197/0.3534, allocations: 1.036 MB / 325 MB, free: 7.906 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0009313/0.3544, allocations: 375.2 kB / 325.4 MB, free: 7.539 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000176/0.3546, allocations: 47.94 kB / 325.5 MB, free: 7.492 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01625/0.3708, allocations: 7.18 MB / 332.6 MB, free: 316 kB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003691/0.3713, allocations: 155.5 kB / 332.8 MB, free: 160 kB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002345/0.3736, allocations: 0.7258 MB / 333.5 MB, free: 15.43 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002634/0.3739, allocations: 48 kB / 333.6 MB, free: 15.38 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001554/0.3741, allocations: 63.81 kB / 333.6 MB, free: 15.32 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001837/0.3743, allocations: 44 kB / 333.7 MB, free: 15.28 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001504/0.3758, allocations: 0.6097 MB / 334.3 MB, free: 14.67 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.679e-06/0.3759, allocations: 0 / 334.3 MB, free: 14.67 MB / 282.7 MB Notification: Performance of FrontEnd: time 2.735e-06/0.3759, allocations: 8 kB / 334.3 MB, free: 14.66 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.508e-05/0.3759, allocations: 0 / 334.3 MB, free: 14.66 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: 66 * Number of variables: 66 Notification: Performance of Generate backend data structure: time 0.001239/0.3772, allocations: 0.5537 MB / 334.8 MB, free: 14.05 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.591e-05/0.3772, allocations: 12.03 kB / 334.9 MB, free: 14.04 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000645/0.3779, allocations: 59.59 kB / 334.9 MB, free: 13.98 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005424/0.3784, allocations: 278.5 kB / 335.2 MB, free: 13.67 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.433e-05/0.3785, allocations: 20.52 kB / 335.2 MB, free: 13.65 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.54e-05/0.3786, allocations: 35.94 kB / 335.2 MB, free: 13.62 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007719/0.3794, allocations: 326.5 kB / 335.6 MB, free: 13.26 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.733e-05/0.3794, allocations: 7.906 kB / 335.6 MB, free: 13.25 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.313e-05/0.3795, allocations: 19.94 kB / 335.6 MB, free: 13.23 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.246e-05/0.3795, allocations: 4 kB / 335.6 MB, free: 13.23 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005461/0.3801, allocations: 214 kB / 335.8 MB, free: 13.02 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.022/0.4021, allocations: 5.912 MB / 341.7 MB, free: 6.609 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000479/0.4026, allocations: 178.6 kB / 341.9 MB, free: 6.426 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01869/0.4213, allocations: 3.869 MB / 345.8 MB, free: 2.258 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.873e-05/0.4214, allocations: 34.56 kB / 345.8 MB, free: 2.215 MB / 282.7 MB Notification: Performance of pre-optimization done (n=21): time 2.625e-06/0.4214, allocations: 0 / 345.8 MB, free: 2.215 MB / 282.7 MB Notification: Performance of matching and sorting (n=26): time 0.009861/0.4313, allocations: 1.418 MB / 347.2 MB, free: 0.7188 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.641e-05/0.4314, allocations: 51.41 kB / 347.3 MB, free: 0.6562 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003904/0.4318, allocations: 237.7 kB / 347.5 MB, free: 424 kB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 4.497e-05/0.4318, allocations: 29.7 kB / 347.5 MB, free: 388 kB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001712/0.432, allocations: 242.5 kB / 347.7 MB, free: 140 kB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001019/0.4321, allocations: 90.66 kB / 347.8 MB, free: 48 kB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.275e-05/0.4322, allocations: 4 kB / 347.8 MB, free: 44 kB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001605/0.4323, allocations: 330.8 kB / 348.2 MB, free: 15.71 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002861/0.4326, allocations: 95.73 kB / 348.3 MB, free: 15.62 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003424/0.433, allocations: 179.1 kB / 348.4 MB, free: 15.4 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003418/0.4334, allocations: 123.9 kB / 348.6 MB, free: 15.28 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.925e-06/0.4334, allocations: 0 / 348.6 MB, free: 15.28 MB / 298.7 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.001114/0.4345, allocations: 382.8 kB / 348.9 MB, free: 14.89 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.818e-05/0.4346, allocations: 4 kB / 348.9 MB, free: 14.89 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.116e-05/0.4346, allocations: 4 kB / 348.9 MB, free: 14.89 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005891/0.4405, allocations: 405.7 kB / 349.3 MB, free: 14.48 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005476/0.4411, allocations: 63.91 kB / 349.4 MB, free: 14.42 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002211/0.4433, allocations: 1.887 MB / 351.3 MB, free: 12.38 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004366/0.4438, allocations: 28.14 kB / 351.3 MB, free: 12.35 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.982e-05/0.4439, allocations: 19.98 kB / 351.3 MB, free: 12.33 MB / 298.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.000269/0.4441, allocations: 153.7 kB / 351.5 MB, free: 12.17 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.009e-05/0.4442, allocations: 23.72 kB / 351.5 MB, free: 12.15 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00127/0.4455, allocations: 498.1 kB / 352 MB, free: 11.65 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.736e-05/0.4456, allocations: 7.938 kB / 352 MB, free: 11.64 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.437e-06/0.4456, allocations: 0 / 352 MB, free: 11.64 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001059/0.4467, allocations: 0.7158 MB / 352.7 MB, free: 10.84 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002114/0.4488, allocations: 0.9534 MB / 353.7 MB, free: 9.82 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.296e-05/0.4489, allocations: 0 / 353.7 MB, free: 9.82 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003716/0.4492, allocations: 47.91 kB / 353.7 MB, free: 9.773 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002959/0.4522, allocations: 316.4 kB / 354 MB, free: 9.461 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.473e-05/0.4523, allocations: 11.98 kB / 354 MB, free: 9.449 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008052/0.4532, allocations: 0.6421 MB / 354.7 MB, free: 8.781 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.665e-06/0.4532, allocations: 3.938 kB / 354.7 MB, free: 8.777 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001602/0.4548, allocations: 0.7297 MB / 355.4 MB, free: 8.016 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001865/0.455, allocations: 108.9 kB / 355.5 MB, free: 7.891 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.262e-05/0.4551, allocations: 7.938 kB / 355.5 MB, free: 7.883 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003649/0.4555, allocations: 19.89 kB / 355.5 MB, free: 7.863 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.303e-05/0.4556, allocations: 19.97 kB / 355.6 MB, free: 7.844 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.98e-05/0.4556, allocations: 11.98 kB / 355.6 MB, free: 7.832 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0003055/0.4559, allocations: 182 kB / 355.8 MB, free: 7.656 MB / 298.7 MB Notification: Performance of sort global known variables: time 4.41e-07/0.456, allocations: 0 / 355.8 MB, free: 7.656 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0009783/0.4569, allocations: 191.9 kB / 355.9 MB, free: 7.469 MB / 298.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.0009321/0.4579, allocations: 271.8 kB / 356.2 MB, free: 7.195 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.001308/0.4592, allocations: 451.1 kB / 356.6 MB, free: 6.742 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 4.939e-06/0.4593, allocations: 0 / 356.6 MB, free: 6.742 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00084/0.4601, allocations: 235.7 kB / 356.9 MB, free: 6.512 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001693/0.4618, allocations: 156.5 kB / 357 MB, free: 6.355 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0021/0.464, allocations: 0.9746 MB / 358 MB, free: 5.355 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004319/0.4644, allocations: 0.7837 MB / 358.8 MB, free: 4.543 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001653/0.4646, allocations: 39.42 kB / 358.8 MB, free: 4.504 MB / 298.7 MB Notification: Performance of SimCode: time 1.422e-06/0.4646, allocations: 0 / 358.8 MB, free: 4.504 MB / 298.7 MB Notification: Performance of Templates: time 0.01956/0.4842, allocations: 8.423 MB / 367.2 MB, free: 12.07 MB / 314.7 MB