Running command: translateModel(Modelica.Media.Examples.SimpleLiquidWater,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|medium.T",fileNamePrefix="Modelica_3.2.1_cpp_Modelica.Media.Examples.SimpleLiquidWater") Notification: Performance of loadModel(Modelica): time 1.84/1.84, allocations: 171.2 MB / 186.3 MB, free: 1.414 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 2.871e-05/2.87e-05, allocations: 4 kB / 228.1 MB, free: 8.004 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0861/0.08616, allocations: 38.77 MB / 266.9 MB, free: 1.152 MB / 218.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SimpleLiquidWater): time 0.006003/0.09222, allocations: 3.572 MB / 270.5 MB, free: 13.55 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.002691/0.09497, allocations: 1.496 MB / 271.9 MB, free: 12.05 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001492/0.09518, allocations: 0 / 271.9 MB, free: 12.05 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002536/0.09545, allocations: 27.81 kB / 272 MB, free: 12.02 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003581/0.09583, allocations: 95.7 kB / 272.1 MB, free: 11.93 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009136/0.09676, allocations: 211.5 kB / 272.3 MB, free: 11.72 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003/0.09707, allocations: 131.7 kB / 272.4 MB, free: 11.59 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.922e-05/0.09713, allocations: 4 kB / 272.4 MB, free: 11.59 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003143/0.09746, allocations: 103.8 kB / 272.5 MB, free: 11.49 MB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001488/0.09762, allocations: 55.84 kB / 272.6 MB, free: 11.43 MB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000394/0.09803, allocations: 87.94 kB / 272.6 MB, free: 11.35 MB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 4.699e-05/0.09809, allocations: 8 kB / 272.7 MB, free: 11.34 MB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 8.699e-05/0.09819, allocations: 31.91 kB / 272.7 MB, free: 11.31 MB / 234.7 MB Notification: Performance of NFVerifyModel.verify: time 8.007e-05/0.09828, allocations: 16 kB / 272.7 MB, free: 11.29 MB / 234.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003665/0.09866, allocations: 159.8 kB / 272.9 MB, free: 11.14 MB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.527e-06/0.09868, allocations: 0 / 272.9 MB, free: 11.14 MB / 234.7 MB Notification: Performance of FrontEnd: time 5.42e-06/0.09869, allocations: 0 / 272.9 MB, free: 11.14 MB / 234.7 MB Notification: Performance of Transformations before backend: time 1.078e-05/0.09871, allocations: 3.938 kB / 272.9 MB, free: 11.13 MB / 234.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.001326/0.1, allocations: 443.3 kB / 273.3 MB, free: 10.65 MB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.955e-05/0.1001, allocations: 12.03 kB / 273.3 MB, free: 10.64 MB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002663/0.1004, allocations: 23.81 kB / 273.3 MB, free: 10.61 MB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003112/0.1007, allocations: 210.8 kB / 273.5 MB, free: 10.37 MB / 234.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.156e-05/0.1008, allocations: 8.281 kB / 273.5 MB, free: 10.36 MB / 234.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.027e-05/0.1008, allocations: 16 kB / 273.6 MB, free: 10.34 MB / 234.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006356/0.1015, allocations: 212.6 kB / 273.8 MB, free: 10.11 MB / 234.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.234e-05/0.1015, allocations: 3.938 kB / 273.8 MB, free: 10.11 MB / 234.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.112e-05/0.1015, allocations: 8 kB / 273.8 MB, free: 10.1 MB / 234.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.156e-05/0.1016, allocations: 4 kB / 273.8 MB, free: 10.1 MB / 234.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000607/0.1022, allocations: 151.8 kB / 273.9 MB, free: 9.949 MB / 234.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002001/0.1042, allocations: 0.94 MB / 274.9 MB, free: 8.934 MB / 234.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006426/0.1049, allocations: 150.8 kB / 275 MB, free: 8.777 MB / 234.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007545/0.1057, allocations: 0.5034 MB / 275.5 MB, free: 8.211 MB / 234.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.602e-05/0.1057, allocations: 42.52 kB / 275.6 MB, free: 8.16 MB / 234.7 MB Notification: Performance of pre-optimization done (n=14): time 3.116e-06/0.1057, allocations: 0 / 275.6 MB, free: 8.16 MB / 234.7 MB Notification: Performance of matching and sorting (n=20): time 0.004341/0.1101, allocations: 0.7595 MB / 276.3 MB, free: 7.348 MB / 234.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.138e-05/0.1102, allocations: 55.41 kB / 276.4 MB, free: 7.281 MB / 234.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002068/0.1104, allocations: 145.2 kB / 276.5 MB, free: 7.137 MB / 234.7 MB Notification: Performance of collectPreVariables (initialization): time 4.538e-05/0.1105, allocations: 29.7 kB / 276.5 MB, free: 7.102 MB / 234.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001497/0.1106, allocations: 214.3 kB / 276.8 MB, free: 6.891 MB / 234.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.751e-05/0.1107, allocations: 74.94 kB / 276.8 MB, free: 6.816 MB / 234.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.352e-05/0.1108, allocations: 8 kB / 276.8 MB, free: 6.809 MB / 234.7 MB Notification: Performance of setup shared object (initialization): time 0.0001764/0.111, allocations: 330.8 kB / 277.2 MB, free: 6.477 MB / 234.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004453/0.1114, allocations: 79.94 kB / 277.2 MB, free: 6.398 MB / 234.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005304/0.112, allocations: 189.6 kB / 277.4 MB, free: 6.164 MB / 234.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005048/0.1125, allocations: 108.8 kB / 277.5 MB, free: 6.059 MB / 234.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.358e-06/0.1125, allocations: 0 / 277.5 MB, free: 6.059 MB / 234.7 MB Notification: Performance of matching and sorting (n=37) (initialization): time 0.001235/0.1137, allocations: 314.3 kB / 277.8 MB, free: 5.746 MB / 234.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.91e-05/0.1138, allocations: 9.875 kB / 277.8 MB, free: 5.738 MB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.521e-05/0.1138, allocations: 4 kB / 277.9 MB, free: 5.734 MB / 234.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.669e-05/0.1139, allocations: 7.953 kB / 277.9 MB, free: 5.727 MB / 234.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006917/0.1146, allocations: 83.83 kB / 277.9 MB, free: 5.645 MB / 234.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.699e-05/0.1146, allocations: 8.281 kB / 277.9 MB, free: 5.637 MB / 234.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004324/0.115, allocations: 19.98 kB / 278 MB, free: 5.617 MB / 234.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.427e-05/0.1151, allocations: 15.98 kB / 278 MB, free: 5.602 MB / 234.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.0001911/0.1153, allocations: 129.8 kB / 278.1 MB, free: 5.465 MB / 234.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.876e-05/0.1154, allocations: 11.91 kB / 278.1 MB, free: 5.453 MB / 234.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001183/0.1166, allocations: 248.6 kB / 278.4 MB, free: 5.203 MB / 234.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.262e-05/0.1166, allocations: 4 kB / 278.4 MB, free: 5.199 MB / 234.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.015e-06/0.1167, allocations: 3.938 kB / 278.4 MB, free: 5.195 MB / 234.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.742e-06/0.1167, allocations: 0 / 278.4 MB, free: 5.195 MB / 234.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002126/0.1188, allocations: 0.5912 MB / 279 MB, free: 4.535 MB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.43e-06/0.1189, allocations: 7.938 kB / 279 MB, free: 4.527 MB / 234.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005423/0.1194, allocations: 55.89 kB / 279 MB, free: 4.473 MB / 234.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.278e-05/0.1195, allocations: 8.125 kB / 279 MB, free: 4.465 MB / 234.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.381e-05/0.1195, allocations: 7.984 kB / 279 MB, free: 4.457 MB / 234.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.3e-06/0.1195, allocations: 0 / 279 MB, free: 4.457 MB / 234.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.21e-06/0.1195, allocations: 4 kB / 279 MB, free: 4.453 MB / 234.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001549/0.1211, allocations: 453.5 kB / 279.5 MB, free: 3.957 MB / 234.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.001e-05/0.1212, allocations: 92.94 kB / 279.6 MB, free: 3.848 MB / 234.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.434e-05/0.1213, allocations: 8 kB / 279.6 MB, free: 3.84 MB / 234.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004118/0.1217, allocations: 11.98 kB / 279.6 MB, free: 3.828 MB / 234.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.114e-05/0.1218, allocations: 19.88 kB / 279.6 MB, free: 3.809 MB / 234.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.257e-05/0.1218, allocations: 11.98 kB / 279.6 MB, free: 3.797 MB / 234.7 MB Notification: Performance of sorting global known variables: time 0.000118/0.122, allocations: 106.3 kB / 279.7 MB, free: 3.695 MB / 234.7 MB Notification: Performance of sort global known variables: time 3.81e-07/0.122, allocations: 4.062 kB / 279.7 MB, free: 3.691 MB / 234.7 MB Notification: Performance of remove unused functions: time 0.0005236/0.1225, allocations: 60 kB / 279.8 MB, free: 3.633 MB / 234.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.0002742/0.1228, allocations: 131.2 kB / 279.9 MB, free: 3.496 MB / 234.7 MB Notification: Performance of simCode: created initialization part: time 0.001114/0.1239, allocations: 218.9 kB / 280.1 MB, free: 3.285 MB / 234.7 MB Notification: Performance of simCode: created event and clocks part: time 5.1e-06/0.124, allocations: 4 kB / 280.1 MB, free: 3.281 MB / 234.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004372/0.1244, allocations: 89.03 kB / 280.2 MB, free: 3.195 MB / 234.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005219/0.125, allocations: 39.97 kB / 280.3 MB, free: 3.156 MB / 234.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001689/0.1267, allocations: 0.5748 MB / 280.8 MB, free: 2.535 MB / 234.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003693/0.1271, allocations: 0.7284 MB / 281.6 MB, free: 1.781 MB / 234.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002027/0.1273, allocations: 27.42 kB / 281.6 MB, free: 1.754 MB / 234.7 MB Notification: Performance of SimCode: time 1.132e-06/0.1273, allocations: 0 / 281.6 MB, free: 1.754 MB / 234.7 MB Notification: Performance of Templates: time 0.007382/0.1347, allocations: 2.586 MB / 284.2 MB, free: 15.16 MB / 250.7 MB