Running command: translateModel(Modelica.Media.Examples.IdealGasH2O,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|smoothState.p|der_p|der_T",fileNamePrefix="Modelica_3.2.2_cpp_Modelica.Media.Examples.IdealGasH2O") Notification: Performance of loadModel(Modelica): time 2.003/2.003, allocations: 194.9 MB / 211.2 MB, free: 8.348 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 3.084e-05/3.083e-05, allocations: 4 kB / 258.8 MB, free: 8.719 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3076/0.3077, allocations: 44.51 MB / 303.3 MB, free: 12.77 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.IdealGasH2O): time 0.2053/0.513, allocations: 121.2 MB / 424.5 MB, free: 4.152 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.003638/0.5167, allocations: 2.064 MB / 426.6 MB, free: 2.09 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.042e-05/0.5168, allocations: 4 kB / 426.6 MB, free: 2.086 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001201/0.517, allocations: 19.89 kB / 426.6 MB, free: 2.066 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0009341/0.5179, allocations: 231.2 kB / 426.8 MB, free: 1.84 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001994/0.5181, allocations: 47.84 kB / 426.9 MB, free: 1.793 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 9.049e-05/0.5182, allocations: 35.95 kB / 426.9 MB, free: 1.758 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.057e-05/0.5183, allocations: 3.984 kB / 426.9 MB, free: 1.754 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001801/0.5185, allocations: 43.84 kB / 427 MB, free: 1.711 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.512e-05/0.5186, allocations: 27.91 kB / 427 MB, free: 1.684 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001214/0.5198, allocations: 387.5 kB / 427.4 MB, free: 1.305 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 8.468e-05/0.5199, allocations: 19.94 kB / 427.4 MB, free: 1.285 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 1.796e-05/0.52, allocations: 8 kB / 427.4 MB, free: 1.277 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 2.95e-05/0.52, allocations: 8 kB / 427.4 MB, free: 1.27 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005568/0.5206, allocations: 205.4 kB / 427.6 MB, free: 1.07 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.896e-06/0.5206, allocations: 0 / 427.6 MB, free: 1.07 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.963e-06/0.5206, allocations: 0 / 427.6 MB, free: 1.07 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.032e-05/0.5206, allocations: 4 kB / 427.6 MB, free: 1.066 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: 17 * Number of variables: 17 Notification: Performance of Generate backend data structure: time 0.001107/0.5217, allocations: 415.2 kB / 428 MB, free: 0.6133 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.694e-05/0.5218, allocations: 8.031 kB / 428 MB, free: 0.6055 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01096/0.5328, allocations: 463.2 kB / 428.5 MB, free: 156 kB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.2474/0.7802, allocations: 162.9 kB / 428.6 MB, free: 123.4 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.6e-05/0.7803, allocations: 4.812 kB / 428.6 MB, free: 123.4 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001527/0.7804, allocations: 6.906 kB / 428.6 MB, free: 123.4 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001366/0.7818, allocations: 296.3 kB / 428.9 MB, free: 123.4 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.037e-05/0.7819, allocations: 0 / 428.9 MB, free: 123.4 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.094e-05/0.7819, allocations: 6.375 kB / 428.9 MB, free: 123.4 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.335e-06/0.782, allocations: 1.5 kB / 428.9 MB, free: 123.4 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001579/0.7836, allocations: 271.5 kB / 429.2 MB, free: 123.4 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001475/0.7851, allocations: 425.2 kB / 429.6 MB, free: 123.1 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001758/0.7868, allocations: 202.8 kB / 429.8 MB, free: 123 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.576e-05/0.7869, allocations: 5.719 kB / 429.8 MB, free: 123 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.08e-05/0.787, allocations: 35.66 kB / 429.9 MB, free: 123 MB / 362.7 MB Notification: Performance of pre-optimization done (n=13): time 2.554e-06/0.787, allocations: 0.5625 kB / 429.9 MB, free: 123 MB / 362.7 MB Notification: Performance of matching and sorting (n=17): time 0.002989/0.79, allocations: 423.6 kB / 430.3 MB, free: 122.8 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.607e-05/0.7901, allocations: 60.11 kB / 430.3 MB, free: 122.8 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.929e-05/0.7902, allocations: 90.25 kB / 430.4 MB, free: 122.7 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 3.457e-05/0.7902, allocations: 30.33 kB / 430.4 MB, free: 122.6 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.742e-05/0.7903, allocations: 163.1 kB / 430.6 MB, free: 122.5 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.88e-05/0.7904, allocations: 62.77 kB / 430.7 MB, free: 122.4 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.951e-05/0.7904, allocations: 5.094 kB / 430.7 MB, free: 122.4 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 6.469e-05/0.7905, allocations: 322.4 kB / 431 MB, free: 122.1 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000506/0.791, allocations: 78.17 kB / 431.1 MB, free: 122.1 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004974/0.7915, allocations: 120.4 kB / 431.2 MB, free: 122 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005099/0.792, allocations: 81.03 kB / 431.3 MB, free: 122 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.256e-06/0.792, allocations: 0.5 kB / 431.3 MB, free: 122 MB / 362.7 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.001139/0.7932, allocations: 246.4 kB / 431.5 MB, free: 121.9 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.276e-05/0.7932, allocations: 5.656 kB / 431.5 MB, free: 121.9 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.01e-05/0.7932, allocations: 5.141 kB / 431.5 MB, free: 121.8 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.723e-05/0.7933, allocations: 7.141 kB / 431.5 MB, free: 121.8 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006652/0.794, allocations: 46.84 kB / 431.6 MB, free: 121.8 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.131e-05/0.794, allocations: 6.234 kB / 431.6 MB, free: 121.8 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004471/0.7944, allocations: 19.17 kB / 431.6 MB, free: 121.8 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.713e-05/0.7945, allocations: 11.28 kB / 431.6 MB, free: 121.8 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (21): * Single equations (assignments): 21 * 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.0001289/0.7947, allocations: 121.8 kB / 431.7 MB, free: 121.7 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.934e-05/0.7947, allocations: 4.031 kB / 431.7 MB, free: 121.7 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001359/0.7961, allocations: 277.7 kB / 432 MB, free: 121.5 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.113e-06/0.7961, allocations: 5.516 kB / 432 MB, free: 121.5 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.993e-06/0.7961, allocations: 3.469 kB / 432 MB, free: 121.5 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.132e-06/0.7961, allocations: 0 / 432 MB, free: 121.5 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00187/0.798, allocations: 0.5855 MB / 432.6 MB, free: 121 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.738e-06/0.7981, allocations: 6.062 kB / 432.6 MB, free: 121 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006129/0.7987, allocations: 43.83 kB / 432.6 MB, free: 121 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.135e-06/0.7987, allocations: 1.281 kB / 432.6 MB, free: 121 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.565e-05/0.7988, allocations: 8.875 kB / 432.6 MB, free: 121 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.673e-06/0.7988, allocations: 5.516 kB / 432.6 MB, free: 121 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.308e-06/0.7988, allocations: 1.281 kB / 432.6 MB, free: 121 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001104/0.7999, allocations: 358.8 kB / 433 MB, free: 120.7 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.718e-05/0.7999, allocations: 84.05 kB / 433.1 MB, free: 120.6 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.92e-05/0.8, allocations: 10.19 kB / 433.1 MB, free: 120.6 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004587/0.8005, allocations: 10.92 kB / 433.1 MB, free: 120.6 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.43e-05/0.8005, allocations: 17.91 kB / 433.1 MB, free: 120.6 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.384e-05/0.8006, allocations: 12.05 kB / 433.1 MB, free: 120.6 MB / 362.7 MB Notification: Performance of sorting global known variables: time 3.746e-05/0.8006, allocations: 78.69 kB / 433.2 MB, free: 120.5 MB / 362.7 MB Notification: Performance of sort global known variables: time 3.31e-07/0.8007, allocations: 3.938 kB / 433.2 MB, free: 120.5 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0004521/0.8011, allocations: 44.34 kB / 433.3 MB, free: 120.5 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (18): * Single equations (assignments): 18 * 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.0002659/0.8014, allocations: 128.7 kB / 433.4 MB, free: 120.4 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.001073/0.8025, allocations: 193.4 kB / 433.6 MB, free: 120.3 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.376e-06/0.8025, allocations: 0 / 433.6 MB, free: 120.3 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005309/0.803, allocations: 103.7 kB / 433.7 MB, free: 120.3 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004937/0.8035, allocations: 32.78 kB / 433.7 MB, free: 120.3 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001193/0.8048, allocations: 340.3 kB / 434 MB, free: 120 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001551/0.8049, allocations: 0.6937 MB / 434.7 MB, free: 119.3 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000314/0.8053, allocations: 40.88 kB / 434.8 MB, free: 119.2 MB / 362.7 MB Notification: Performance of SimCode: time 1.793e-06/0.8053, allocations: 0.875 kB / 434.8 MB, free: 119.2 MB / 362.7 MB Notification: Performance of Templates: time 0.005678/0.811, allocations: 2.327 MB / 437.1 MB, free: 117.3 MB / 362.7 MB