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_Modelica.Media.Examples.ReferenceAir.DryAir1") Notification: Performance of loadModel(Modelica): time 1.824/1.824, allocations: 194.9 MB / 210.6 MB, free: 9.125 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.173e-05/2.169e-05, allocations: 4 kB / 258.8 MB, free: 8.84 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2855/0.2855, allocations: 44.51 MB / 303.3 MB, free: 12.78 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.DryAir1): time 0.02454/0.3101, allocations: 15.82 MB / 319.1 MB, free: 13.73 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.00849/0.3187, allocations: 4.518 MB / 323.7 MB, free: 9.203 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003721/0.3191, allocations: 7.938 kB / 323.7 MB, free: 9.195 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006853/0.3198, allocations: 167.2 kB / 323.8 MB, free: 9.031 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006961/0.3205, allocations: 207.3 kB / 324 MB, free: 8.828 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.004081/0.3246, allocations: 1.04 MB / 325.1 MB, free: 7.785 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0008971/0.3255, allocations: 383.2 kB / 325.4 MB, free: 7.41 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001701/0.3257, allocations: 39.95 kB / 325.5 MB, free: 7.371 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01517/0.3409, allocations: 7.184 MB / 332.7 MB, free: 188 kB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003673/0.3413, allocations: 155.5 kB / 332.8 MB, free: 32 kB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002167/0.3435, allocations: 0.7141 MB / 333.5 MB, free: 15.32 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002295/0.3438, allocations: 51.98 kB / 333.6 MB, free: 15.27 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001415/0.3439, allocations: 71.8 kB / 333.7 MB, free: 15.2 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001741/0.3441, allocations: 44 kB / 333.7 MB, free: 15.15 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00139/0.3455, allocations: 0.6064 MB / 334.3 MB, free: 14.55 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.817e-06/0.3456, allocations: 0 / 334.3 MB, free: 14.55 MB / 282.7 MB Notification: Performance of FrontEnd: time 2.465e-06/0.3456, allocations: 0 / 334.3 MB, free: 14.55 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.214e-05/0.3456, allocations: 0 / 334.3 MB, free: 14.55 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.001062/0.3467, allocations: 0.5615 MB / 334.9 MB, free: 13.93 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.579e-05/0.3467, allocations: 8.031 kB / 334.9 MB, free: 13.93 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006179/0.3473, allocations: 63.61 kB / 334.9 MB, free: 13.86 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004821/0.3478, allocations: 278.5 kB / 335.2 MB, free: 13.55 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.68e-05/0.3479, allocations: 28.5 kB / 335.2 MB, free: 13.52 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.622e-05/0.348, allocations: 28 kB / 335.3 MB, free: 13.5 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007375/0.3487, allocations: 330.5 kB / 335.6 MB, free: 13.14 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.538e-05/0.3488, allocations: 11.84 kB / 335.6 MB, free: 13.12 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.268e-05/0.3488, allocations: 12 kB / 335.6 MB, free: 13.11 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.186e-05/0.3488, allocations: 4 kB / 335.6 MB, free: 13.11 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005535/0.3494, allocations: 206 kB / 335.8 MB, free: 12.91 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02118/0.3706, allocations: 5.908 MB / 341.7 MB, free: 6.5 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004462/0.3711, allocations: 178.6 kB / 341.9 MB, free: 6.316 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01826/0.3894, allocations: 3.873 MB / 345.8 MB, free: 2.145 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.328e-05/0.3895, allocations: 38.56 kB / 345.8 MB, free: 2.098 MB / 282.7 MB Notification: Performance of pre-optimization done (n=21): time 2.756e-06/0.3895, allocations: 0 / 345.8 MB, free: 2.098 MB / 282.7 MB Notification: Performance of matching and sorting (n=26): time 0.009523/0.399, allocations: 1.42 MB / 347.2 MB, free: 0.6016 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.674e-05/0.3991, allocations: 55.41 kB / 347.3 MB, free: 0.5352 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003756/0.3995, allocations: 229.7 kB / 347.5 MB, free: 308 kB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 4.053e-05/0.3995, allocations: 29.7 kB / 347.5 MB, free: 272 kB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001604/0.3997, allocations: 188 kB / 347.7 MB, free: 76 kB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001201/0.3998, allocations: 94.81 kB / 347.8 MB, free: 15.98 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.496e-05/0.3999, allocations: 12 kB / 347.8 MB, free: 15.96 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001467/0.4, allocations: 338.6 kB / 348.2 MB, free: 15.63 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002596/0.4003, allocations: 91.75 kB / 348.2 MB, free: 15.54 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003391/0.4007, allocations: 183.1 kB / 348.4 MB, free: 15.32 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00033/0.401, allocations: 123.9 kB / 348.5 MB, free: 15.2 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.756e-06/0.401, allocations: 0 / 348.5 MB, free: 15.2 MB / 298.7 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.001116/0.4021, allocations: 386.7 kB / 348.9 MB, free: 14.81 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.134e-05/0.4022, allocations: 4.375 kB / 348.9 MB, free: 14.8 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.115e-05/0.4022, allocations: 8 kB / 348.9 MB, free: 14.8 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005856/0.4081, allocations: 401.3 kB / 349.3 MB, free: 14.4 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005169/0.4086, allocations: 67.91 kB / 349.4 MB, free: 14.33 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002039/0.4107, allocations: 1.887 MB / 351.3 MB, free: 12.29 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004062/0.4111, allocations: 19.98 kB / 351.3 MB, free: 12.27 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.145e-05/0.4112, allocations: 16 kB / 351.3 MB, free: 12.25 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.0002397/0.4114, allocations: 157.8 kB / 351.5 MB, free: 12.09 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.734e-05/0.4115, allocations: 31.62 kB / 351.5 MB, free: 12.06 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001114/0.4127, allocations: 494.1 kB / 352 MB, free: 11.56 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.072e-05/0.4127, allocations: 4 kB / 352 MB, free: 11.56 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.726e-06/0.4127, allocations: 0 / 352 MB, free: 11.56 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009439/0.4137, allocations: 0.7158 MB / 352.7 MB, free: 10.75 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001843/0.4155, allocations: 0.9534 MB / 353.7 MB, free: 9.738 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.821e-06/0.4155, allocations: 0 / 353.7 MB, free: 9.738 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003416/0.4159, allocations: 39.98 kB / 353.7 MB, free: 9.699 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002878/0.4188, allocations: 324.3 kB / 354 MB, free: 9.379 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.285e-05/0.4188, allocations: 12 kB / 354 MB, free: 9.367 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006759/0.4195, allocations: 0.6422 MB / 354.7 MB, free: 8.699 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.168e-06/0.4196, allocations: 0 / 354.7 MB, free: 8.699 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001401/0.421, allocations: 0.7414 MB / 355.4 MB, free: 7.926 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000117/0.4211, allocations: 100.8 kB / 355.5 MB, free: 7.809 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.956e-05/0.4212, allocations: 8 kB / 355.5 MB, free: 7.801 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003561/0.4216, allocations: 23.78 kB / 355.5 MB, free: 7.777 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.959e-05/0.4216, allocations: 11.98 kB / 355.5 MB, free: 7.766 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.893e-05/0.4217, allocations: 20.05 kB / 355.6 MB, free: 7.746 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0002633/0.422, allocations: 186 kB / 355.7 MB, free: 7.566 MB / 298.7 MB Notification: Performance of sort global known variables: time 3.71e-07/0.422, allocations: 3.938 kB / 355.8 MB, free: 7.562 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0008536/0.4228, allocations: 191.9 kB / 355.9 MB, free: 7.375 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.0008204/0.4237, allocations: 267.7 kB / 356.2 MB, free: 7.105 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.001117/0.4248, allocations: 443 kB / 356.6 MB, free: 6.66 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 3.306e-06/0.4248, allocations: 0 / 356.6 MB, free: 6.66 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008032/0.4256, allocations: 235.7 kB / 356.9 MB, free: 6.43 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001564/0.4272, allocations: 169.3 kB / 357 MB, free: 6.266 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001798/0.429, allocations: 0.932 MB / 358 MB, free: 5.312 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004144/0.4295, allocations: 0.7876 MB / 358.7 MB, free: 4.496 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0003497/0.4298, allocations: 54.94 kB / 358.8 MB, free: 4.438 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.078e-05/0.4299, allocations: 27.44 kB / 358.8 MB, free: 4.41 MB / 298.7 MB Notification: Performance of SimCode: time 8.32e-07/0.4299, allocations: 0 / 358.8 MB, free: 4.41 MB / 298.7 MB Notification: Performance of Templates: time 0.02441/0.4544, allocations: 9.296 MB / 368.1 MB, free: 11.12 MB / 314.7 MB