Running command: translateModel(Modelica.Media.Examples.MoistAir,tolerance=1e-05,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|medium.T|medium.p",fileNamePrefix="Modelica_3.2.1_Modelica.Media.Examples.MoistAir") Notification: Performance of loadModel(Modelica): time 1.667/1.667, allocations: 171.2 MB / 185.7 MB, free: 1.398 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 3.721e-05/3.716e-05, allocations: 3.984 kB / 228.1 MB, free: 7.344 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07885/0.07891, allocations: 38.77 MB / 266.9 MB, free: 500 kB / 218.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.MoistAir): time 0.4125/0.4915, allocations: 123 MB / 389.9 MB, free: 7.125 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.002413/0.494, allocations: 1.294 MB / 391.2 MB, free: 5.832 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001144/0.4941, allocations: 4 kB / 391.2 MB, free: 5.828 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002689/0.4944, allocations: 39.78 kB / 391.3 MB, free: 5.789 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003484/0.4948, allocations: 107 kB / 391.4 MB, free: 5.688 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002081/0.4969, allocations: 0.5083 MB / 391.9 MB, free: 5.184 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003174/0.4972, allocations: 135.7 kB / 392 MB, free: 5.051 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.437e-05/0.4973, allocations: 4 kB / 392 MB, free: 5.047 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000433/0.4977, allocations: 151.7 kB / 392.2 MB, free: 4.898 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002301/0.4979, allocations: 87.78 kB / 392.2 MB, free: 4.812 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003141/0.5011, allocations: 1.147 MB / 393.4 MB, free: 3.664 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002565/0.5014, allocations: 36 kB / 393.4 MB, free: 3.629 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001286/0.5015, allocations: 67.81 kB / 393.5 MB, free: 3.562 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001001/0.5017, allocations: 20 kB / 393.5 MB, free: 3.543 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001425/0.5031, allocations: 0.5128 MB / 394 MB, free: 3.035 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.226e-06/0.5031, allocations: 0 / 394 MB, free: 3.035 MB / 314.7 MB Notification: Performance of FrontEnd: time 4.769e-06/0.5031, allocations: 0 / 394 MB, free: 3.035 MB / 314.7 MB Notification: Performance of Transformations before backend: time 1.054e-05/0.5032, allocations: 3.938 kB / 394 MB, free: 3.031 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: 40 * Number of variables: 40 Notification: Performance of Generate backend data structure: time 0.002375/0.5055, allocations: 0.6005 MB / 394.6 MB, free: 2.383 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.564e-05/0.5056, allocations: 8.031 kB / 394.6 MB, free: 2.375 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001961/0.5058, allocations: 19.81 kB / 394.6 MB, free: 2.355 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003229/0.5061, allocations: 214.8 kB / 394.9 MB, free: 2.105 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.566e-05/0.5062, allocations: 16.33 kB / 394.9 MB, free: 2.09 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.42e-05/0.5063, allocations: 12 kB / 394.9 MB, free: 2.078 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008928/0.5072, allocations: 253.5 kB / 395.1 MB, free: 1.82 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.738e-05/0.5072, allocations: 4 kB / 395.1 MB, free: 1.816 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.469e-05/0.5073, allocations: 4 kB / 395.1 MB, free: 1.812 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.983e-05/0.5073, allocations: 8 kB / 395.1 MB, free: 1.805 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001151/0.5085, allocations: 275.6 kB / 395.4 MB, free: 1.535 MB / 314.7 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002237/0.5107, allocations: 0.7679 MB / 396.2 MB, free: 0.6953 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001032/0.5118, allocations: 213.2 kB / 396.4 MB, free: 480 kB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004908/0.5123, allocations: 364.3 kB / 396.8 MB, free: 40 kB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.693e-05/0.5124, allocations: 34.56 kB / 396.8 MB, free: 16 MB / 330.7 MB Notification: Performance of pre-optimization done (n=29): time 3.416e-06/0.5124, allocations: 0 / 396.8 MB, free: 16 MB / 330.7 MB Notification: Performance of matching and sorting (n=36): time 0.004359/0.5168, allocations: 0.6635 MB / 397.4 MB, free: 15.33 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.071e-05/0.5169, allocations: 89.23 kB / 397.5 MB, free: 15.22 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000135/0.517, allocations: 109.3 kB / 397.6 MB, free: 15.11 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 5.533e-05/0.5171, allocations: 33.7 kB / 397.7 MB, free: 15.07 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.798e-05/0.5172, allocations: 112.8 kB / 397.8 MB, free: 14.96 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001521/0.5173, allocations: 118.2 kB / 397.9 MB, free: 14.84 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.718e-05/0.5174, allocations: 12 kB / 397.9 MB, free: 14.83 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001406/0.5175, allocations: 326.8 kB / 398.2 MB, free: 14.5 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006858/0.5182, allocations: 135.9 kB / 398.4 MB, free: 14.37 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007363/0.519, allocations: 211.6 kB / 398.6 MB, free: 14.13 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007303/0.5197, allocations: 151.4 kB / 398.7 MB, free: 13.99 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.11e-06/0.5198, allocations: 8 kB / 398.7 MB, free: 13.98 MB / 330.7 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.001745/0.5215, allocations: 405.7 kB / 399.1 MB, free: 13.58 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.966e-05/0.5216, allocations: 9.875 kB / 399.1 MB, free: 13.57 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.071e-05/0.5216, allocations: 0 / 399.1 MB, free: 13.57 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.407e-05/0.5216, allocations: 7.984 kB / 399.1 MB, free: 13.56 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009063/0.5225, allocations: 83.88 kB / 399.2 MB, free: 13.48 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.678e-05/0.5226, allocations: 7.984 kB / 399.2 MB, free: 13.47 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005769/0.5232, allocations: 39.89 kB / 399.3 MB, free: 13.43 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.716e-05/0.5232, allocations: 15.92 kB / 399.3 MB, free: 13.42 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (43): * Single equations (assignments): 43 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002204/0.5235, allocations: 145.7 kB / 399.4 MB, free: 13.27 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000124/0.5236, allocations: 11.91 kB / 399.4 MB, free: 13.25 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006287/0.5242, allocations: 179.9 kB / 399.6 MB, free: 13.07 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.918e-06/0.5243, allocations: 4 kB / 399.6 MB, free: 13.07 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.253e-06/0.5243, allocations: 0 / 399.6 MB, free: 13.07 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.082e-05/0.5243, allocations: 3.984 kB / 399.6 MB, free: 13.06 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002805/0.5271, allocations: 0.7602 MB / 400.4 MB, free: 12.23 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.648e-06/0.5272, allocations: 4 kB / 400.4 MB, free: 12.23 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008202/0.528, allocations: 75.89 kB / 400.5 MB, free: 12.15 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.638e-05/0.528, allocations: 6.875 kB / 400.5 MB, free: 12.15 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.622e-05/0.5281, allocations: 11.98 kB / 400.5 MB, free: 12.14 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.397e-05/0.5281, allocations: 4 kB / 400.5 MB, free: 12.13 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.005e-06/0.5281, allocations: 0 / 400.5 MB, free: 12.13 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002461/0.5306, allocations: 0.7903 MB / 401.3 MB, free: 11.27 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002133/0.5309, allocations: 113 kB / 401.4 MB, free: 11.14 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.878e-05/0.531, allocations: 8.375 kB / 401.4 MB, free: 11.13 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006183/0.5316, allocations: 23.89 kB / 401.4 MB, free: 11.11 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.64e-05/0.5317, allocations: 23.97 kB / 401.4 MB, free: 11.09 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.936e-05/0.5317, allocations: 20.05 kB / 401.5 MB, free: 11.07 MB / 330.7 MB Notification: Performance of sorting global known variables: time 9.808e-05/0.5318, allocations: 103.1 kB / 401.6 MB, free: 10.96 MB / 330.7 MB Notification: Performance of sort global known variables: time 3.91e-07/0.5318, allocations: 0 / 401.6 MB, free: 10.96 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0008456/0.5327, allocations: 135.9 kB / 401.7 MB, free: 10.83 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 2 (medium.p,medium.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (38): * Single equations (assignments): 38 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0007017/0.5334, allocations: 226.9 kB / 401.9 MB, free: 10.6 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.001593/0.535, allocations: 328.1 kB / 402.2 MB, free: 10.28 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 5.01e-06/0.5351, allocations: 8 kB / 402.2 MB, free: 10.27 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007738/0.5359, allocations: 181.8 kB / 402.4 MB, free: 10.1 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001003/0.5369, allocations: 88.11 kB / 402.5 MB, free: 10.01 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002728/0.5396, allocations: 0.76 MB / 403.3 MB, free: 9.211 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004177/0.5401, allocations: 0.7374 MB / 404 MB, free: 8.449 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0007248/0.5408, allocations: 85.88 kB / 404.1 MB, free: 8.367 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002254/0.5411, allocations: 35.42 kB / 404.1 MB, free: 8.332 MB / 330.7 MB Notification: Performance of SimCode: time 1.082e-06/0.5411, allocations: 0 / 404.1 MB, free: 8.332 MB / 330.7 MB Notification: Performance of Templates: time 0.01607/0.5572, allocations: 5.488 MB / 409.6 MB, free: 2.875 MB / 330.7 MB