Running command: translateModel(Modelica.Media.Examples.ReferenceAir.MoistAir1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.T|volume.medium.Xi.1.|volume.medium.p",fileNamePrefix="Modelica_3.2.2_Modelica.Media.Examples.ReferenceAir.MoistAir1") Notification: Performance of loadModel(Modelica): time 1.813/1.813, allocations: 194.9 MB / 210.6 MB, free: 8.348 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.918e-05/2.927e-05, allocations: 4 kB / 258.8 MB, free: 8.062 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.289/0.289, allocations: 44.5 MB / 303.3 MB, free: 12.96 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.MoistAir1): time 0.06117/0.3502, allocations: 37.54 MB / 340.9 MB, free: 7.98 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.006785/0.3571, allocations: 3.607 MB / 344.5 MB, free: 4.371 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003032/0.3574, allocations: 7.938 kB / 344.5 MB, free: 4.363 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0007044/0.3581, allocations: 187.1 kB / 344.6 MB, free: 4.18 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006244/0.3588, allocations: 227.3 kB / 344.9 MB, free: 3.957 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.01446/0.3733, allocations: 4.125 MB / 349 MB, free: 15.82 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0009531/0.3742, allocations: 456.2 kB / 349.4 MB, free: 15.37 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002073/0.3745, allocations: 64.5 kB / 349.5 MB, free: 15.31 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01323/0.3877, allocations: 5.93 MB / 355.4 MB, free: 9.375 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005571/0.3883, allocations: 263.3 kB / 355.7 MB, free: 9.117 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0213/0.4096, allocations: 8.213 MB / 363.9 MB, free: 0.8945 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.002631/0.4123, allocations: 432 kB / 364.3 MB, free: 484 kB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003457/0.4127, allocations: 183.5 kB / 364.5 MB, free: 300 kB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002566/0.4129, allocations: 64 kB / 364.6 MB, free: 236 kB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.008541/0.4215, allocations: 3.419 MB / 368 MB, free: 12.8 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.677e-06/0.4216, allocations: 0 / 368 MB, free: 12.8 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.194e-06/0.4216, allocations: 0 / 368 MB, free: 12.8 MB / 314.7 MB Notification: Performance of Transformations before backend: time 1.435e-05/0.4216, allocations: 4 kB / 368 MB, free: 12.8 MB / 314.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 107 * Number of variables: 107 Notification: Performance of Generate backend data structure: time 0.003759/0.4254, allocations: 1.193 MB / 369.2 MB, free: 11.56 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.464e-05/0.4254, allocations: 12.03 kB / 369.2 MB, free: 11.55 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004322/0.4259, allocations: 63.42 kB / 369.3 MB, free: 11.48 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006728/0.4266, allocations: 358.2 kB / 369.6 MB, free: 11.09 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.407e-05/0.4266, allocations: 29 kB / 369.6 MB, free: 11.07 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001124/0.4267, allocations: 48 kB / 369.7 MB, free: 11.02 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001809/0.4286, allocations: 0.5218 MB / 370.2 MB, free: 10.49 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.716e-05/0.4286, allocations: 0 / 370.2 MB, free: 10.49 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.672e-05/0.4287, allocations: 19.94 kB / 370.2 MB, free: 10.47 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.676e-05/0.4287, allocations: 12 kB / 370.2 MB, free: 10.46 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001979/0.4307, allocations: 0.648 MB / 370.9 MB, free: 9.812 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02432/0.4551, allocations: 12.21 MB / 383.1 MB, free: 11.45 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001709/0.4568, allocations: 0.661 MB / 383.8 MB, free: 10.75 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02066/0.4775, allocations: 10.76 MB / 394.5 MB, free: 13.92 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.099e-05/0.4776, allocations: 42.98 kB / 394.6 MB, free: 13.87 MB / 346.7 MB Notification: Performance of pre-optimization done (n=50): time 2.735e-06/0.4776, allocations: 0 / 394.6 MB, free: 13.87 MB / 346.7 MB Notification: Performance of matching and sorting (n=55): time 0.008437/0.486, allocations: 2.027 MB / 396.6 MB, free: 11.74 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.622e-05/0.4861, allocations: 59.97 kB / 396.6 MB, free: 11.67 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004986/0.4866, allocations: 294 kB / 396.9 MB, free: 11.38 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 7.681e-05/0.4867, allocations: 41.69 kB / 397 MB, free: 11.33 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001702/0.4869, allocations: 200.4 kB / 397.2 MB, free: 11.13 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002018/0.4871, allocations: 189.2 kB / 397.4 MB, free: 10.94 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.821e-05/0.4872, allocations: 8 kB / 397.4 MB, free: 10.93 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001546/0.4873, allocations: 354.8 kB / 397.7 MB, free: 10.58 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006075/0.488, allocations: 221 kB / 397.9 MB, free: 10.36 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009337/0.4889, allocations: 326.4 kB / 398.2 MB, free: 10.02 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009581/0.4899, allocations: 260.8 kB / 398.5 MB, free: 9.762 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.46e-06/0.4899, allocations: 4 kB / 398.5 MB, free: 9.758 MB / 346.7 MB Notification: Performance of matching and sorting (n=70) (initialization): time 0.002632/0.4925, allocations: 0.701 MB / 399.2 MB, free: 9.039 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.302e-05/0.4926, allocations: 8 kB / 399.2 MB, free: 9.031 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.435e-06/0.4926, allocations: 256 / 399.2 MB, free: 9.031 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007023/0.4933, allocations: 110.5 kB / 399.3 MB, free: 8.914 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009816/0.4943, allocations: 123.8 kB / 399.4 MB, free: 8.793 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003113/0.4974, allocations: 3.286 MB / 402.7 MB, free: 5.219 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006581/0.4981, allocations: 40.2 kB / 402.8 MB, free: 5.18 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.765e-05/0.4982, allocations: 35.97 kB / 402.8 MB, free: 5.145 MB / 346.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 (67): * Single equations (assignments): 64 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * 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: 1 {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.0003664/0.4986, allocations: 188.8 kB / 403 MB, free: 4.953 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003777/0.499, allocations: 43.53 kB / 403 MB, free: 4.91 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002146/0.5011, allocations: 0.6968 MB / 403.7 MB, free: 4.191 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.325e-05/0.5012, allocations: 8 kB / 403.7 MB, free: 4.184 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.806e-06/0.5012, allocations: 3.938 kB / 403.7 MB, free: 4.18 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00172/0.5029, allocations: 0.7782 MB / 404.5 MB, free: 3.332 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003412/0.5063, allocations: 1.373 MB / 405.9 MB, free: 1.883 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.318e-06/0.5064, allocations: 4 kB / 405.9 MB, free: 1.879 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000914/0.5073, allocations: 119.9 kB / 406 MB, free: 1.762 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001435/0.5087, allocations: 140.6 kB / 406.1 MB, free: 1.621 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.07e-05/0.5088, allocations: 20 kB / 406.2 MB, free: 1.602 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005211/0.5094, allocations: 0.6523 MB / 406.8 MB, free: 0.9258 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.921e-06/0.5094, allocations: 7.891 kB / 406.8 MB, free: 0.918 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00262/0.512, allocations: 0.9805 MB / 407.8 MB, free: 15.88 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001794/0.5122, allocations: 128.7 kB / 407.9 MB, free: 15.73 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001287/0.5123, allocations: 12 kB / 407.9 MB, free: 15.72 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007915/0.5131, allocations: 47.81 kB / 408 MB, free: 15.68 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.778e-05/0.5132, allocations: 36.45 kB / 408 MB, free: 15.64 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.702e-05/0.5134, allocations: 31.97 kB / 408.1 MB, free: 15.61 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0003811/0.5137, allocations: 237.9 kB / 408.3 MB, free: 15.38 MB / 362.7 MB Notification: Performance of sort global known variables: time 4.01e-07/0.5138, allocations: 0 / 408.3 MB, free: 15.38 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.004357/0.5181, allocations: 1.292 MB / 409.6 MB, free: 14.08 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 3 (volume.medium.p,volume.medium.Xi[1],volume.medium.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (59): * 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): 1 * 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: 1 {2} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.007079/0.5252, allocations: 1.541 MB / 411.1 MB, free: 12.54 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.002316/0.5276, allocations: 0.7942 MB / 411.9 MB, free: 11.72 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 4.789e-06/0.5276, allocations: 4 kB / 411.9 MB, free: 11.71 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008925/0.5285, allocations: 307.9 kB / 412.2 MB, free: 11.41 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00251/0.531, allocations: 278.9 kB / 412.5 MB, free: 11.13 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003059/0.5341, allocations: 1.353 MB / 413.8 MB, free: 9.75 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005694/0.5347, allocations: 0.8491 MB / 414.7 MB, free: 8.875 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0008962/0.5356, allocations: 128.6 kB / 414.8 MB, free: 8.746 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002694/0.5359, allocations: 59.42 kB / 414.9 MB, free: 8.688 MB / 362.7 MB Notification: Performance of SimCode: time 1.263e-06/0.5359, allocations: 0 / 414.9 MB, free: 8.688 MB / 362.7 MB Notification: Performance of Templates: time 0.3256/0.8615, allocations: 43.54 MB / 458.4 MB, free: 83.98 MB / 362.7 MB