Running command: translateModel(Modelica.Media.Examples.IdealGasH2O,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|smoothState.p|der_p|der_T",fileNamePrefix="Modelica_trunk_cpp_Modelica.Media.Examples.IdealGasH2O") Notification: Performance of loadModel(Modelica): time 2.149/2.149, allocations: 224.7 MB / 241.1 MB, free: 1.68 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 2.605e-05/2.604e-05, allocations: 4 kB / 294.5 MB, free: 11.42 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1256/0.1257, allocations: 50.41 MB / 345 MB, free: 8.961 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.IdealGasH2O): time 0.5361/0.6618, allocations: 121.2 MB / 466.2 MB, free: 0.8398 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.003454/0.6653, allocations: 2.061 MB / 468.3 MB, free: 15.21 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.967e-05/0.6655, allocations: 2.562 kB / 468.3 MB, free: 15.21 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001261/0.6656, allocations: 19.88 kB / 468.3 MB, free: 15.19 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000948/0.6666, allocations: 240 kB / 468.5 MB, free: 14.97 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002055/0.6668, allocations: 43.39 kB / 468.6 MB, free: 14.94 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 8.671e-05/0.6669, allocations: 36.09 kB / 468.6 MB, free: 14.92 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.986e-05/0.667, allocations: 0 / 468.6 MB, free: 14.92 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001849/0.6671, allocations: 51.8 kB / 468.7 MB, free: 14.89 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.333e-05/0.6673, allocations: 33.06 kB / 468.7 MB, free: 14.87 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001195/0.6685, allocations: 368.8 kB / 469 MB, free: 14.63 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 7.861e-05/0.6686, allocations: 23.94 kB / 469.1 MB, free: 14.61 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 2.11e-05/0.6686, allocations: 11.92 kB / 469.1 MB, free: 14.6 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 2.753e-05/0.6686, allocations: 8 kB / 469.1 MB, free: 14.59 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005594/0.6692, allocations: 208 kB / 469.3 MB, free: 14.39 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.117e-06/0.6692, allocations: 0 / 469.3 MB, free: 14.39 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.194e-06/0.6692, allocations: 0 / 469.3 MB, free: 14.39 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.06e-05/0.6693, allocations: 0 / 469.3 MB, free: 14.39 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.001176/0.6704, allocations: 419.2 kB / 469.7 MB, free: 13.93 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.074e-05/0.6705, allocations: 12.03 kB / 469.7 MB, free: 13.92 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0111/0.6816, allocations: 451.8 kB / 470.2 MB, free: 13.48 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001554/0.6818, allocations: 167 kB / 470.3 MB, free: 13.28 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.532e-05/0.6819, allocations: 7.938 kB / 470.3 MB, free: 13.27 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001339/0.682, allocations: 11.91 kB / 470.3 MB, free: 13.26 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001318/0.6833, allocations: 297.3 kB / 470.6 MB, free: 12.96 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.494e-05/0.6834, allocations: 0 / 470.6 MB, free: 12.96 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.087e-05/0.6834, allocations: 3.953 kB / 470.6 MB, free: 12.96 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.476e-06/0.6835, allocations: 4 kB / 470.6 MB, free: 12.95 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001486/0.685, allocations: 275.8 kB / 470.9 MB, free: 12.68 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001543/0.6865, allocations: 432.7 kB / 471.3 MB, free: 12.21 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001775/0.6883, allocations: 202.4 kB / 471.5 MB, free: 12 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.102e-05/0.6884, allocations: 3.984 kB / 471.5 MB, free: 12 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.189e-05/0.6884, allocations: 39.25 kB / 471.6 MB, free: 11.95 MB / 362.7 MB Notification: Performance of pre-optimization done (n=13): time 2.725e-06/0.6885, allocations: 0 / 471.6 MB, free: 11.95 MB / 362.7 MB Notification: Performance of matching and sorting (n=17): time 0.003001/0.6915, allocations: 412.2 kB / 472 MB, free: 11.54 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.515e-05/0.6916, allocations: 59.36 kB / 472 MB, free: 11.47 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.541e-05/0.6917, allocations: 96.98 kB / 472.1 MB, free: 11.37 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 6.163e-05/0.6917, allocations: 25.7 kB / 472.1 MB, free: 11.34 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001106/0.6919, allocations: 162.4 kB / 472.3 MB, free: 11.18 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.24e-05/0.692, allocations: 71.08 kB / 472.4 MB, free: 11.11 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.738e-05/0.692, allocations: 0 / 472.4 MB, free: 11.11 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001425/0.6922, allocations: 318.8 kB / 472.7 MB, free: 10.79 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004834/0.6927, allocations: 80.31 kB / 472.8 MB, free: 10.71 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005189/0.6932, allocations: 120.9 kB / 472.9 MB, free: 10.58 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005069/0.6937, allocations: 75.97 kB / 473 MB, free: 10.5 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.665e-06/0.6937, allocations: 0 / 473 MB, free: 10.5 MB / 362.7 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.001202/0.6949, allocations: 241.4 kB / 473.2 MB, free: 10.26 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.377e-05/0.695, allocations: 8 kB / 473.2 MB, free: 10.25 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.075e-06/0.695, allocations: 0 / 473.2 MB, free: 10.25 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.283e-05/0.695, allocations: 4 kB / 473.2 MB, free: 10.25 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007254/0.6958, allocations: 56.08 kB / 473.3 MB, free: 10.2 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.327e-06/0.6958, allocations: 0 / 473.3 MB, free: 10.2 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004593/0.6963, allocations: 18.25 kB / 473.3 MB, free: 10.18 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.076e-05/0.6963, allocations: 20.11 kB / 473.3 MB, free: 10.16 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.0001575/0.6965, allocations: 121.7 kB / 473.4 MB, free: 10.03 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.093e-05/0.6966, allocations: 7.906 kB / 473.4 MB, free: 10.02 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001472/0.698, allocations: 288.4 kB / 473.7 MB, free: 9.742 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.189e-06/0.6981, allocations: 4 kB / 473.7 MB, free: 9.738 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.851e-06/0.6981, allocations: 0 / 473.7 MB, free: 9.738 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.006e-05/0.6981, allocations: 0 / 473.7 MB, free: 9.738 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002096/0.7002, allocations: 0.5823 MB / 474.3 MB, free: 9.094 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.778e-06/0.7003, allocations: 0 / 474.3 MB, free: 9.094 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006411/0.7009, allocations: 55.84 kB / 474.3 MB, free: 9.039 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.735e-06/0.7009, allocations: 0 / 474.3 MB, free: 9.039 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.727e-05/0.701, allocations: 4 kB / 474.3 MB, free: 9.035 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.97e-06/0.701, allocations: 0 / 474.3 MB, free: 9.035 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.364e-06/0.701, allocations: 4 kB / 474.4 MB, free: 9.031 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001197/0.7022, allocations: 361.2 kB / 474.7 MB, free: 8.645 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.502e-05/0.7023, allocations: 85.02 kB / 474.8 MB, free: 8.543 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.945e-05/0.7024, allocations: 4 kB / 474.8 MB, free: 8.539 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004683/0.7028, allocations: 15.98 kB / 474.8 MB, free: 8.523 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.216e-05/0.7029, allocations: 15.92 kB / 474.8 MB, free: 8.508 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.66e-05/0.703, allocations: 11.98 kB / 474.8 MB, free: 8.496 MB / 362.7 MB Notification: Performance of sorting global known variables: time 6.316e-05/0.703, allocations: 87.27 kB / 474.9 MB, free: 8.41 MB / 362.7 MB Notification: Performance of sort global known variables: time 3.71e-07/0.703, allocations: 0 / 474.9 MB, free: 8.41 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0004591/0.7035, allocations: 44 kB / 475 MB, free: 8.367 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.0003197/0.7038, allocations: 127.2 kB / 475.1 MB, free: 8.23 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.001097/0.705, allocations: 191.8 kB / 475.3 MB, free: 8.043 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.317e-06/0.705, allocations: 0 / 475.3 MB, free: 8.043 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005299/0.7055, allocations: 104.2 kB / 475.4 MB, free: 7.941 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005014/0.706, allocations: 39.92 kB / 475.4 MB, free: 7.902 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001298/0.7073, allocations: 340.8 kB / 475.7 MB, free: 7.535 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003349/0.7077, allocations: 0.6974 MB / 476.4 MB, free: 6.812 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003509/0.7081, allocations: 31.41 kB / 476.5 MB, free: 6.781 MB / 362.7 MB Notification: Performance of SimCode: time 9.22e-07/0.7081, allocations: 0 / 476.5 MB, free: 6.781 MB / 362.7 MB Notification: Performance of Templates: time 0.006471/0.7146, allocations: 2.335 MB / 478.8 MB, free: 4.465 MB / 362.7 MB