Running command: translateModel(Modelica.Media.Examples.SimpleLiquidWater,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|medium.T",fileNamePrefix="Modelica_3.2.2_Modelica.Media.Examples.SimpleLiquidWater") Notification: Performance of loadModel(Modelica): time 1.821/1.821, allocations: 194.9 MB / 210.6 MB, free: 9.32 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.764e-05/2.77e-05, allocations: 4 kB / 258.8 MB, free: 9.039 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2911/0.2912, allocations: 44.5 MB / 303.3 MB, free: 12.88 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SimpleLiquidWater): time 0.007679/0.2989, allocations: 3.58 MB / 306.9 MB, free: 9.926 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.00262/0.3016, allocations: 1.487 MB / 308.4 MB, free: 8.68 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.038e-05/0.3017, allocations: 0 / 308.4 MB, free: 8.68 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002302/0.302, allocations: 35.8 kB / 308.4 MB, free: 8.645 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003386/0.3023, allocations: 91.66 kB / 308.5 MB, free: 8.555 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001024/0.3034, allocations: 211.4 kB / 308.7 MB, free: 8.348 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003324/0.3037, allocations: 131.7 kB / 308.8 MB, free: 8.219 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.363e-05/0.3038, allocations: 4 kB / 308.8 MB, free: 8.215 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003045/0.3041, allocations: 107.7 kB / 308.9 MB, free: 8.109 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001525/0.3042, allocations: 59.83 kB / 309 MB, free: 8.051 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003821/0.3046, allocations: 87.95 kB / 309.1 MB, free: 7.965 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 4.692e-05/0.3047, allocations: 8 kB / 309.1 MB, free: 7.957 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 8.193e-05/0.3048, allocations: 31.91 kB / 309.1 MB, free: 7.926 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 7.218e-05/0.3049, allocations: 20 kB / 309.1 MB, free: 7.906 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003417/0.3052, allocations: 150 kB / 309.3 MB, free: 7.762 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.976e-06/0.3053, allocations: 0 / 309.3 MB, free: 7.762 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.994e-06/0.3053, allocations: 0 / 309.3 MB, free: 7.762 MB / 250.7 MB Notification: Performance of Transformations before backend: time 9.909e-06/0.3053, allocations: 0 / 309.3 MB, free: 7.762 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.001199/0.3065, allocations: 447.3 kB / 309.7 MB, free: 7.277 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.666e-05/0.3065, allocations: 12.03 kB / 309.7 MB, free: 7.266 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002787/0.3068, allocations: 23.77 kB / 309.8 MB, free: 7.242 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003716/0.3072, allocations: 202.9 kB / 310 MB, free: 7.004 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.576e-05/0.3073, allocations: 16.27 kB / 310 MB, free: 6.988 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.636e-05/0.3073, allocations: 12 kB / 310 MB, free: 6.977 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006037/0.3079, allocations: 216.6 kB / 310.2 MB, free: 6.742 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.925e-05/0.308, allocations: 3.906 kB / 310.2 MB, free: 6.738 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.855e-05/0.308, allocations: 8 kB / 310.2 MB, free: 6.73 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.378e-06/0.308, allocations: 4 kB / 310.2 MB, free: 6.727 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005954/0.3086, allocations: 147.8 kB / 310.4 MB, free: 6.582 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001795/0.3105, allocations: 0.9556 MB / 311.3 MB, free: 5.551 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007488/0.3112, allocations: 142.8 kB / 311.5 MB, free: 5.402 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006874/0.3119, allocations: 0.5112 MB / 312 MB, free: 4.828 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.215e-05/0.312, allocations: 34.55 kB / 312 MB, free: 4.785 MB / 250.7 MB Notification: Performance of pre-optimization done (n=14): time 2.515e-06/0.312, allocations: 3.938 kB / 312 MB, free: 4.781 MB / 250.7 MB Notification: Performance of matching and sorting (n=20): time 0.004062/0.3161, allocations: 0.7665 MB / 312.8 MB, free: 3.965 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.09e-05/0.3161, allocations: 55.41 kB / 312.8 MB, free: 3.898 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001649/0.3163, allocations: 148.8 kB / 313 MB, free: 3.75 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 4.258e-05/0.3164, allocations: 29.7 kB / 313 MB, free: 3.715 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001748/0.3166, allocations: 139.8 kB / 313.1 MB, free: 3.57 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.188e-05/0.3167, allocations: 67 kB / 313.2 MB, free: 3.504 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.454e-05/0.3167, allocations: 4 kB / 313.2 MB, free: 3.5 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0001254/0.3169, allocations: 326.8 kB / 313.5 MB, free: 3.172 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004255/0.3173, allocations: 83.94 kB / 313.6 MB, free: 3.09 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005026/0.3178, allocations: 193.8 kB / 313.8 MB, free: 2.852 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004826/0.3183, allocations: 100.9 kB / 313.9 MB, free: 2.754 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.676e-06/0.3183, allocations: 0 / 313.9 MB, free: 2.754 MB / 250.7 MB Notification: Performance of matching and sorting (n=37) (initialization): time 0.001184/0.3195, allocations: 322.1 kB / 314.2 MB, free: 2.434 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.145e-05/0.3196, allocations: 8 kB / 314.2 MB, free: 2.426 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.037e-05/0.3196, allocations: 4 kB / 314.2 MB, free: 2.422 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.951e-05/0.3196, allocations: 4.469 kB / 314.2 MB, free: 2.418 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006684/0.3203, allocations: 83.88 kB / 314.3 MB, free: 2.336 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.014e-05/0.3203, allocations: 11.94 kB / 314.3 MB, free: 2.324 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003951/0.3207, allocations: 19.98 kB / 314.3 MB, free: 2.305 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.651e-05/0.3208, allocations: 12 kB / 314.3 MB, free: 2.293 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.0001567/0.3209, allocations: 133.7 kB / 314.5 MB, free: 2.152 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.469e-05/0.321, allocations: 23.75 kB / 314.5 MB, free: 2.129 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001155/0.3222, allocations: 230.7 kB / 314.7 MB, free: 1.898 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.999e-06/0.3222, allocations: 3.953 kB / 314.7 MB, free: 1.895 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.476e-06/0.3223, allocations: 4 kB / 314.7 MB, free: 1.891 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.277e-06/0.3223, allocations: 3.984 kB / 314.7 MB, free: 1.887 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001984/0.3243, allocations: 0.6098 MB / 315.3 MB, free: 1.211 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.424e-06/0.3243, allocations: 8.031 kB / 315.4 MB, free: 1.203 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005166/0.3248, allocations: 47.95 kB / 315.4 MB, free: 1.156 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.813e-06/0.3249, allocations: 0 / 315.4 MB, free: 1.156 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.98e-05/0.3249, allocations: 8 kB / 315.4 MB, free: 1.148 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.137e-06/0.3249, allocations: 4 kB / 315.4 MB, free: 1.145 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.729e-06/0.3249, allocations: 3.938 kB / 315.4 MB, free: 1.141 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001402/0.3263, allocations: 459.2 kB / 315.9 MB, free: 0.6445 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.994e-05/0.3264, allocations: 92.88 kB / 316 MB, free: 0.5352 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.925e-05/0.3265, allocations: 4 kB / 316 MB, free: 0.5312 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003982/0.3269, allocations: 11.98 kB / 316 MB, free: 0.5195 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.102e-05/0.327, allocations: 23.98 kB / 316 MB, free: 0.4961 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.107e-05/0.327, allocations: 15.97 kB / 316 MB, free: 492 kB / 250.7 MB Notification: Performance of sorting global known variables: time 0.0001065/0.3271, allocations: 107.2 kB / 316.1 MB, free: 384 kB / 250.7 MB Notification: Performance of sort global known variables: time 3.61e-07/0.3272, allocations: 0 / 316.1 MB, free: 384 kB / 250.7 MB Notification: Performance of remove unused functions: time 0.0005/0.3277, allocations: 64 kB / 316.2 MB, free: 320 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.0002389/0.3279, allocations: 123.2 kB / 316.3 MB, free: 188 kB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.001102/0.329, allocations: 212.6 kB / 316.5 MB, free: 15.97 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 3.347e-06/0.3291, allocations: 0 / 316.5 MB, free: 15.97 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000424/0.3295, allocations: 95.94 kB / 316.6 MB, free: 15.88 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004495/0.33, allocations: 37.64 kB / 316.6 MB, free: 15.84 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001549/0.3315, allocations: 0.5532 MB / 317.2 MB, free: 15.26 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003128/0.3319, allocations: 0.7168 MB / 317.9 MB, free: 14.52 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0004722/0.3323, allocations: 49.88 kB / 318 MB, free: 14.46 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001442/0.3325, allocations: 23.42 kB / 318 MB, free: 14.44 MB / 266.7 MB Notification: Performance of SimCode: time 9.22e-07/0.3325, allocations: 0 / 318 MB, free: 14.44 MB / 266.7 MB Notification: Performance of Templates: time 0.008861/0.3414, allocations: 2.491 MB / 320.5 MB, free: 11.96 MB / 266.7 MB