Running command: translateModel(Modelica.Media.Examples.SimpleLiquidWater,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|medium.T",fileNamePrefix="Modelica_3.2.2_cpp_Modelica.Media.Examples.SimpleLiquidWater") Notification: Performance of loadModel(Modelica): time 2.04/2.04, allocations: 194.9 MB / 211.2 MB, free: 8.16 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.887e-05/2.881e-05, allocations: 4 kB / 258.8 MB, free: 8.527 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3085/0.3086, allocations: 44.51 MB / 303.3 MB, free: 12.75 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SimpleLiquidWater): time 0.006475/0.3151, allocations: 3.576 MB / 306.9 MB, free: 9.801 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.002966/0.3181, allocations: 1.492 MB / 308.4 MB, free: 8.582 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000175/0.3183, allocations: 0 / 308.4 MB, free: 8.582 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002764/0.3186, allocations: 39.8 kB / 308.4 MB, free: 8.543 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004021/0.3191, allocations: 91.66 kB / 308.5 MB, free: 8.453 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009679/0.32, allocations: 207.5 kB / 308.7 MB, free: 8.25 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003877/0.3204, allocations: 133.5 kB / 308.8 MB, free: 8.121 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.474e-05/0.3205, allocations: 4 kB / 308.8 MB, free: 8.117 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00033/0.3209, allocations: 103.7 kB / 308.9 MB, free: 8.016 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001549/0.321, allocations: 55.84 kB / 309 MB, free: 7.961 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004209/0.3215, allocations: 91.94 kB / 309.1 MB, free: 7.871 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 4.77e-05/0.3215, allocations: 8 kB / 309.1 MB, free: 7.863 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 8.916e-05/0.3216, allocations: 35.91 kB / 309.1 MB, free: 7.828 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 7.559e-05/0.3217, allocations: 16 kB / 309.1 MB, free: 7.812 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003968/0.3221, allocations: 153.5 kB / 309.3 MB, free: 7.664 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.497e-06/0.3221, allocations: 0 / 309.3 MB, free: 7.664 MB / 250.7 MB Notification: Performance of FrontEnd: time 2.285e-06/0.3222, allocations: 0 / 309.3 MB, free: 7.664 MB / 250.7 MB Notification: Performance of Transformations before backend: time 1.31e-05/0.3222, allocations: 0 / 309.3 MB, free: 7.664 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: 34 * Number of variables: 34 Notification: Performance of Generate backend data structure: time 0.001336/0.3235, allocations: 447.3 kB / 309.7 MB, free: 7.18 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.904e-05/0.3236, allocations: 8.031 kB / 309.7 MB, free: 7.172 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002916/0.3239, allocations: 27.77 kB / 309.7 MB, free: 7.145 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003273/0.3242, allocations: 198.9 kB / 309.9 MB, free: 6.91 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.447e-05/0.3243, allocations: 12.27 kB / 309.9 MB, free: 6.898 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.31e-05/0.3243, allocations: 16 kB / 310 MB, free: 6.883 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006721/0.325, allocations: 216.6 kB / 310.2 MB, free: 6.648 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.203e-05/0.3251, allocations: 3.906 kB / 310.2 MB, free: 6.645 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.464e-05/0.3251, allocations: 12 kB / 310.2 MB, free: 6.633 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.542e-05/0.3251, allocations: 4 kB / 310.2 MB, free: 6.629 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006075/0.3258, allocations: 143.8 kB / 310.3 MB, free: 6.488 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002081/0.3279, allocations: 0.9556 MB / 311.3 MB, free: 5.457 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006669/0.3286, allocations: 146.7 kB / 311.4 MB, free: 5.305 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0008333/0.3294, allocations: 0.5112 MB / 311.9 MB, free: 4.73 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.124e-05/0.3295, allocations: 34.56 kB / 312 MB, free: 4.688 MB / 250.7 MB Notification: Performance of pre-optimization done (n=14): time 3.176e-06/0.3295, allocations: 0 / 312 MB, free: 4.688 MB / 250.7 MB Notification: Performance of matching and sorting (n=20): time 0.004381/0.3339, allocations: 0.7595 MB / 312.7 MB, free: 3.875 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.887e-05/0.334, allocations: 55.41 kB / 312.8 MB, free: 3.809 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001949/0.3342, allocations: 145.2 kB / 312.9 MB, free: 3.664 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 5.083e-05/0.3343, allocations: 37.69 kB / 313 MB, free: 3.621 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001431/0.3344, allocations: 210.2 kB / 313.2 MB, free: 3.41 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.705e-05/0.3345, allocations: 71 kB / 313.2 MB, free: 3.34 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.445e-05/0.3346, allocations: 4 kB / 313.2 MB, free: 3.336 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0001589/0.3348, allocations: 326.8 kB / 313.6 MB, free: 3.008 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004415/0.3352, allocations: 75.94 kB / 313.6 MB, free: 2.934 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005425/0.3358, allocations: 189.9 kB / 313.8 MB, free: 2.699 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004962/0.3363, allocations: 108.8 kB / 313.9 MB, free: 2.594 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.977e-06/0.3363, allocations: 0 / 313.9 MB, free: 2.594 MB / 250.7 MB Notification: Performance of matching and sorting (n=37) (initialization): time 0.001231/0.3375, allocations: 321.7 kB / 314.2 MB, free: 2.277 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.876e-05/0.3376, allocations: 8 kB / 314.3 MB, free: 2.27 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.35e-05/0.3376, allocations: 4 kB / 314.3 MB, free: 2.266 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.873e-05/0.3377, allocations: 4 kB / 314.3 MB, free: 2.262 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006952/0.3384, allocations: 84.3 kB / 314.3 MB, free: 2.18 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.866e-05/0.3384, allocations: 7.984 kB / 314.4 MB, free: 2.172 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004049/0.3388, allocations: 12 kB / 314.4 MB, free: 2.16 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.962e-05/0.3389, allocations: 19.98 kB / 314.4 MB, free: 2.141 MB / 250.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (37): * Single equations (assignments): 37 * 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.0001956/0.3391, allocations: 137.7 kB / 314.5 MB, free: 1.996 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.385e-05/0.3392, allocations: 19.77 kB / 314.5 MB, free: 1.977 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001184/0.3404, allocations: 234.7 kB / 314.8 MB, free: 1.742 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.068e-05/0.3404, allocations: 11.89 kB / 314.8 MB, free: 1.73 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.352e-06/0.3404, allocations: 0 / 314.8 MB, free: 1.73 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.791e-06/0.3404, allocations: 0 / 314.8 MB, free: 1.73 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00215/0.3426, allocations: 0.5959 MB / 315.4 MB, free: 1.066 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.756e-06/0.3426, allocations: 7.922 kB / 315.4 MB, free: 1.059 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000537/0.3432, allocations: 48.09 kB / 315.4 MB, free: 1.012 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.6e-05/0.3432, allocations: 4 kB / 315.4 MB, free: 1.008 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.547e-05/0.3433, allocations: 11.98 kB / 315.4 MB, free: 0.9961 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.641e-06/0.3433, allocations: 0 / 315.4 MB, free: 0.9961 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.909e-06/0.3433, allocations: 4 kB / 315.5 MB, free: 0.9922 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001512/0.3448, allocations: 453.9 kB / 315.9 MB, free: 0.5 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.612e-05/0.345, allocations: 100.9 kB / 316 MB, free: 392 kB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.038e-05/0.345, allocations: 4 kB / 316 MB, free: 388 kB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004109/0.3454, allocations: 15.98 kB / 316 MB, free: 372 kB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.347e-05/0.3455, allocations: 7.984 kB / 316 MB, free: 364 kB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.532e-05/0.3455, allocations: 19.97 kB / 316 MB, free: 344 kB / 250.7 MB Notification: Performance of sorting global known variables: time 0.0001244/0.3457, allocations: 111.3 kB / 316.1 MB, free: 232 kB / 250.7 MB Notification: Performance of sort global known variables: time 3.91e-07/0.3457, allocations: 0 / 316.1 MB, free: 232 kB / 250.7 MB Notification: Performance of remove unused functions: time 0.0005343/0.3462, allocations: 64 kB / 316.2 MB, free: 168 kB / 250.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 1 (medium.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (20): * Single equations (assignments): 20 * 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.0002674/0.3465, allocations: 131.1 kB / 316.3 MB, free: 28 kB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.001075/0.3476, allocations: 207.7 kB / 316.5 MB, free: 15.82 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 5.33e-06/0.3476, allocations: 4 kB / 316.5 MB, free: 15.82 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004526/0.3481, allocations: 93.02 kB / 316.6 MB, free: 15.73 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005107/0.3486, allocations: 35.92 kB / 316.7 MB, free: 15.7 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001692/0.3503, allocations: 0.5781 MB / 317.2 MB, free: 15.07 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003711/0.3508, allocations: 0.7207 MB / 318 MB, free: 14.33 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001975/0.351, allocations: 27.42 kB / 318 MB, free: 14.3 MB / 266.7 MB Notification: Performance of SimCode: time 1.553e-06/0.351, allocations: 0 / 318 MB, free: 14.3 MB / 266.7 MB Notification: Performance of Templates: time 0.007495/0.3585, allocations: 2.575 MB / 320.6 MB, free: 11.72 MB / 266.7 MB