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.2_Modelica.Media.Examples.ReferenceAir.DryAir2") Notification: Performance of loadModel(Modelica): time 1.828/1.828, allocations: 194.9 MB / 210.6 MB, free: 8.152 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.339e-05/2.345e-05, allocations: 4 kB / 258.8 MB, free: 7.867 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2815/0.2816, allocations: 44.51 MB / 303.3 MB, free: 12.95 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.DryAir2): time 0.03189/0.3135, allocations: 21.59 MB / 324.9 MB, free: 7.938 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.009052/0.3226, allocations: 4.997 MB / 329.9 MB, free: 2.93 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004418/0.3231, allocations: 7.938 kB / 329.9 MB, free: 2.922 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0008657/0.324, allocations: 234.9 kB / 330.1 MB, free: 2.691 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0008259/0.3248, allocations: 295 kB / 330.4 MB, free: 2.402 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.004293/0.3291, allocations: 1.18 MB / 331.6 MB, free: 1.219 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.001081/0.3302, allocations: 0.5224 MB / 332.1 MB, free: 0.6953 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002002/0.3305, allocations: 72.34 kB / 332.2 MB, free: 0.625 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005859/0.3311, allocations: 311.3 kB / 332.5 MB, free: 328 kB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004595/0.3315, allocations: 231.3 kB / 332.7 MB, free: 96 kB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002213/0.3338, allocations: 0.7414 MB / 333.5 MB, free: 15.35 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001984/0.334, allocations: 56 kB / 333.5 MB, free: 15.3 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001587/0.3341, allocations: 95.7 kB / 333.6 MB, free: 15.2 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000202/0.3344, allocations: 60 kB / 333.7 MB, free: 15.14 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001448/0.3358, allocations: 0.7855 MB / 334.5 MB, free: 14.36 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.247e-06/0.3358, allocations: 0 / 334.5 MB, free: 14.36 MB / 282.7 MB Notification: Performance of FrontEnd: time 2.474e-06/0.3359, allocations: 0 / 334.5 MB, free: 14.36 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.193e-05/0.3359, allocations: 0 / 334.5 MB, free: 14.36 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: 96 * Number of variables: 96 Notification: Performance of Generate backend data structure: time 0.001254/0.3371, allocations: 0.6476 MB / 335.1 MB, free: 13.66 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.491e-05/0.3372, allocations: 8.031 kB / 335.1 MB, free: 13.66 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007714/0.338, allocations: 75.41 kB / 335.2 MB, free: 13.58 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005849/0.3386, allocations: 338.2 kB / 335.5 MB, free: 13.21 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.883e-05/0.3386, allocations: 29 kB / 335.6 MB, free: 13.18 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.815e-05/0.3387, allocations: 36 kB / 335.6 MB, free: 13.15 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001016/0.3398, allocations: 463.5 kB / 336 MB, free: 12.65 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.647e-05/0.3398, allocations: 7.844 kB / 336 MB, free: 12.64 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.774e-05/0.3399, allocations: 20 kB / 336.1 MB, free: 12.62 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.739e-05/0.3399, allocations: 8 kB / 336.1 MB, free: 12.62 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007444/0.3407, allocations: 307.6 kB / 336.4 MB, free: 12.31 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02194/0.3626, allocations: 6.727 MB / 343.1 MB, free: 5 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000735/0.3634, allocations: 267.4 kB / 343.4 MB, free: 4.73 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01799/0.3814, allocations: 3.885 MB / 347.2 MB, free: 0.5469 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.98e-05/0.3815, allocations: 42.5 kB / 347.3 MB, free: 0.4961 MB / 282.7 MB Notification: Performance of pre-optimization done (n=35): time 2.836e-06/0.3815, allocations: 0 / 347.3 MB, free: 0.4961 MB / 282.7 MB Notification: Performance of matching and sorting (n=45): time 0.01848/0.4, allocations: 2.484 MB / 349.8 MB, free: 13.93 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.445e-05/0.4001, allocations: 55.41 kB / 349.8 MB, free: 13.87 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004511/0.4006, allocations: 274.3 kB / 350.1 MB, free: 13.59 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 5.411e-05/0.4006, allocations: 33.7 kB / 350.1 MB, free: 13.55 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001947/0.4008, allocations: 224.1 kB / 350.3 MB, free: 13.32 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001667/0.401, allocations: 157.6 kB / 350.5 MB, free: 13.17 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.903e-05/0.4011, allocations: 12 kB / 350.5 MB, free: 13.16 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001539/0.4012, allocations: 350.8 kB / 350.9 MB, free: 12.8 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004164/0.4017, allocations: 153.1 kB / 351 MB, free: 12.66 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005251/0.4022, allocations: 271.7 kB / 351.3 MB, free: 12.34 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005171/0.4027, allocations: 196.7 kB / 351.5 MB, free: 12.15 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.837e-06/0.4027, allocations: 0 / 351.5 MB, free: 12.15 MB / 298.7 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.001746/0.4045, allocations: 0.5838 MB / 352 MB, free: 11.55 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.807e-05/0.4046, allocations: 8 kB / 352.1 MB, free: 11.54 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.299e-05/0.4046, allocations: 4 kB / 352.1 MB, free: 11.54 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01146/0.416, allocations: 0.7639 MB / 352.8 MB, free: 10.76 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007919/0.4169, allocations: 111.8 kB / 352.9 MB, free: 10.65 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002602/0.4195, allocations: 2.471 MB / 355.4 MB, free: 7.996 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005972/0.4201, allocations: 36.11 kB / 355.4 MB, free: 7.961 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.341e-05/0.4202, allocations: 20 kB / 355.5 MB, free: 7.941 MB / 298.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.0003073/0.4205, allocations: 185.6 kB / 355.6 MB, free: 7.75 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001135/0.4206, allocations: 43.53 kB / 355.7 MB, free: 7.707 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001856/0.4225, allocations: 0.8514 MB / 356.5 MB, free: 6.84 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.754e-05/0.4225, allocations: 8 kB / 356.5 MB, free: 6.832 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.076e-06/0.4226, allocations: 4 kB / 356.5 MB, free: 6.828 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001517/0.4241, allocations: 0.9574 MB / 357.5 MB, free: 5.797 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002906/0.427, allocations: 1.492 MB / 359 MB, free: 4.238 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.342e-06/0.427, allocations: 0 / 359 MB, free: 4.238 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000595/0.4276, allocations: 75.94 kB / 359.1 MB, free: 4.164 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005587/0.4332, allocations: 0.6218 MB / 359.7 MB, free: 3.535 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.725e-05/0.4333, allocations: 8 kB / 359.7 MB, free: 3.527 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001295/0.4346, allocations: 1.288 MB / 361 MB, free: 2.188 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.215e-06/0.4346, allocations: 0 / 361 MB, free: 2.188 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002368/0.437, allocations: 1.229 MB / 362.2 MB, free: 0.9219 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001627/0.4372, allocations: 120.9 kB / 362.3 MB, free: 0.7852 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001091/0.4373, allocations: 8 kB / 362.3 MB, free: 0.7773 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004783/0.4378, allocations: 31.83 kB / 362.4 MB, free: 0.7461 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.257e-05/0.4379, allocations: 31.95 kB / 362.4 MB, free: 0.7148 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.48e-05/0.4379, allocations: 23.94 kB / 362.4 MB, free: 0.6914 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0003138/0.4383, allocations: 209.9 kB / 362.6 MB, free: 500 kB / 298.7 MB Notification: Performance of sort global known variables: time 4.41e-07/0.4383, allocations: 3.938 kB / 362.6 MB, free: 496 kB / 298.7 MB Notification: Performance of remove unused functions: time 0.0009734/0.4393, allocations: 235.9 kB / 362.9 MB, free: 260 kB / 298.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.0008844/0.4402, allocations: 270.9 kB / 363.1 MB, free: 15.98 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.001737/0.4419, allocations: 0.6906 MB / 363.8 MB, free: 15.28 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 3.637e-06/0.4419, allocations: 0 / 363.8 MB, free: 15.28 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001433/0.4434, allocations: 428.3 kB / 364.2 MB, free: 14.86 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002058/0.4455, allocations: 225.9 kB / 364.5 MB, free: 14.64 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002834/0.4483, allocations: 1.484 MB / 365.9 MB, free: 13.14 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004832/0.4488, allocations: 0.8441 MB / 366.8 MB, free: 12.27 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0004975/0.4493, allocations: 68.34 kB / 366.9 MB, free: 12.2 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001345/0.4495, allocations: 39.44 kB / 366.9 MB, free: 12.16 MB / 314.7 MB Notification: Performance of SimCode: time 9.22e-07/0.4495, allocations: 0 / 366.9 MB, free: 12.16 MB / 314.7 MB Notification: Performance of Templates: time 0.03015/0.4796, allocations: 11.73 MB / 378.6 MB, free: 448 kB / 314.7 MB