Running command: translateModel(Modelica.Media.Examples.MoistAir,tolerance=1e-05,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|medium.T|medium.p",fileNamePrefix="Modelica_3.2.2_cpp_Modelica.Media.Examples.MoistAir") Notification: Performance of loadModel(Modelica): time 2.007/2.007, allocations: 194.9 MB / 211.2 MB, free: 8.836 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.912e-05/2.914e-05, allocations: 4 kB / 258.8 MB, free: 9.203 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3161/0.3161, allocations: 44.5 MB / 303.3 MB, free: 12.69 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.MoistAir): time 0.2005/0.5167, allocations: 123 MB / 426.3 MB, free: 2.375 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.002401/0.5192, allocations: 1.302 MB / 427.6 MB, free: 1.07 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001384/0.5194, allocations: 0 / 427.6 MB, free: 1.07 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002985/0.5197, allocations: 39.8 kB / 427.7 MB, free: 1.031 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003577/0.5201, allocations: 107.5 kB / 427.8 MB, free: 0.9297 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002243/0.5223, allocations: 0.514 MB / 428.3 MB, free: 424 kB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003355/0.5227, allocations: 139.7 kB / 428.4 MB, free: 284 kB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.593e-05/0.5227, allocations: 4 kB / 428.4 MB, free: 280 kB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004587/0.5232, allocations: 155.6 kB / 428.6 MB, free: 124 kB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002377/0.5235, allocations: 87.78 kB / 428.7 MB, free: 36 kB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.3008/0.8243, allocations: 1.155 MB / 429.8 MB, free: 1.73 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0004228/0.8248, allocations: 38.19 kB / 429.9 MB, free: 1.73 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001495/0.8249, allocations: 60.22 kB / 429.9 MB, free: 1.73 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000123/0.8251, allocations: 22.12 kB / 429.9 MB, free: 1.73 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001949/0.827, allocations: 0.5124 MB / 430.4 MB, free: 1.691 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.689e-06/0.8271, allocations: 0.9688 kB / 430.4 MB, free: 1.691 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.655e-06/0.8271, allocations: 0 / 430.4 MB, free: 1.691 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.913e-05/0.8271, allocations: 1.031 kB / 430.4 MB, free: 1.691 MB / 362.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.002845/0.83, allocations: 0.6055 MB / 431.1 MB, free: 17.24 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.269e-05/0.8301, allocations: 13.44 kB / 431.1 MB, free: 17.24 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003123/0.8304, allocations: 20.33 kB / 431.1 MB, free: 17.23 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003978/0.8308, allocations: 215.9 kB / 431.3 MB, free: 17.03 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.683e-05/0.8309, allocations: 10.17 kB / 431.3 MB, free: 17.03 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.34e-05/0.8309, allocations: 17.03 kB / 431.3 MB, free: 17.03 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009789/0.8319, allocations: 256.1 kB / 431.6 MB, free: 16.98 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.525e-05/0.832, allocations: 6.219 kB / 431.6 MB, free: 16.98 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.026e-05/0.8321, allocations: 5.75 kB / 431.6 MB, free: 16.98 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.623e-05/0.8321, allocations: 9.328 kB / 431.6 MB, free: 16.98 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001227/0.8333, allocations: 261.7 kB / 431.9 MB, free: 16.97 MB / 378.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.00239/0.8358, allocations: 0.7914 MB / 432.6 MB, free: 16.47 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001037/0.8369, allocations: 223.6 kB / 432.9 MB, free: 16.41 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000516/0.8374, allocations: 353.6 kB / 433.2 MB, free: 16.04 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.768e-05/0.8375, allocations: 37.38 kB / 433.2 MB, free: 16 MB / 378.7 MB Notification: Performance of pre-optimization done (n=29): time 3.156e-06/0.8375, allocations: 0 / 433.2 MB, free: 16 MB / 378.7 MB Notification: Performance of matching and sorting (n=36): time 0.004386/0.8419, allocations: 0.6768 MB / 433.9 MB, free: 15.92 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.819e-05/0.842, allocations: 84.48 kB / 434 MB, free: 15.83 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001472/0.8422, allocations: 118.9 kB / 434.1 MB, free: 15.73 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 8.988e-05/0.8423, allocations: 32.23 kB / 434.1 MB, free: 15.7 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.838e-05/0.8424, allocations: 176.8 kB / 434.3 MB, free: 15.54 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001352/0.8425, allocations: 119.7 kB / 434.4 MB, free: 15.46 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.748e-05/0.8426, allocations: 11.75 kB / 434.4 MB, free: 15.46 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001335/0.8427, allocations: 322.9 kB / 434.8 MB, free: 15.14 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006931/0.8434, allocations: 135.5 kB / 434.9 MB, free: 15.14 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006778/0.8441, allocations: 201.3 kB / 435.1 MB, free: 15.07 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007029/0.8449, allocations: 159.1 kB / 435.2 MB, free: 15.06 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.358e-06/0.8449, allocations: 0 / 435.2 MB, free: 15.06 MB / 378.7 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.001651/0.8465, allocations: 400.5 kB / 435.6 MB, free: 15.01 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.133e-05/0.8466, allocations: 10.88 kB / 435.7 MB, free: 15.01 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.207e-05/0.8466, allocations: 3.594 kB / 435.7 MB, free: 15.01 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.446e-05/0.8467, allocations: 5.812 kB / 435.7 MB, free: 15.01 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008839/0.8476, allocations: 85.16 kB / 435.7 MB, free: 15.01 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.744e-05/0.8476, allocations: 6.406 kB / 435.7 MB, free: 15.01 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006093/0.8482, allocations: 37.94 kB / 435.8 MB, free: 15 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.405e-05/0.8483, allocations: 16.61 kB / 435.8 MB, free: 14.99 MB / 378.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.0002304/0.8486, allocations: 141.7 kB / 435.9 MB, free: 14.88 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001137/0.8487, allocations: 17.25 kB / 436 MB, free: 14.87 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005819/0.8493, allocations: 174.7 kB / 436.1 MB, free: 14.83 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.005e-06/0.8493, allocations: 2.938 kB / 436.1 MB, free: 14.83 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.033e-05/0.8493, allocations: 4.75 kB / 436.1 MB, free: 14.83 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.297e-06/0.8493, allocations: 3.094 kB / 436.1 MB, free: 14.83 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002852/0.8522, allocations: 0.765 MB / 436.9 MB, free: 14.46 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.504e-06/0.8523, allocations: 0 / 436.9 MB, free: 14.46 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008206/0.8531, allocations: 83.53 kB / 437 MB, free: 14.46 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.056e-05/0.8531, allocations: 3.312 kB / 437 MB, free: 14.46 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.749e-05/0.8532, allocations: 15.59 kB / 437 MB, free: 14.46 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.635e-06/0.8532, allocations: 7 kB / 437 MB, free: 14.45 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.359e-06/0.8532, allocations: 3.031 kB / 437 MB, free: 14.45 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002306/0.8555, allocations: 0.7647 MB / 437.8 MB, free: 14.09 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002463/0.8558, allocations: 121 kB / 437.9 MB, free: 13.99 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.511e-05/0.8559, allocations: 6.156 kB / 437.9 MB, free: 13.99 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006026/0.8565, allocations: 24.75 kB / 437.9 MB, free: 13.99 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.242e-05/0.8566, allocations: 27.73 kB / 438 MB, free: 13.98 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.26e-05/0.8566, allocations: 16.53 kB / 438 MB, free: 13.98 MB / 378.7 MB Notification: Performance of sorting global known variables: time 9.581e-05/0.8567, allocations: 92.34 kB / 438.1 MB, free: 13.91 MB / 378.7 MB Notification: Performance of sort global known variables: time 3.91e-07/0.8568, allocations: 0 / 438.1 MB, free: 13.91 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0008532/0.8576, allocations: 144.7 kB / 438.2 MB, free: 13.89 MB / 378.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.000714/0.8584, allocations: 229 kB / 438.4 MB, free: 13.77 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001537/0.8599, allocations: 334.8 kB / 438.8 MB, free: 13.77 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 5.971e-06/0.8599, allocations: 0 / 438.8 MB, free: 13.77 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007075/0.8607, allocations: 177.2 kB / 438.9 MB, free: 13.77 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001014/0.8617, allocations: 97.14 kB / 439 MB, free: 13.75 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002308/0.864, allocations: 0.7654 MB / 439.8 MB, free: 13.31 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000364/0.8644, allocations: 0.7425 MB / 440.5 MB, free: 12.62 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003088/0.8648, allocations: 39.47 kB / 440.6 MB, free: 12.61 MB / 378.7 MB Notification: Performance of SimCode: time 1.323e-06/0.8648, allocations: 0 / 440.6 MB, free: 12.61 MB / 378.7 MB Notification: Performance of Templates: time 0.01065/0.8754, allocations: 4.443 MB / 445 MB, free: 12.2 MB / 378.7 MB