Running command: translateModel(Modelica.Media.Examples.IdealGasH2O,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.1_cpp_Modelica.Media.Examples.IdealGasH2O") Notification: Performance of loadModel(Modelica): time 1.06/1.06, allocations: 111.1 MB / 126.3 MB, free: 6.418 MB / 106.7 MB Notification: Performance of FrontEnd - loaded program: time 2.202e-05/2.197e-05, allocations: 0 / 154.5 MB, free: 2.852 MB / 122.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.05741/0.05745, allocations: 25.18 MB / 179.7 MB, free: 9.633 MB / 154.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.IdealGasH2O): time 0.6483/0.7059, allocations: 125.8 MB / 305.5 MB, free: 15.61 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.00316/0.7091, allocations: 2.146 MB / 307.6 MB, free: 15.58 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.208e-05/0.7092, allocations: 1.156 kB / 307.6 MB, free: 15.58 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001108/0.7093, allocations: 18.97 kB / 307.6 MB, free: 15.58 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001037/0.7104, allocations: 247.9 kB / 307.9 MB, free: 15.57 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002129/0.7106, allocations: 50.55 kB / 307.9 MB, free: 15.57 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 8.77e-05/0.7107, allocations: 38.05 kB / 307.9 MB, free: 15.56 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.248e-05/0.7107, allocations: 1.406 kB / 307.9 MB, free: 15.56 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001746/0.7109, allocations: 49.34 kB / 308 MB, free: 15.56 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.999e-05/0.711, allocations: 21.09 kB / 308 MB, free: 15.56 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001216/0.7122, allocations: 386.9 kB / 308.4 MB, free: 15.56 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 8.354e-05/0.7124, allocations: 18.25 kB / 308.4 MB, free: 15.56 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 1.583e-05/0.7124, allocations: 10.89 kB / 308.4 MB, free: 15.55 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 2.948e-05/0.7124, allocations: 6.844 kB / 308.4 MB, free: 15.55 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005219/0.713, allocations: 211.1 kB / 308.6 MB, free: 15.54 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.577e-06/0.713, allocations: 0 / 308.6 MB, free: 15.54 MB / 250.7 MB Notification: Performance of FrontEnd: time 2.084e-06/0.713, allocations: 0 / 308.6 MB, free: 15.54 MB / 250.7 MB Notification: Performance of Transformations before backend: time 9.618e-06/0.713, allocations: 0 / 308.6 MB, free: 15.54 MB / 250.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.00114/0.7142, allocations: 421 kB / 309 MB, free: 15.17 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.308e-05/0.7142, allocations: 9.312 kB / 309.1 MB, free: 15.17 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.217e-05/0.7143, allocations: 7.938 kB / 309.1 MB, free: 15.16 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001286/0.7144, allocations: 164 kB / 309.2 MB, free: 14.96 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.712e-05/0.7144, allocations: 9.125 kB / 309.2 MB, free: 14.96 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.986e-05/0.7145, allocations: 8 kB / 309.2 MB, free: 14.96 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003728/0.7149, allocations: 111 kB / 309.3 MB, free: 14.93 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.599e-05/0.7149, allocations: 5.047 kB / 309.4 MB, free: 14.93 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.71e-05/0.7149, allocations: 4.406 kB / 309.4 MB, free: 14.93 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.286e-06/0.7149, allocations: 9.031 kB / 309.4 MB, free: 14.92 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005122/0.7155, allocations: 147.6 kB / 309.5 MB, free: 14.92 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008425/0.7163, allocations: 373.2 kB / 309.9 MB, free: 14.65 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001371/0.7177, allocations: 154 kB / 310 MB, free: 14.62 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001462/0.7192, allocations: 1.011 MB / 311 MB, free: 13.59 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.857e-05/0.7192, allocations: 36.44 kB / 311.1 MB, free: 13.55 MB / 250.7 MB Notification: Performance of pre-optimization done (n=13): time 1.853e-06/0.7192, allocations: 2.406 kB / 311.1 MB, free: 13.55 MB / 250.7 MB Notification: Performance of matching and sorting (n=17): time 0.002315/0.7216, allocations: 316.2 kB / 311.4 MB, free: 13.49 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.364e-05/0.7216, allocations: 56.88 kB / 311.4 MB, free: 13.43 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.568e-05/0.7217, allocations: 100.9 kB / 311.5 MB, free: 13.34 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 3.074e-05/0.7218, allocations: 27.64 kB / 311.6 MB, free: 13.3 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.657e-05/0.7219, allocations: 171.1 kB / 311.7 MB, free: 13.14 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.94e-05/0.7219, allocations: 59.73 kB / 311.8 MB, free: 13.11 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.849e-05/0.722, allocations: 3.25 kB / 311.8 MB, free: 13.11 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0001629/0.7221, allocations: 318 kB / 312.1 MB, free: 12.79 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003415/0.7225, allocations: 51.91 kB / 312.2 MB, free: 12.79 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003712/0.7229, allocations: 95.06 kB / 312.2 MB, free: 12.75 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003546/0.7233, allocations: 59.89 kB / 312.3 MB, free: 12.75 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.723e-06/0.7233, allocations: 0 / 312.3 MB, free: 12.75 MB / 250.7 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0008573/0.7241, allocations: 198.4 kB / 312.5 MB, free: 12.71 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.884e-05/0.7242, allocations: 7.25 kB / 312.5 MB, free: 12.71 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.115e-06/0.7242, allocations: 7.656 kB / 312.5 MB, free: 12.7 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.759e-05/0.7242, allocations: 6.078 kB / 312.5 MB, free: 12.7 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004337/0.7247, allocations: 50.38 kB / 312.6 MB, free: 12.7 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.708e-06/0.7247, allocations: 3.594 kB / 312.6 MB, free: 12.7 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002645/0.725, allocations: 9.922 kB / 312.6 MB, free: 12.7 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.34e-05/0.725, allocations: 13.91 kB / 312.6 MB, free: 12.7 MB / 250.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.0001231/0.7251, allocations: 115 kB / 312.7 MB, free: 12.58 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.562e-05/0.7252, allocations: 13.83 kB / 312.7 MB, free: 12.58 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001096/0.7263, allocations: 211.7 kB / 312.9 MB, free: 12.53 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.342e-06/0.7263, allocations: 2.344 kB / 312.9 MB, free: 12.53 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.216e-05/0.7264, allocations: 4.703 kB / 312.9 MB, free: 12.53 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.418e-06/0.7264, allocations: 3.938 kB / 312.9 MB, free: 12.52 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001549/0.7279, allocations: 0.495 MB / 313.4 MB, free: 12.2 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.053e-06/0.7279, allocations: 3.984 kB / 313.4 MB, free: 12.2 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003744/0.7283, allocations: 45.52 kB / 313.5 MB, free: 12.2 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.483e-06/0.7284, allocations: 2.531 kB / 313.5 MB, free: 12.2 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.256e-05/0.7284, allocations: 5.672 kB / 313.5 MB, free: 12.2 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.917e-06/0.7284, allocations: 0 / 313.5 MB, free: 12.2 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.336e-06/0.7284, allocations: 5.531 kB / 313.5 MB, free: 12.2 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008521/0.7293, allocations: 300.4 kB / 313.8 MB, free: 12 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.832e-05/0.7294, allocations: 82.3 kB / 313.9 MB, free: 11.91 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.673e-05/0.7294, allocations: 4.688 kB / 313.9 MB, free: 11.91 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002769/0.7297, allocations: 18.11 kB / 313.9 MB, free: 11.9 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.306e-05/0.7297, allocations: 17.2 kB / 313.9 MB, free: 11.9 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.49e-05/0.7298, allocations: 7.75 kB / 313.9 MB, free: 11.9 MB / 250.7 MB Notification: Performance of sorting global known variables: time 5.149e-05/0.7298, allocations: 79.36 kB / 314 MB, free: 11.82 MB / 250.7 MB Notification: Performance of sort global known variables: time 3.4e-07/0.7298, allocations: 0 / 314 MB, free: 11.82 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0006551/0.7305, allocations: 79.48 kB / 314.1 MB, free: 11.81 MB / 250.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 (17): * Single equations (assignments): 17 * 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.0006595/0.7312, allocations: 220.5 kB / 314.3 MB, free: 11.69 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0008046/0.732, allocations: 143.8 kB / 314.4 MB, free: 11.69 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 2.846e-06/0.732, allocations: 0 / 314.4 MB, free: 11.69 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003714/0.7324, allocations: 73.03 kB / 314.5 MB, free: 11.69 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004665/0.7329, allocations: 41.7 kB / 314.5 MB, free: 11.68 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009931/0.7339, allocations: 314.3 kB / 314.8 MB, free: 11.47 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003407/0.7342, allocations: 0.6934 MB / 315.5 MB, free: 10.77 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001515/0.7344, allocations: 24.77 kB / 315.6 MB, free: 10.77 MB / 250.7 MB Notification: Performance of SimCode: time 8.92e-07/0.7344, allocations: 0 / 315.6 MB, free: 10.77 MB / 250.7 MB Notification: Performance of Templates: time 0.007644/0.7421, allocations: 3.092 MB / 318.7 MB, free: 9.91 MB / 250.7 MB