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_cpp_Modelica.Media.Examples.MoistAir") Notification: Performance of loadModel(Modelica): time 1.679/1.679, allocations: 171.1 MB / 186.3 MB, free: 1.422 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 3.211e-05/3.213e-05, allocations: 0 / 228.1 MB, free: 8.012 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08224/0.08231, allocations: 38.78 MB / 266.9 MB, free: 1.148 MB / 218.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.MoistAir): time 0.418/0.5004, allocations: 123 MB / 389.9 MB, free: 7.59 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.002389/0.5028, allocations: 1.298 MB / 391.2 MB, free: 6.289 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001399/0.503, allocations: 0 / 391.2 MB, free: 6.289 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002714/0.5033, allocations: 35.86 kB / 391.2 MB, free: 6.254 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003631/0.5037, allocations: 102.9 kB / 391.3 MB, free: 6.156 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002148/0.5058, allocations: 0.5153 MB / 391.8 MB, free: 5.645 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003338/0.5062, allocations: 131.7 kB / 392 MB, free: 5.516 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.093e-05/0.5063, allocations: 4 kB / 392 MB, free: 5.512 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004446/0.5067, allocations: 151.6 kB / 392.1 MB, free: 5.363 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002394/0.507, allocations: 83.8 kB / 392.2 MB, free: 5.281 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003189/0.5102, allocations: 1.155 MB / 393.4 MB, free: 4.125 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002854/0.5105, allocations: 40 kB / 393.4 MB, free: 4.086 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001331/0.5107, allocations: 55.88 kB / 393.4 MB, free: 4.031 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 9.737e-05/0.5108, allocations: 20 kB / 393.5 MB, free: 4.012 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001511/0.5123, allocations: 0.5153 MB / 394 MB, free: 3.504 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.188e-06/0.5123, allocations: 0 / 394 MB, free: 3.504 MB / 314.7 MB Notification: Performance of FrontEnd: time 6.042e-06/0.5123, allocations: 0 / 394 MB, free: 3.504 MB / 314.7 MB Notification: Performance of Transformations before backend: time 1.251e-05/0.5124, allocations: 3.938 kB / 394 MB, free: 3.5 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.002411/0.5148, allocations: 0.6044 MB / 394.6 MB, free: 2.848 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.797e-05/0.5149, allocations: 8.031 kB / 394.6 MB, free: 2.84 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000205/0.5151, allocations: 19.81 kB / 394.6 MB, free: 2.82 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003359/0.5154, allocations: 210.8 kB / 394.8 MB, free: 2.574 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.425e-05/0.5155, allocations: 13.2 kB / 394.8 MB, free: 2.562 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.392e-05/0.5155, allocations: 19.92 kB / 394.9 MB, free: 2.543 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008919/0.5164, allocations: 257.5 kB / 395.1 MB, free: 2.281 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.82e-05/0.5165, allocations: 0 / 395.1 MB, free: 2.281 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.934e-05/0.5165, allocations: 12 kB / 395.1 MB, free: 2.27 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.883e-05/0.5166, allocations: 4 kB / 395.1 MB, free: 2.266 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001145/0.5177, allocations: 271.7 kB / 395.4 MB, free: 2 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.52, allocations: 0.7679 MB / 396.2 MB, free: 1.16 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001033/0.5211, allocations: 217.2 kB / 396.4 MB, free: 0.9297 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004521/0.5215, allocations: 352.4 kB / 396.7 MB, free: 0.5117 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.884e-05/0.5216, allocations: 41.06 kB / 396.8 MB, free: 476 kB / 314.7 MB Notification: Performance of pre-optimization done (n=29): time 3.697e-06/0.5216, allocations: 3.938 kB / 396.8 MB, free: 472 kB / 314.7 MB Notification: Performance of matching and sorting (n=36): time 0.004282/0.5259, allocations: 0.6713 MB / 397.4 MB, free: 15.78 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.373e-05/0.526, allocations: 81.3 kB / 397.5 MB, free: 15.68 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001381/0.5262, allocations: 109.4 kB / 397.6 MB, free: 15.57 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 5.354e-05/0.5262, allocations: 33.7 kB / 397.6 MB, free: 15.53 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.613e-05/0.5263, allocations: 175.2 kB / 397.8 MB, free: 15.36 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001477/0.5265, allocations: 126.1 kB / 397.9 MB, free: 15.24 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.768e-05/0.5266, allocations: 12 kB / 398 MB, free: 15.23 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.000135/0.5267, allocations: 326.8 kB / 398.3 MB, free: 14.9 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006807/0.5274, allocations: 135.8 kB / 398.4 MB, free: 14.77 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000747/0.5282, allocations: 203.6 kB / 398.6 MB, free: 14.54 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007298/0.5289, allocations: 155.6 kB / 398.8 MB, free: 14.39 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.406e-06/0.5289, allocations: 0 / 398.8 MB, free: 14.39 MB / 330.7 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.00171/0.5307, allocations: 413.1 kB / 399.2 MB, free: 13.98 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.545e-05/0.5307, allocations: 4 kB / 399.2 MB, free: 13.98 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.345e-05/0.5307, allocations: 4 kB / 399.2 MB, free: 13.97 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.153e-05/0.5308, allocations: 7.938 kB / 399.2 MB, free: 13.96 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008892/0.5317, allocations: 87.88 kB / 399.3 MB, free: 13.88 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.367e-05/0.5317, allocations: 8.219 kB / 399.3 MB, free: 13.87 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005655/0.5323, allocations: 27.91 kB / 399.3 MB, free: 13.84 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.231e-05/0.5323, allocations: 19.94 kB / 399.3 MB, free: 13.82 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.0002179/0.5326, allocations: 145.7 kB / 399.5 MB, free: 13.67 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001085/0.5327, allocations: 15.81 kB / 399.5 MB, free: 13.66 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006307/0.5333, allocations: 182.9 kB / 399.7 MB, free: 13.47 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.298e-06/0.5334, allocations: 4 kB / 399.7 MB, free: 13.46 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.368e-06/0.5334, allocations: 4 kB / 399.7 MB, free: 13.46 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.664e-06/0.5334, allocations: 4 kB / 399.7 MB, free: 13.46 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002742/0.5361, allocations: 0.7536 MB / 400.4 MB, free: 12.63 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.903e-06/0.5362, allocations: 0 / 400.4 MB, free: 12.63 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008248/0.537, allocations: 79.83 kB / 400.5 MB, free: 12.55 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.155e-05/0.5371, allocations: 4 kB / 400.5 MB, free: 12.55 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.906e-05/0.5371, allocations: 20.52 kB / 400.5 MB, free: 12.53 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.553e-06/0.5371, allocations: 0 / 400.5 MB, free: 12.53 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.296e-06/0.5372, allocations: 4 kB / 400.5 MB, free: 12.53 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002443/0.5396, allocations: 0.7783 MB / 401.3 MB, free: 11.68 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002103/0.5399, allocations: 120.9 kB / 401.4 MB, free: 11.54 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.817e-05/0.54, allocations: 11.98 kB / 401.4 MB, free: 11.53 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006079/0.5406, allocations: 20.05 kB / 401.5 MB, free: 11.51 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.337e-05/0.5407, allocations: 23.97 kB / 401.5 MB, free: 11.49 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.448e-05/0.5407, allocations: 19.98 kB / 401.5 MB, free: 11.47 MB / 330.7 MB Notification: Performance of sorting global known variables: time 9.568e-05/0.5409, allocations: 91.27 kB / 401.6 MB, free: 11.38 MB / 330.7 MB Notification: Performance of sort global known variables: time 3.61e-07/0.5409, allocations: 0 / 401.6 MB, free: 11.38 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0007946/0.5417, allocations: 131.9 kB / 401.7 MB, free: 11.25 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.0007112/0.5424, allocations: 238.9 kB / 401.9 MB, free: 11.01 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.001613/0.544, allocations: 339.8 kB / 402.3 MB, free: 10.68 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 4.468e-06/0.5441, allocations: 0 / 402.3 MB, free: 10.68 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007559/0.5448, allocations: 178.1 kB / 402.5 MB, free: 10.5 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001019/0.5459, allocations: 96.14 kB / 402.5 MB, free: 10.41 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002835/0.5487, allocations: 0.7865 MB / 403.3 MB, free: 9.574 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003892/0.5491, allocations: 0.7374 MB / 404.1 MB, free: 8.812 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003269/0.5495, allocations: 47.39 kB / 404.1 MB, free: 8.766 MB / 330.7 MB Notification: Performance of SimCode: time 9.82e-07/0.5495, allocations: 0 / 404.1 MB, free: 8.766 MB / 330.7 MB Notification: Performance of Templates: time 0.0118/0.5613, allocations: 4.427 MB / 408.5 MB, free: 4.336 MB / 330.7 MB