Running command: translateModel(Modelica.Media.Examples.ReferenceAir.MoistAir2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.T|volume.medium.Xi.1.|volume.medium.p|volume1.medium.T|volume1.medium.Xi.1.|volume1.medium.p",fileNamePrefix="Modelica_3.2.1_Modelica.Media.Examples.ReferenceAir.MoistAir2") Notification: Performance of loadModel(Modelica): time 1.715/1.715, allocations: 171.2 MB / 185.7 MB, free: 1.391 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 2.71e-05/2.709e-05, allocations: 4 kB / 228.1 MB, free: 7.332 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07873/0.07878, allocations: 38.77 MB / 266.9 MB, free: 492 kB / 218.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.MoistAir2): time 0.298/0.3768, allocations: 47.69 MB / 314.6 MB, free: 4.551 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.007228/0.3841, allocations: 3.841 MB / 318.4 MB, free: 4.477 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007252/0.3849, allocations: 5.062 kB / 318.4 MB, free: 4.477 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0009618/0.3859, allocations: 254.2 kB / 318.7 MB, free: 4.477 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001053/0.3869, allocations: 330.8 kB / 319 MB, free: 4.469 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.01454/0.4015, allocations: 4.284 MB / 323.3 MB, free: 2.688 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.001533/0.403, allocations: 0.6252 MB / 323.9 MB, free: 2.258 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002645/0.4033, allocations: 101.7 kB / 324 MB, free: 2.203 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001297/0.4046, allocations: 0.4965 MB / 324.5 MB, free: 1.938 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008065/0.4055, allocations: 367.4 kB / 324.9 MB, free: 1.742 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02117/0.4267, allocations: 8.241 MB / 333.1 MB, free: 13.82 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.002975/0.4297, allocations: 440.8 kB / 333.5 MB, free: 13.82 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000674/0.4304, allocations: 245.8 kB / 333.8 MB, free: 13.65 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0005013/0.4309, allocations: 92 kB / 333.9 MB, free: 13.56 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01028/0.4412, allocations: 3.698 MB / 337.6 MB, free: 9.867 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.527e-06/0.4413, allocations: 0 / 337.6 MB, free: 9.867 MB / 266.7 MB Notification: Performance of FrontEnd: time 2.675e-06/0.4413, allocations: 0 / 337.6 MB, free: 9.867 MB / 266.7 MB Notification: Performance of Transformations before backend: time 2.131e-05/0.4413, allocations: 0 / 337.6 MB, free: 9.867 MB / 266.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 154 * Number of variables: 154 Notification: Performance of Generate backend data structure: time 0.00464/0.446, allocations: 1.353 MB / 338.9 MB, free: 8.465 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.491e-05/0.446, allocations: 8.031 kB / 338.9 MB, free: 8.457 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005785/0.4466, allocations: 87.23 kB / 339 MB, free: 8.371 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009364/0.4476, allocations: 429 kB / 339.4 MB, free: 7.906 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.842e-05/0.4477, allocations: 49.31 kB / 339.5 MB, free: 7.859 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001702/0.4479, allocations: 60 kB / 339.5 MB, free: 7.801 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002639/0.4505, allocations: 0.7248 MB / 340.3 MB, free: 7.066 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.571e-05/0.4506, allocations: 7.984 kB / 340.3 MB, free: 7.059 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001286/0.4507, allocations: 31.98 kB / 340.3 MB, free: 7.027 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.72e-05/0.4507, allocations: 16 kB / 340.3 MB, free: 7.012 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002825/0.4536, allocations: 0.8951 MB / 341.2 MB, free: 6.117 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02718/0.4808, allocations: 12.75 MB / 354 MB, free: 7.211 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002472/0.4833, allocations: 0.8761 MB / 354.9 MB, free: 6.289 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02166/0.505, allocations: 11.12 MB / 366 MB, free: 9.027 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.606e-05/0.5051, allocations: 43.17 kB / 366 MB, free: 8.977 MB / 298.7 MB Notification: Performance of pre-optimization done (n=78): time 3.116e-06/0.5051, allocations: 0 / 366 MB, free: 8.977 MB / 298.7 MB Notification: Performance of matching and sorting (n=88): time 0.01538/0.5205, allocations: 3.282 MB / 369.3 MB, free: 5.617 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.659e-05/0.5206, allocations: 64.34 kB / 369.4 MB, free: 5.539 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005982/0.5212, allocations: 327.5 kB / 369.7 MB, free: 5.211 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001304/0.5214, allocations: 45.7 kB / 369.7 MB, free: 5.16 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000222/0.5216, allocations: 240.7 kB / 370 MB, free: 4.918 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003459/0.5219, allocations: 307.5 kB / 370.3 MB, free: 4.613 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.91e-05/0.522, allocations: 20 kB / 370.3 MB, free: 4.594 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001879/0.5222, allocations: 358.8 kB / 370.6 MB, free: 4.234 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009902/0.5232, allocations: 341.8 kB / 371 MB, free: 3.902 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001451/0.5247, allocations: 463.4 kB / 371.4 MB, free: 3.418 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001455/0.5262, allocations: 410.8 kB / 371.8 MB, free: 3.02 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.627e-06/0.5262, allocations: 0 / 371.8 MB, free: 3.02 MB / 298.7 MB Notification: Performance of matching and sorting (n=106) (initialization): time 0.004023/0.5302, allocations: 1.051 MB / 372.9 MB, free: 1.949 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.893e-05/0.5303, allocations: 5.875 kB / 372.9 MB, free: 1.945 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.498e-05/0.5303, allocations: 4 kB / 372.9 MB, free: 1.941 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00124/0.5316, allocations: 163.5 kB / 373 MB, free: 1.77 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001531/0.5331, allocations: 191.7 kB / 373.2 MB, free: 1.582 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004062/0.5372, allocations: 3.939 MB / 377.2 MB, free: 13.33 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001002/0.5382, allocations: 64.19 kB / 377.2 MB, free: 13.27 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000124/0.5384, allocations: 39.97 kB / 377.3 MB, free: 13.23 MB / 314.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (102): * Single equations (assignments): 98 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 2 {2,2} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 1,1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0005167/0.5389, allocations: 225.6 kB / 377.5 MB, free: 13 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004953/0.5394, allocations: 59.44 kB / 377.5 MB, free: 12.94 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003484/0.5429, allocations: 1.089 MB / 378.6 MB, free: 11.83 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.926e-05/0.543, allocations: 8 kB / 378.6 MB, free: 11.82 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.419e-06/0.543, allocations: 0 / 378.6 MB, free: 11.82 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002882/0.5459, allocations: 1.335 MB / 380 MB, free: 10.36 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005493/0.5514, allocations: 2.03 MB / 382 MB, free: 8.254 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.188e-06/0.5514, allocations: 7.891 kB / 382 MB, free: 8.246 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001494/0.5529, allocations: 167.8 kB / 382.2 MB, free: 8.082 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002873/0.5558, allocations: 301.3 kB / 382.5 MB, free: 7.781 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001103/0.556, allocations: 27.98 kB / 382.5 MB, free: 7.754 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001145/0.5571, allocations: 1.293 MB / 383.8 MB, free: 6.414 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.056e-06/0.5572, allocations: 7.969 kB / 383.8 MB, free: 6.406 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004295/0.5615, allocations: 1.494 MB / 385.3 MB, free: 4.852 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002608/0.5617, allocations: 140.5 kB / 385.4 MB, free: 4.695 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001816/0.5619, allocations: 23.98 kB / 385.5 MB, free: 4.672 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00115/0.5631, allocations: 59.81 kB / 385.5 MB, free: 4.613 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000155/0.5633, allocations: 64.86 kB / 385.6 MB, free: 4.551 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000142/0.5634, allocations: 39.97 kB / 385.6 MB, free: 4.512 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0004896/0.5639, allocations: 267 kB / 385.9 MB, free: 4.254 MB / 314.7 MB Notification: Performance of sort global known variables: time 4.11e-07/0.5639, allocations: 0 / 385.9 MB, free: 4.254 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.004861/0.5688, allocations: 1.366 MB / 387.2 MB, free: 2.887 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 6 (volume.medium.p,volume.medium.Xi[1],volume.medium.T,volume1.medium.p,volume1.medium.Xi[1],volume1.medium.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (94): * Single equations (assignments): 92 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 2 {2,2} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.008113/0.577, allocations: 1.59 MB / 388.8 MB, free: 1.293 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.003442/0.5805, allocations: 1.136 MB / 390 MB, free: 124 kB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 9.357e-06/0.5805, allocations: 4 kB / 390 MB, free: 120 kB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001546/0.5821, allocations: 499.2 kB / 390.5 MB, free: 15.63 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003652/0.5857, allocations: 390.9 kB / 390.8 MB, free: 15.25 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004993/0.5908, allocations: 2.022 MB / 392.9 MB, free: 13.19 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007064/0.5915, allocations: 0.9366 MB / 393.8 MB, free: 12.23 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.001409/0.5929, allocations: 189.5 kB / 394 MB, free: 12.04 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003627/0.5933, allocations: 71.42 kB / 394.1 MB, free: 11.97 MB / 330.7 MB Notification: Performance of SimCode: time 9.92e-07/0.5933, allocations: 0 / 394.1 MB, free: 11.97 MB / 330.7 MB Notification: Performance of Templates: time 0.3241/0.9174, allocations: 48.1 MB / 442.2 MB, free: 133.4 MB / 362.7 MB