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 1.878/1.878, allocations: 195 MB / 203.2 MB, free: 13.79 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.354e-05/2.38e-05, allocations: 4 kB / 249.6 MB, free: 15.3 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2556/0.2557, allocations: 44.5 MB / 294.1 MB, free: 14.33 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.127/1.383, allocations: 437.3 MB / 0.7143 GB, free: 107 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001948/1.383, allocations: 65.38 kB / 0.7144 GB, free: 107 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.07809/1.461, allocations: 24.31 MB / 0.7381 GB, free: 103.9 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.131e-06/1.461, allocations: 0 / 0.7381 GB, free: 103.9 MB / 394.7 MB Notification: Performance of Transformations before backend: time 8.564e-06/1.461, allocations: 3.75 kB / 0.7381 GB, free: 103.9 MB / 394.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.0008368/1.462, allocations: 433 kB / 0.7385 GB, free: 103.5 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.084e-05/1.462, allocations: 11.38 kB / 0.7385 GB, free: 103.5 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006806/1.469, allocations: 454.4 kB / 0.739 GB, free: 103.5 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.382e-05/1.469, allocations: 170.8 kB / 0.7391 GB, free: 103.3 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.316e-05/1.469, allocations: 3.875 kB / 0.7391 GB, free: 103.3 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001101/1.469, allocations: 3.875 kB / 0.7391 GB, free: 103.3 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0005944/1.47, allocations: 223.1 kB / 0.7393 GB, free: 103.3 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002317/1.47, allocations: 122.7 kB / 0.7395 GB, free: 103.3 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.539e-05/1.47, allocations: 7.891 kB / 0.7395 GB, free: 103.3 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.555e-05/1.47, allocations: 0 / 0.7395 GB, free: 103.3 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.478e-06/1.47, allocations: 0 / 0.7395 GB, free: 103.3 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001049/1.471, allocations: 398.1 kB / 0.7398 GB, free: 103 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008752/1.472, allocations: 182.3 kB / 0.74 GB, free: 103 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001226/1.472, allocations: 56.89 kB / 0.7401 GB, free: 103 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.768e-05/1.472, allocations: 3.875 kB / 0.7401 GB, free: 103 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.759e-05/1.472, allocations: 34.81 kB / 0.7401 GB, free: 102.9 MB / 394.7 MB Notification: Performance of pre-optimization done (n=13): time 3.283e-06/1.472, allocations: 0 / 0.7401 GB, free: 102.9 MB / 394.7 MB Notification: Performance of matching and sorting (n=17): time 0.001272/1.473, allocations: 290.4 kB / 0.7404 GB, free: 102.9 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.136e-05/1.473, allocations: 59.25 kB / 0.7404 GB, free: 102.8 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.121e-05/1.474, allocations: 92.86 kB / 0.7405 GB, free: 102.7 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.716e-05/1.474, allocations: 25.7 kB / 0.7406 GB, free: 102.7 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.065e-05/1.474, allocations: 166.3 kB / 0.7407 GB, free: 102.5 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.005e-05/1.474, allocations: 58.03 kB / 0.7408 GB, free: 102.5 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.15e-05/1.474, allocations: 0 / 0.7408 GB, free: 102.5 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 5.395e-05/1.474, allocations: 322.5 kB / 0.7411 GB, free: 102.2 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001291/1.474, allocations: 57.56 kB / 0.7411 GB, free: 102.2 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001468/1.474, allocations: 96.72 kB / 0.7412 GB, free: 102.1 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001443/1.474, allocations: 64.09 kB / 0.7413 GB, free: 102.1 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.426e-06/1.474, allocations: 0 / 0.7413 GB, free: 102.1 MB / 394.7 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0004323/1.475, allocations: 193.4 kB / 0.7415 GB, free: 102.1 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.898e-05/1.475, allocations: 7.875 kB / 0.7415 GB, free: 102.1 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.545e-06/1.475, allocations: 3.938 kB / 0.7415 GB, free: 102.1 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.871e-05/1.475, allocations: 11.88 kB / 0.7415 GB, free: 102.1 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004732/1.475, allocations: 56.05 kB / 0.7415 GB, free: 102.1 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.149e-05/1.475, allocations: 0 / 0.7415 GB, free: 102.1 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002877/1.476, allocations: 11.56 kB / 0.7416 GB, free: 102.1 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.756e-05/1.476, allocations: 14.92 kB / 0.7416 GB, free: 102.1 MB / 394.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 9.349e-05/1.476, allocations: 116.5 kB / 0.7417 GB, free: 101.9 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.243e-05/1.476, allocations: 7.719 kB / 0.7417 GB, free: 101.9 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006392/1.477, allocations: 216.4 kB / 0.7419 GB, free: 101.9 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.538e-06/1.477, allocations: 3.875 kB / 0.7419 GB, free: 101.9 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.293e-05/1.477, allocations: 0 / 0.7419 GB, free: 101.9 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.278e-06/1.477, allocations: 0 / 0.7419 GB, free: 101.9 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009972/1.478, allocations: 0.494 MB / 0.7424 GB, free: 101.6 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.829e-06/1.478, allocations: 0 / 0.7424 GB, free: 101.6 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004066/1.478, allocations: 46.45 kB / 0.7424 GB, free: 101.6 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.835e-06/1.478, allocations: 3.469 kB / 0.7424 GB, free: 101.6 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.953e-05/1.478, allocations: 3.625 kB / 0.7424 GB, free: 101.6 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.899e-06/1.478, allocations: 8.016 kB / 0.7424 GB, free: 101.6 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.228e-06/1.478, allocations: 4 kB / 0.7424 GB, free: 101.6 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004054/1.479, allocations: 307.7 kB / 0.7427 GB, free: 101.4 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.121e-05/1.479, allocations: 84.97 kB / 0.7428 GB, free: 101.3 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.072e-05/1.479, allocations: 11.91 kB / 0.7428 GB, free: 101.3 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003085/1.479, allocations: 7.375 kB / 0.7428 GB, free: 101.3 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.669e-05/1.479, allocations: 11.72 kB / 0.7428 GB, free: 101.3 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.724e-05/1.479, allocations: 14.83 kB / 0.7429 GB, free: 101.3 MB / 394.7 MB Notification: Performance of sorting global known variables: time 3.299e-05/1.479, allocations: 83.08 kB / 0.7429 GB, free: 101.2 MB / 394.7 MB Notification: Performance of sort global known variables: time 7.65e-07/1.479, allocations: 0 / 0.7429 GB, free: 101.2 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.000544/1.48, allocations: 64.53 kB / 0.743 GB, free: 101.2 MB / 394.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.0007801/1.48, allocations: 0.5966 MB / 0.7436 GB, free: 100.9 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.000409/1.481, allocations: 148.9 kB / 0.7437 GB, free: 100.9 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 4.126e-06/1.481, allocations: 256 / 0.7437 GB, free: 100.9 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001688/1.481, allocations: 83.03 kB / 0.7438 GB, free: 100.9 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000444/1.482, allocations: 33.2 kB / 0.7438 GB, free: 100.9 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006489/1.482, allocations: 192.1 kB / 0.744 GB, free: 100.8 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001378/1.482, allocations: 0.6964 MB / 0.7447 GB, free: 100.1 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002514/1.483, allocations: 42.72 kB / 0.7447 GB, free: 100.1 MB / 394.7 MB Notification: Performance of SimCode: time 1.876e-06/1.483, allocations: 0 / 0.7447 GB, free: 100.1 MB / 394.7 MB Notification: Performance of Templates: time 0.00811/1.491, allocations: 4.751 MB / 0.7494 GB, free: 97.95 MB / 394.7 MB