Running command: translateModel(Modelica.Media.Examples.ReferenceAir.MoistAir,tolerance=1e-05,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|medium.T|medium.p",fileNamePrefix="Modelica_3.2.2_cpp_Modelica.Media.Examples.ReferenceAir.MoistAir") Notification: Performance of loadModel(Modelica): time 2.074/2.074, allocations: 194.9 MB / 211.2 MB, free: 8.152 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 4.371e-05/4.365e-05, allocations: 4 kB / 258.8 MB, free: 8.512 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.309/0.3091, allocations: 44.5 MB / 303.3 MB, free: 12.75 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.MoistAir): time 0.0406/0.3497, allocations: 20.91 MB / 324.2 MB, free: 8.711 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.003291/0.3531, allocations: 1.505 MB / 325.7 MB, free: 7.203 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001424/0.3533, allocations: 0 / 325.7 MB, free: 7.203 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002963/0.3536, allocations: 43.78 kB / 325.7 MB, free: 7.16 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004308/0.3541, allocations: 107.6 kB / 325.8 MB, free: 7.055 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.01489/0.369, allocations: 3.841 MB / 329.7 MB, free: 3.203 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003688/0.3694, allocations: 139.7 kB / 329.8 MB, free: 3.066 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.821e-05/0.3694, allocations: 0 / 329.8 MB, free: 3.066 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003816/0.3698, allocations: 135.7 kB / 330 MB, free: 2.934 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002639/0.3701, allocations: 87.73 kB / 330 MB, free: 2.848 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02259/0.3927, allocations: 8.147 MB / 338.2 MB, free: 10.69 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 0.002915/0.3957, allocations: 416 kB / 338.6 MB, free: 10.29 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002019/0.3959, allocations: 63.8 kB / 338.7 MB, free: 10.22 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001055/0.396, allocations: 24 kB / 338.7 MB, free: 10.2 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00854/0.4046, allocations: 2.908 MB / 341.6 MB, free: 7.285 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.638e-06/0.4046, allocations: 0 / 341.6 MB, free: 7.285 MB / 282.7 MB Notification: Performance of FrontEnd: time 2.745e-06/0.4047, allocations: 0 / 341.6 MB, free: 7.285 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.333e-05/0.4047, allocations: 0 / 341.6 MB, free: 7.285 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: 40 * Number of variables: 40 Notification: Performance of Generate backend data structure: time 0.004544/0.4092, allocations: 1.053 MB / 342.6 MB, free: 6.18 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.25e-05/0.4093, allocations: 12.03 kB / 342.7 MB, free: 6.168 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002183/0.4095, allocations: 19.81 kB / 342.7 MB, free: 6.148 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003577/0.4099, allocations: 210.9 kB / 342.9 MB, free: 5.902 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.557e-05/0.41, allocations: 12.28 kB / 342.9 MB, free: 5.891 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.043e-05/0.41, allocations: 23.89 kB / 342.9 MB, free: 5.867 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001113/0.4112, allocations: 269.5 kB / 343.2 MB, free: 5.594 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.082e-05/0.4112, allocations: 0 / 343.2 MB, free: 5.594 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.511e-05/0.4113, allocations: 7.938 kB / 343.2 MB, free: 5.586 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.083e-05/0.4113, allocations: 8 kB / 343.2 MB, free: 5.578 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00132/0.4127, allocations: 287.6 kB / 343.5 MB, free: 5.297 MB / 282.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.002299/0.415, allocations: 0.7932 MB / 344.3 MB, free: 4.422 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001204/0.4162, allocations: 319.5 kB / 344.6 MB, free: 4.074 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02234/0.4386, allocations: 10.43 MB / 355 MB, free: 7.648 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.781e-05/0.4387, allocations: 34.56 kB / 355 MB, free: 7.605 MB / 298.7 MB Notification: Performance of pre-optimization done (n=29): time 3.527e-06/0.4387, allocations: 0 / 355 MB, free: 7.605 MB / 298.7 MB Notification: Performance of matching and sorting (n=36): time 0.004873/0.4436, allocations: 0.6845 MB / 355.7 MB, free: 6.922 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.589e-05/0.4437, allocations: 85.05 kB / 355.8 MB, free: 6.82 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001502/0.4439, allocations: 116.9 kB / 355.9 MB, free: 6.699 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 5.281e-05/0.444, allocations: 29.7 kB / 355.9 MB, free: 6.664 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001057/0.4441, allocations: 179.2 kB / 356.1 MB, free: 6.488 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001727/0.4443, allocations: 134.1 kB / 356.3 MB, free: 6.355 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.931e-05/0.4443, allocations: 8 kB / 356.3 MB, free: 6.348 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001337/0.4445, allocations: 326.8 kB / 356.6 MB, free: 6.02 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006925/0.4452, allocations: 135.9 kB / 356.7 MB, free: 5.887 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008828/0.4461, allocations: 199.6 kB / 356.9 MB, free: 5.664 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008295/0.4469, allocations: 158.7 kB / 357.1 MB, free: 5.512 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.406e-06/0.4469, allocations: 0 / 357.1 MB, free: 5.512 MB / 298.7 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.001973/0.4489, allocations: 413 kB / 357.5 MB, free: 5.102 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.784e-05/0.449, allocations: 4 kB / 357.5 MB, free: 5.098 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.286e-05/0.449, allocations: 4 kB / 357.5 MB, free: 5.094 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.274e-05/0.449, allocations: 4 kB / 357.5 MB, free: 5.09 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009042/0.45, allocations: 91.81 kB / 357.6 MB, free: 5 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.731e-05/0.45, allocations: 8.219 kB / 357.6 MB, free: 4.992 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005657/0.4506, allocations: 23.89 kB / 357.6 MB, free: 4.969 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.493e-05/0.4507, allocations: 23.98 kB / 357.6 MB, free: 4.945 MB / 298.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.0002344/0.4509, allocations: 152.6 kB / 357.8 MB, free: 4.789 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002092/0.4511, allocations: 23.77 kB / 357.8 MB, free: 4.766 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007069/0.4518, allocations: 166.5 kB / 358 MB, free: 4.594 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.686e-06/0.4519, allocations: 4 kB / 358 MB, free: 4.59 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.003e-05/0.4519, allocations: 3.984 kB / 358 MB, free: 4.586 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.124e-06/0.4519, allocations: 0 / 358 MB, free: 4.586 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003329/0.4552, allocations: 0.9562 MB / 358.9 MB, free: 3.559 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.407e-06/0.4553, allocations: 4 kB / 358.9 MB, free: 3.555 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008397/0.4562, allocations: 71.89 kB / 359 MB, free: 3.484 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.347e-05/0.4562, allocations: 7.938 kB / 359 MB, free: 3.477 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.003e-05/0.4562, allocations: 16.09 kB / 359 MB, free: 3.461 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.257e-06/0.4563, allocations: 8 kB / 359 MB, free: 3.453 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.671e-06/0.4563, allocations: 4 kB / 359 MB, free: 3.449 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002711/0.459, allocations: 0.7748 MB / 359.8 MB, free: 2.605 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00023/0.4593, allocations: 124.8 kB / 359.9 MB, free: 2.465 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.603e-05/0.4594, allocations: 8 kB / 359.9 MB, free: 2.457 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006308/0.46, allocations: 35.98 kB / 360 MB, free: 2.422 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.208e-05/0.4601, allocations: 27.81 kB / 360 MB, free: 2.395 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.287e-05/0.4602, allocations: 16 kB / 360 MB, free: 2.379 MB / 298.7 MB Notification: Performance of sorting global known variables: time 9.64e-05/0.4603, allocations: 95.27 kB / 360.1 MB, free: 2.285 MB / 298.7 MB Notification: Performance of sort global known variables: time 3.91e-07/0.4603, allocations: 0 / 360.1 MB, free: 2.285 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.003489/0.4638, allocations: 0.9096 MB / 361 MB, free: 1.375 MB / 298.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.006691/0.4705, allocations: 1.159 MB / 362.2 MB, free: 216 kB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.002508/0.4731, allocations: 343.5 kB / 362.5 MB, free: 15.88 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.084e-05/0.4731, allocations: 0 / 362.5 MB, free: 15.88 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001322/0.4745, allocations: 186.5 kB / 362.7 MB, free: 15.7 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001598/0.4761, allocations: 92.67 kB / 362.8 MB, free: 15.61 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002565/0.4787, allocations: 0.7428 MB / 363.5 MB, free: 14.81 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004683/0.4793, allocations: 0.7413 MB / 364.3 MB, free: 14.05 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003336/0.4796, allocations: 39.42 kB / 364.3 MB, free: 14.01 MB / 314.7 MB Notification: Performance of SimCode: time 9.82e-07/0.4796, allocations: 3.938 kB / 364.3 MB, free: 14 MB / 314.7 MB Notification: Performance of Templates: time 0.06686/0.5465, allocations: 23.33 MB / 387.6 MB, free: 6.633 MB / 330.7 MB