Running command: translateModel(Modelica.Media.Examples.MoistAir,tolerance=1e-05,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|medium.T|medium.p",fileNamePrefix="Modelica_trunk_cpp_Modelica.Media.Examples.MoistAir") Notification: Performance of loadModel(Modelica): time 2.132/2.132, allocations: 224.7 MB / 241.1 MB, free: 1.664 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.602e-05/3.597e-05, allocations: 4 kB / 294.5 MB, free: 11.42 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1328/0.1329, allocations: 50.43 MB / 345 MB, free: 8.949 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.MoistAir): time 0.5155/0.6484, allocations: 123.1 MB / 468 MB, free: 15.33 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.00225/0.6507, allocations: 1.309 MB / 469.3 MB, free: 14.18 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.526e-05/0.6509, allocations: 0 / 469.3 MB, free: 14.18 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000271/0.6511, allocations: 47.77 kB / 469.4 MB, free: 14.13 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000363/0.6515, allocations: 99.69 kB / 469.5 MB, free: 14.04 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002075/0.6536, allocations: 0.5182 MB / 470 MB, free: 13.52 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003175/0.6539, allocations: 131.7 kB / 470.1 MB, free: 13.39 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.477e-05/0.654, allocations: 0 / 470.1 MB, free: 13.39 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004479/0.6544, allocations: 163.6 kB / 470.3 MB, free: 13.23 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002341/0.6547, allocations: 79.8 kB / 470.4 MB, free: 13.16 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003151/0.6579, allocations: 1.166 MB / 471.5 MB, free: 11.99 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002299/0.6581, allocations: 40 kB / 471.6 MB, free: 11.95 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001223/0.6583, allocations: 51.88 kB / 471.6 MB, free: 11.9 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 9.897e-05/0.6584, allocations: 24 kB / 471.7 MB, free: 11.88 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001384/0.6598, allocations: 0.519 MB / 472.2 MB, free: 11.36 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.125e-06/0.6598, allocations: 0 / 472.2 MB, free: 11.36 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.615e-06/0.6598, allocations: 4 kB / 472.2 MB, free: 11.36 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.082e-05/0.6598, allocations: 0 / 472.2 MB, free: 11.36 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.002374/0.6622, allocations: 0.6044 MB / 472.8 MB, free: 10.7 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.199e-05/0.6623, allocations: 8.031 kB / 472.8 MB, free: 10.7 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002123/0.6625, allocations: 23.8 kB / 472.8 MB, free: 10.67 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003537/0.6629, allocations: 203.4 kB / 473 MB, free: 10.43 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.184e-05/0.6629, allocations: 12.33 kB / 473 MB, free: 10.42 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.906e-05/0.663, allocations: 16 kB / 473 MB, free: 10.41 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009553/0.664, allocations: 271.9 kB / 473.3 MB, free: 10.13 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.867e-05/0.664, allocations: 0 / 473.3 MB, free: 10.13 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.286e-05/0.6641, allocations: 11.95 kB / 473.3 MB, free: 10.12 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.074e-05/0.6641, allocations: 8 kB / 473.3 MB, free: 10.11 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001119/0.6652, allocations: 263.8 kB / 473.6 MB, free: 9.855 MB / 362.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.002307/0.6676, allocations: 0.7859 MB / 474.4 MB, free: 8.992 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001054/0.6686, allocations: 217.2 kB / 474.6 MB, free: 8.762 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004486/0.6691, allocations: 356.4 kB / 474.9 MB, free: 8.34 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.244e-05/0.6692, allocations: 42.56 kB / 475 MB, free: 8.289 MB / 362.7 MB Notification: Performance of pre-optimization done (n=29): time 3.667e-06/0.6692, allocations: 0 / 475 MB, free: 8.289 MB / 362.7 MB Notification: Performance of matching and sorting (n=36): time 0.004252/0.6734, allocations: 0.6634 MB / 475.6 MB, free: 7.621 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.457e-05/0.6735, allocations: 85.05 kB / 475.7 MB, free: 7.52 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001784/0.6737, allocations: 120.8 kB / 475.8 MB, free: 7.395 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 7.914e-05/0.6738, allocations: 29.7 kB / 475.9 MB, free: 7.359 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001501/0.674, allocations: 187.2 kB / 476 MB, free: 7.176 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002279/0.6743, allocations: 122.2 kB / 476.2 MB, free: 7.055 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.801e-05/0.6743, allocations: 4 kB / 476.2 MB, free: 7.051 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.000193/0.6746, allocations: 330.8 kB / 476.5 MB, free: 6.719 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009944/0.6756, allocations: 127.9 kB / 476.6 MB, free: 6.594 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001042/0.6766, allocations: 215.5 kB / 476.8 MB, free: 6.355 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001109/0.6778, allocations: 155.2 kB / 477 MB, free: 6.207 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.619e-06/0.6778, allocations: 0 / 477 MB, free: 6.207 MB / 362.7 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.002506/0.6803, allocations: 397.2 kB / 477.4 MB, free: 5.812 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.018e-05/0.6804, allocations: 4 kB / 477.4 MB, free: 5.809 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.719e-05/0.6804, allocations: 4 kB / 477.4 MB, free: 5.805 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.778e-05/0.6805, allocations: 7.953 kB / 477.4 MB, free: 5.797 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001204/0.6817, allocations: 96.03 kB / 477.5 MB, free: 5.703 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.08e-05/0.6817, allocations: 7.984 kB / 477.5 MB, free: 5.695 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007934/0.6825, allocations: 27.83 kB / 477.5 MB, free: 5.668 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.827e-05/0.6826, allocations: 19.98 kB / 477.5 MB, free: 5.648 MB / 362.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.0002814/0.6829, allocations: 133.8 kB / 477.7 MB, free: 5.508 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001632/0.6831, allocations: 23.81 kB / 477.7 MB, free: 5.484 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008253/0.684, allocations: 170.3 kB / 477.8 MB, free: 5.309 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.821e-05/0.684, allocations: 15.94 kB / 477.9 MB, free: 5.293 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.187e-06/0.684, allocations: 0 / 477.9 MB, free: 5.293 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.645e-05/0.6841, allocations: 7.984 kB / 477.9 MB, free: 5.285 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004047/0.6881, allocations: 0.7519 MB / 478.6 MB, free: 4.461 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.267e-06/0.6882, allocations: 0 / 478.6 MB, free: 4.461 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001265/0.6895, allocations: 76.92 kB / 478.7 MB, free: 4.387 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.223e-05/0.6895, allocations: 4 kB / 478.7 MB, free: 4.383 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.237e-05/0.6896, allocations: 19.98 kB / 478.7 MB, free: 4.363 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.171e-05/0.6896, allocations: 3.938 kB / 478.7 MB, free: 4.359 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.315e-06/0.6896, allocations: 4 kB / 478.7 MB, free: 4.355 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003901/0.6936, allocations: 0.7678 MB / 479.5 MB, free: 3.512 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003151/0.6939, allocations: 116.9 kB / 479.6 MB, free: 3.379 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001122/0.6941, allocations: 10.75 kB / 479.6 MB, free: 3.371 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009486/0.695, allocations: 28.36 kB / 479.6 MB, free: 3.344 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.819e-05/0.6952, allocations: 31.86 kB / 479.7 MB, free: 3.312 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.692e-05/0.6953, allocations: 19.98 kB / 479.7 MB, free: 3.293 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001309/0.6954, allocations: 95.2 kB / 479.8 MB, free: 3.199 MB / 362.7 MB Notification: Performance of sort global known variables: time 6.11e-07/0.6954, allocations: 0 / 479.8 MB, free: 3.199 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.001307/0.6968, allocations: 135.9 kB / 479.9 MB, free: 3.066 MB / 362.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.0009262/0.6977, allocations: 227.1 kB / 480.1 MB, free: 2.836 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.002222/0.6999, allocations: 338.4 kB / 480.5 MB, free: 2.508 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 5.37e-06/0.7, allocations: 0 / 480.5 MB, free: 2.508 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001074/0.7011, allocations: 185.3 kB / 480.7 MB, free: 2.328 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001469/0.7026, allocations: 91.84 kB / 480.7 MB, free: 2.238 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00328/0.7059, allocations: 0.7435 MB / 481.5 MB, free: 1.445 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005603/0.7065, allocations: 0.7452 MB / 482.2 MB, free: 0.6758 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003883/0.7069, allocations: 31.42 kB / 482.3 MB, free: 0.6445 MB / 362.7 MB Notification: Performance of SimCode: time 1.092e-06/0.7069, allocations: 3.938 kB / 482.3 MB, free: 0.6406 MB / 362.7 MB Notification: Performance of Templates: time 0.01593/0.7228, allocations: 4.439 MB / 486.7 MB, free: 12.2 MB / 378.7 MB