Running command: translateModel(Modelica.Media.Examples.SimpleLiquidWater,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.1_cpp_Modelica.Media.Examples.SimpleLiquidWater") Notification: Performance of loadModel(Modelica): time 1.102/1.102, allocations: 111.1 MB / 126.3 MB, free: 6.414 MB / 106.7 MB Notification: Performance of FrontEnd - loaded program: time 2.823e-05/2.849e-05, allocations: 0 / 154.5 MB, free: 2.852 MB / 122.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06199/0.06205, allocations: 25.18 MB / 179.7 MB, free: 9.629 MB / 154.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SimpleLiquidWater): time 0.01035/0.07247, allocations: 6.061 MB / 185.7 MB, free: 3.551 MB / 154.7 MB Notification: Performance of NFInst.instExpressions: time 0.003532/0.07606, allocations: 1.554 MB / 187.3 MB, free: 1.996 MB / 154.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001574/0.07628, allocations: 4 kB / 187.3 MB, free: 1.992 MB / 154.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002841/0.07658, allocations: 31.8 kB / 187.3 MB, free: 1.961 MB / 154.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004413/0.07704, allocations: 99.69 kB / 187.4 MB, free: 1.863 MB / 154.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001122/0.07818, allocations: 207.5 kB / 187.6 MB, free: 1.66 MB / 154.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004034/0.0786, allocations: 131.7 kB / 187.8 MB, free: 1.531 MB / 154.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.146e-05/0.07867, allocations: 4 kB / 187.8 MB, free: 1.527 MB / 154.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003941/0.07908, allocations: 103.8 kB / 187.9 MB, free: 1.426 MB / 154.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001878/0.07929, allocations: 67.75 kB / 187.9 MB, free: 1.359 MB / 154.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004812/0.07978, allocations: 87.95 kB / 188 MB, free: 1.273 MB / 154.7 MB Notification: Performance of NFPackage.collectConstants: time 5.864e-05/0.07986, allocations: 11.94 kB / 188 MB, free: 1.262 MB / 154.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001049/0.07998, allocations: 35.91 kB / 188.1 MB, free: 1.227 MB / 154.7 MB Notification: Performance of NFVerifyModel.verify: time 9.5e-05/0.08009, allocations: 16 kB / 188.1 MB, free: 1.211 MB / 154.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004548/0.08056, allocations: 144 kB / 188.2 MB, free: 1.07 MB / 154.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.707e-06/0.08058, allocations: 0 / 188.2 MB, free: 1.07 MB / 154.7 MB Notification: Performance of FrontEnd: time 3.056e-06/0.0806, allocations: 0 / 188.2 MB, free: 1.07 MB / 154.7 MB Notification: Performance of Transformations before backend: time 1.212e-05/0.08062, allocations: 0 / 188.2 MB, free: 1.07 MB / 154.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.001617/0.08225, allocations: 455.2 kB / 188.7 MB, free: 0.5742 MB / 154.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.577e-05/0.08232, allocations: 12.03 kB / 188.7 MB, free: 0.5625 MB / 154.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001043/0.08244, allocations: 11.91 kB / 188.7 MB, free: 0.5508 MB / 154.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003971/0.08285, allocations: 210.7 kB / 188.9 MB, free: 312 kB / 154.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.515e-05/0.0829, allocations: 12.28 kB / 188.9 MB, free: 300 kB / 154.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.462e-05/0.08297, allocations: 12 kB / 188.9 MB, free: 288 kB / 154.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008073/0.0838, allocations: 216.6 kB / 189.1 MB, free: 48 kB / 154.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.313e-05/0.08384, allocations: 3.953 kB / 189.1 MB, free: 44 kB / 154.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.712e-05/0.08391, allocations: 12 kB / 189.1 MB, free: 32 kB / 154.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.319e-05/0.08393, allocations: 4 kB / 189.1 MB, free: 28 kB / 154.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008003/0.08475, allocations: 143.8 kB / 189.3 MB, free: 15.89 MB / 170.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002818/0.08758, allocations: 1.149 MB / 190.4 MB, free: 14.61 MB / 170.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008534/0.08847, allocations: 146.7 kB / 190.6 MB, free: 14.46 MB / 170.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001206/0.0897, allocations: 0.658 MB / 191.2 MB, free: 13.7 MB / 170.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.921e-05/0.08977, allocations: 42.56 kB / 191.3 MB, free: 13.65 MB / 170.7 MB Notification: Performance of pre-optimization done (n=14): time 3.376e-06/0.08979, allocations: 0 / 191.3 MB, free: 13.65 MB / 170.7 MB Notification: Performance of matching and sorting (n=20): time 0.005947/0.09575, allocations: 0.7596 MB / 192 MB, free: 12.84 MB / 170.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.426e-05/0.09583, allocations: 51.41 kB / 192.1 MB, free: 12.78 MB / 170.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002301/0.09608, allocations: 146 kB / 192.2 MB, free: 12.62 MB / 170.7 MB Notification: Performance of collectPreVariables (initialization): time 5.526e-05/0.09615, allocations: 29.7 kB / 192.3 MB, free: 12.59 MB / 170.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001611/0.09632, allocations: 214.2 kB / 192.5 MB, free: 12.38 MB / 170.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001157/0.09646, allocations: 74.94 kB / 192.5 MB, free: 12.3 MB / 170.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.882e-05/0.09651, allocations: 8 kB / 192.6 MB, free: 12.3 MB / 170.7 MB Notification: Performance of setup shared object (initialization): time 0.0001819/0.09671, allocations: 326.8 kB / 192.9 MB, free: 11.97 MB / 170.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005895/0.09731, allocations: 83.94 kB / 193 MB, free: 11.89 MB / 170.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007144/0.09804, allocations: 189.5 kB / 193.1 MB, free: 11.65 MB / 170.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006616/0.09872, allocations: 108.3 kB / 193.2 MB, free: 11.55 MB / 170.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.488e-06/0.09875, allocations: 3.938 kB / 193.2 MB, free: 11.55 MB / 170.7 MB Notification: Performance of matching and sorting (n=37) (initialization): time 0.001656/0.1004, allocations: 313.9 kB / 193.6 MB, free: 11.23 MB / 170.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.918e-05/0.1005, allocations: 4 kB / 193.6 MB, free: 11.23 MB / 170.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.511e-05/0.1005, allocations: 4 kB / 193.6 MB, free: 11.23 MB / 170.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.554e-05/0.1005, allocations: 8 kB / 193.6 MB, free: 11.22 MB / 170.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000887/0.1014, allocations: 79.88 kB / 193.6 MB, free: 11.14 MB / 170.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.385e-05/0.1015, allocations: 11.94 kB / 193.7 MB, free: 11.13 MB / 170.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006252/0.1021, allocations: 24.14 kB / 193.7 MB, free: 11.11 MB / 170.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.037e-05/0.1022, allocations: 15.94 kB / 193.7 MB, free: 11.09 MB / 170.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.0002449/0.1025, allocations: 133.7 kB / 193.8 MB, free: 10.95 MB / 170.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001107/0.1026, allocations: 15.89 kB / 193.8 MB, free: 10.93 MB / 170.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00161/0.1042, allocations: 243.8 kB / 194.1 MB, free: 10.69 MB / 170.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.432e-05/0.1043, allocations: 4 kB / 194.1 MB, free: 10.68 MB / 170.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.707e-06/0.1043, allocations: 7.922 kB / 194.1 MB, free: 10.68 MB / 170.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.993e-06/0.1043, allocations: 0 / 194.1 MB, free: 10.68 MB / 170.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003006/0.1073, allocations: 0.5952 MB / 194.7 MB, free: 10.01 MB / 170.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.374e-06/0.1074, allocations: 0 / 194.7 MB, free: 10.01 MB / 170.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000913/0.1083, allocations: 51.95 kB / 194.7 MB, free: 9.961 MB / 170.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.438e-05/0.1084, allocations: 4.125 kB / 194.7 MB, free: 9.957 MB / 170.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.265e-05/0.1084, allocations: 8 kB / 194.8 MB, free: 9.949 MB / 170.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.222e-05/0.1084, allocations: 7.922 kB / 194.8 MB, free: 9.941 MB / 170.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.382e-06/0.1085, allocations: 3.953 kB / 194.8 MB, free: 9.938 MB / 170.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002087/0.1106, allocations: 444.5 kB / 195.2 MB, free: 9.453 MB / 170.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000114/0.1107, allocations: 100.9 kB / 195.3 MB, free: 9.336 MB / 170.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.678e-05/0.1108, allocations: 4 kB / 195.3 MB, free: 9.332 MB / 170.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005892/0.1114, allocations: 15.98 kB / 195.3 MB, free: 9.316 MB / 170.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.959e-05/0.1115, allocations: 19.86 kB / 195.3 MB, free: 9.297 MB / 170.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.187e-05/0.1116, allocations: 8 kB / 195.3 MB, free: 9.289 MB / 170.7 MB Notification: Performance of sorting global known variables: time 0.0001586/0.1117, allocations: 107.2 kB / 195.4 MB, free: 9.184 MB / 170.7 MB Notification: Performance of sort global known variables: time 5.11e-07/0.1117, allocations: 0 / 195.4 MB, free: 9.184 MB / 170.7 MB Notification: Performance of remove unused functions: time 0.0009075/0.1127, allocations: 72 kB / 195.5 MB, free: 9.113 MB / 170.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.000361/0.1131, allocations: 135.2 kB / 195.6 MB, free: 8.973 MB / 170.7 MB Notification: Performance of simCode: created initialization part: time 0.001406/0.1145, allocations: 234.5 kB / 195.9 MB, free: 8.746 MB / 170.7 MB Notification: Performance of simCode: created event and clocks part: time 4.849e-06/0.1145, allocations: 0 / 195.9 MB, free: 8.746 MB / 170.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006096/0.1151, allocations: 85 kB / 196 MB, free: 8.664 MB / 170.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006924/0.1158, allocations: 39.97 kB / 196 MB, free: 8.625 MB / 170.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002176/0.118, allocations: 0.5749 MB / 196.6 MB, free: 8 MB / 170.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004778/0.1185, allocations: 0.7132 MB / 197.3 MB, free: 7.258 MB / 170.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002662/0.1188, allocations: 35.41 kB / 197.3 MB, free: 7.223 MB / 170.7 MB Notification: Performance of SimCode: time 1.072e-06/0.1188, allocations: 0 / 197.3 MB, free: 7.223 MB / 170.7 MB Notification: Performance of Templates: time 0.009489/0.1283, allocations: 2.704 MB / 200 MB, free: 4.516 MB / 170.7 MB