Running command: translateModel(Modelica.Media.Examples.SimpleLiquidWater,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|medium.T",fileNamePrefix="Modelica_3.2.1_Modelica.Media.Examples.SimpleLiquidWater") Notification: Performance of loadModel(Modelica): time 1.613/1.613, allocations: 171.2 MB / 185.7 MB, free: 1.402 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 2.628e-05/2.642e-05, allocations: 0 / 228.1 MB, free: 7.34 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07784/0.07789, allocations: 38.78 MB / 266.9 MB, free: 0.4922 MB / 218.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SimpleLiquidWater): time 0.005824/0.08377, allocations: 3.585 MB / 270.5 MB, free: 12.88 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.002605/0.08643, allocations: 1.481 MB / 272 MB, free: 11.39 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001168/0.08659, allocations: 0 / 272 MB, free: 11.39 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002369/0.08684, allocations: 39.75 kB / 272 MB, free: 11.35 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003353/0.0872, allocations: 87.77 kB / 272.1 MB, free: 11.27 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008451/0.08806, allocations: 215.4 kB / 272.3 MB, free: 11.05 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002797/0.08835, allocations: 127.7 kB / 272.4 MB, free: 10.93 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.449e-05/0.08841, allocations: 7.984 kB / 272.4 MB, free: 10.92 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002911/0.08871, allocations: 103.8 kB / 272.5 MB, free: 10.82 MB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001407/0.08886, allocations: 55.84 kB / 272.6 MB, free: 10.77 MB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003519/0.08923, allocations: 91.88 kB / 272.7 MB, free: 10.68 MB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 4.517e-05/0.08929, allocations: 8 kB / 272.7 MB, free: 10.67 MB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 8.387e-05/0.08939, allocations: 35.91 kB / 272.7 MB, free: 10.63 MB / 234.7 MB Notification: Performance of NFVerifyModel.verify: time 7.316e-05/0.08947, allocations: 23.94 kB / 272.7 MB, free: 10.61 MB / 234.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003355/0.08982, allocations: 143.9 kB / 272.9 MB, free: 10.47 MB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.986e-06/0.08983, allocations: 0 / 272.9 MB, free: 10.47 MB / 234.7 MB Notification: Performance of FrontEnd: time 2.314e-06/0.08984, allocations: 0 / 272.9 MB, free: 10.47 MB / 234.7 MB Notification: Performance of Transformations before backend: time 9.237e-06/0.08986, allocations: 0 / 272.9 MB, free: 10.47 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.001221/0.09109, allocations: 455.2 kB / 273.3 MB, free: 9.973 MB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.963e-05/0.09117, allocations: 8.031 kB / 273.3 MB, free: 9.965 MB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002523/0.09144, allocations: 23.81 kB / 273.4 MB, free: 9.941 MB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003011/0.09175, allocations: 206.9 kB / 273.6 MB, free: 9.699 MB / 234.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.102e-05/0.09179, allocations: 8.281 kB / 273.6 MB, free: 9.691 MB / 234.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.847e-05/0.09184, allocations: 12 kB / 273.6 MB, free: 9.68 MB / 234.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006171/0.09247, allocations: 216.6 kB / 273.8 MB, free: 9.445 MB / 234.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.783e-05/0.0925, allocations: 0 / 273.8 MB, free: 9.445 MB / 234.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.687e-05/0.09255, allocations: 8 kB / 273.8 MB, free: 9.438 MB / 234.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.037e-05/0.09257, allocations: 7.938 kB / 273.8 MB, free: 9.43 MB / 234.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006162/0.0932, allocations: 159.8 kB / 274 MB, free: 9.273 MB / 234.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001932/0.09515, allocations: 0.9478 MB / 274.9 MB, free: 8.25 MB / 234.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006405/0.09582, allocations: 146.8 kB / 275.1 MB, free: 8.098 MB / 234.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000765/0.0966, allocations: 0.5034 MB / 275.6 MB, free: 7.531 MB / 234.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.974e-05/0.09667, allocations: 46.52 kB / 275.6 MB, free: 7.477 MB / 234.7 MB Notification: Performance of pre-optimization done (n=14): time 2.554e-06/0.09668, allocations: 0 / 275.6 MB, free: 7.477 MB / 234.7 MB Notification: Performance of matching and sorting (n=20): time 0.004193/0.1009, allocations: 0.7556 MB / 276.4 MB, free: 6.668 MB / 234.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.095e-05/0.101, allocations: 51.41 kB / 276.4 MB, free: 6.605 MB / 234.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001645/0.1011, allocations: 149.6 kB / 276.6 MB, free: 6.457 MB / 234.7 MB Notification: Performance of collectPreVariables (initialization): time 3.854e-05/0.1012, allocations: 29.69 kB / 276.6 MB, free: 6.422 MB / 234.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001095/0.1013, allocations: 139.9 kB / 276.7 MB, free: 6.281 MB / 234.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.617e-05/0.1014, allocations: 74.94 kB / 276.8 MB, free: 6.207 MB / 234.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.661e-05/0.1015, allocations: 8 kB / 276.8 MB, free: 6.199 MB / 234.7 MB Notification: Performance of setup shared object (initialization): time 0.0001372/0.1016, allocations: 318.8 kB / 277.1 MB, free: 5.879 MB / 234.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004392/0.102, allocations: 83.94 kB / 277.2 MB, free: 5.797 MB / 234.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005227/0.1026, allocations: 189.6 kB / 277.4 MB, free: 5.562 MB / 234.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004797/0.1031, allocations: 104.8 kB / 277.5 MB, free: 5.461 MB / 234.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.262e-06/0.1031, allocations: 4 kB / 277.5 MB, free: 5.457 MB / 234.7 MB Notification: Performance of matching and sorting (n=37) (initialization): time 0.001231/0.1043, allocations: 318.2 kB / 277.8 MB, free: 5.141 MB / 234.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.42e-05/0.1044, allocations: 11.94 kB / 277.8 MB, free: 5.129 MB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.17e-05/0.1044, allocations: 4 kB / 277.8 MB, free: 5.125 MB / 234.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.393e-05/0.1044, allocations: 11.95 kB / 277.8 MB, free: 5.113 MB / 234.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006843/0.1051, allocations: 84.28 kB / 277.9 MB, free: 5.031 MB / 234.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.349e-05/0.1052, allocations: 8 kB / 277.9 MB, free: 5.023 MB / 234.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003917/0.1056, allocations: 15.98 kB / 277.9 MB, free: 5.008 MB / 234.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.043e-05/0.1056, allocations: 16 kB / 278 MB, free: 4.992 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.00017/0.1058, allocations: 137.7 kB / 278.1 MB, free: 4.848 MB / 234.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.777e-05/0.1059, allocations: 15.81 kB / 278.1 MB, free: 4.832 MB / 234.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001125/0.107, allocations: 240.7 kB / 278.3 MB, free: 4.59 MB / 234.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.306e-05/0.1071, allocations: 7.938 kB / 278.3 MB, free: 4.582 MB / 234.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.731e-06/0.1071, allocations: 0 / 278.3 MB, free: 4.582 MB / 234.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.265e-06/0.1071, allocations: 3.984 kB / 278.3 MB, free: 4.578 MB / 234.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00209/0.1092, allocations: 0.5913 MB / 278.9 MB, free: 3.918 MB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.681e-06/0.1092, allocations: 4 kB / 278.9 MB, free: 3.914 MB / 234.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005427/0.1098, allocations: 56.02 kB / 279 MB, free: 3.859 MB / 234.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.818e-06/0.1098, allocations: 4 kB / 279 MB, free: 3.855 MB / 234.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.151e-05/0.1098, allocations: 4 kB / 279 MB, free: 3.852 MB / 234.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.7e-06/0.1099, allocations: 4 kB / 279 MB, free: 3.848 MB / 234.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.076e-06/0.1099, allocations: 0 / 279 MB, free: 3.848 MB / 234.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00151/0.1114, allocations: 457.3 kB / 279.5 MB, free: 3.348 MB / 234.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.276e-05/0.1115, allocations: 85.05 kB / 279.5 MB, free: 3.246 MB / 234.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.247e-05/0.1116, allocations: 8 kB / 279.5 MB, free: 3.238 MB / 234.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004218/0.112, allocations: 15.98 kB / 279.6 MB, free: 3.223 MB / 234.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.252e-05/0.112, allocations: 11.94 kB / 279.6 MB, free: 3.211 MB / 234.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.359e-05/0.1121, allocations: 15.98 kB / 279.6 MB, free: 3.195 MB / 234.7 MB Notification: Performance of sorting global known variables: time 0.0001152/0.1122, allocations: 110 kB / 279.7 MB, free: 3.09 MB / 234.7 MB Notification: Performance of sort global known variables: time 6.81e-07/0.1122, allocations: 0 / 279.7 MB, free: 3.09 MB / 234.7 MB Notification: Performance of remove unused functions: time 0.0005169/0.1128, allocations: 67.98 kB / 279.8 MB, free: 3.023 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.0002565/0.113, allocations: 127.2 kB / 279.9 MB, free: 2.891 MB / 234.7 MB Notification: Performance of simCode: created initialization part: time 0.001022/0.1141, allocations: 214.9 kB / 280.1 MB, free: 2.684 MB / 234.7 MB Notification: Performance of simCode: created event and clocks part: time 4.058e-06/0.1141, allocations: 4 kB / 280.1 MB, free: 2.68 MB / 234.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004371/0.1145, allocations: 97 kB / 280.2 MB, free: 2.586 MB / 234.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004678/0.115, allocations: 31.97 kB / 280.2 MB, free: 2.555 MB / 234.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001627/0.1167, allocations: 0.5574 MB / 280.8 MB, free: 1.957 MB / 234.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003524/0.117, allocations: 0.7245 MB / 281.5 MB, free: 1.207 MB / 234.7 MB Notification: Performance of simCode: alias equations: time 0.000481/0.1175, allocations: 45.88 kB / 281.6 MB, free: 1.164 MB / 234.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001549/0.1177, allocations: 27.42 kB / 281.6 MB, free: 1.137 MB / 234.7 MB Notification: Performance of SimCode: time 8.82e-07/0.1177, allocations: 0 / 281.6 MB, free: 1.137 MB / 234.7 MB Notification: Performance of Templates: time 0.008728/0.1265, allocations: 2.475 MB / 284.1 MB, free: 14.67 MB / 250.7 MB