Running command: translateModel(ModelicaTest.Fluid.TestComponents.Vessels.TestSimpleTank,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Fluid.TestComponents.Vessels.TestSimpleTank") Notification: Performance of loadModel(ModelicaTest): time 2.297/2.297, allocations: 270 MB / 282.7 MB, free: 1.836 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 2.927e-05/2.942e-05, allocations: 4 kB / 347 MB, free: 3.195 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3214/0.3214, allocations: 61.86 MB / 408.8 MB, free: 10.84 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.056/1.378, allocations: 336.4 MB / 0.7278 GB, free: 199.5 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004031/1.378, allocations: 85.97 kB / 0.7278 GB, free: 199.5 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 0.4465/1.825, allocations: 146 MB / 0.8704 GB, free: 65 MB / 0.5261 GB Notification: Performance of FrontEnd: time 2.177e-06/1.825, allocations: 0 / 0.8704 GB, free: 65 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 8.026e-05/1.825, allocations: 23.98 kB / 0.8705 GB, free: 64.98 MB / 0.5261 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 153 * Number of variables: 153 Notification: Performance of Generate backend data structure: time 0.002762/1.827, allocations: 1.182 MB / 0.8716 GB, free: 63.74 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.062e-05/1.828, allocations: 8.031 kB / 0.8716 GB, free: 63.73 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005445/1.828, allocations: 114.8 kB / 0.8717 GB, free: 63.62 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001617/1.83, allocations: 0.6751 MB / 0.8724 GB, free: 62.91 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001092/1.83, allocations: 104.7 kB / 0.8725 GB, free: 62.79 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001469/1.83, allocations: 59.98 kB / 0.8725 GB, free: 62.73 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001931/1.832, allocations: 1.002 MB / 0.8735 GB, free: 61.68 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.597e-05/1.832, allocations: 4 kB / 0.8735 GB, free: 61.68 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001247/1.832, allocations: 27.98 kB / 0.8735 GB, free: 61.65 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.595e-05/1.832, allocations: 57.16 kB / 0.8736 GB, free: 61.59 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001781/1.834, allocations: 0.8926 MB / 0.8745 GB, free: 60.7 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007356/1.841, allocations: 4.013 MB / 0.8784 GB, free: 56.5 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00124/1.843, allocations: 0.6375 MB / 0.879 GB, free: 55.86 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007014/1.843, allocations: 410.2 kB / 0.8794 GB, free: 55.45 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.003784/1.847, allocations: 2.42 MB / 0.8818 GB, free: 52.79 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008541/1.848, allocations: 0.5031 MB / 0.8823 GB, free: 52.25 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=48): time 3.738e-06/1.848, allocations: 4 kB / 0.8823 GB, free: 52.24 MB / 0.5261 GB Notification: Performance of matching and sorting (n=53): time 0.005091/1.853, allocations: 2.123 MB / 0.8843 GB, free: 50.04 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.159e-05/1.853, allocations: 243.8 kB / 0.8846 GB, free: 49.75 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001163/1.855, allocations: 0.7423 MB / 0.8853 GB, free: 49 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 9.872e-05/1.855, allocations: 37.7 kB / 0.8853 GB, free: 48.96 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002602/1.855, allocations: 426.3 kB / 0.8857 GB, free: 48.54 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001753/1.855, allocations: 181.5 kB / 0.8859 GB, free: 48.36 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.199e-05/1.855, allocations: 16 kB / 0.8859 GB, free: 48.34 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 7.864e-05/1.855, allocations: 338.8 kB / 0.8863 GB, free: 48 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007148/1.856, allocations: 369.3 kB / 0.8866 GB, free: 47.64 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008411/1.857, allocations: 0.5943 MB / 0.8872 GB, free: 46.93 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008308/1.858, allocations: 452.7 kB / 0.8876 GB, free: 46.49 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.663e-06/1.858, allocations: 0 / 0.8876 GB, free: 46.49 MB / 0.5261 GB Notification: Performance of matching and sorting (n=96) (initialization): time 0.002747/1.861, allocations: 1.209 MB / 0.8888 GB, free: 45.26 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005277/1.861, allocations: 2.472 MB / 0.8912 GB, free: 42.59 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.447e-05/1.861, allocations: 4 kB / 0.8912 GB, free: 42.59 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001183/1.862, allocations: 337.4 kB / 0.8915 GB, free: 42.25 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008944/1.863, allocations: 155.7 kB / 0.8917 GB, free: 42.1 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001469/1.865, allocations: 1.436 MB / 0.8931 GB, free: 40.61 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001156/1.866, allocations: 51.88 kB / 0.8931 GB, free: 40.56 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001339/1.866, allocations: 40.11 kB / 0.8932 GB, free: 40.52 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.355e-05/1.866, allocations: 8 kB / 0.8932 GB, free: 40.51 MB / 0.5261 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00261/1.869, allocations: 1.16 MB / 0.8943 GB, free: 39.34 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.284e-05/1.869, allocations: 8 kB / 0.8943 GB, free: 39.33 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009356/1.87, allocations: 317.8 kB / 0.8946 GB, free: 39.01 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007923/1.871, allocations: 155.7 kB / 0.8948 GB, free: 38.86 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001235/1.872, allocations: 1.409 MB / 0.8962 GB, free: 37.4 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009524/1.873, allocations: 47.91 kB / 0.8962 GB, free: 37.35 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001884/1.873, allocations: 39.98 kB / 0.8962 GB, free: 37.31 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 28 * Number of states: 0 () * Number of discrete variables: 11 ($whenCondition1,tank.regularFlow[1],tank.regularFlow[2],tank.inFlow[1],tank.inFlow[2],timeTable.a,timeTable.b,timeTable.last,$PRE.timeTable.nextEvent,timeTable.nextEvent,timeTable.nextEventScaled) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (84): * Single equations (assignments): 81 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {2 1,2 4} Notification: Performance of prepare postOptimizeDAE: time 0.0004613/1.873, allocations: 199.2 kB / 0.8964 GB, free: 37.11 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003738/1.874, allocations: 94.88 kB / 0.8965 GB, free: 37.01 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00274/1.877, allocations: 1.124 MB / 0.8976 GB, free: 35.86 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.973e-06/1.877, allocations: 8 kB / 0.8976 GB, free: 35.86 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.012e-06/1.877, allocations: 3.953 kB / 0.8976 GB, free: 35.85 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.868e-06/1.877, allocations: 0 / 0.8976 GB, free: 35.85 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003846/1.881, allocations: 1.985 MB / 0.8996 GB, free: 33.8 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.027e-06/1.881, allocations: 0 / 0.8996 GB, free: 33.8 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005651/1.881, allocations: 83.89 kB / 0.8996 GB, free: 33.72 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001068/1.882, allocations: 329.5 kB / 0.9 GB, free: 33.39 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.482e-05/1.882, allocations: 19.98 kB / 0.9 GB, free: 33.37 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00134/1.884, allocations: 1.425 MB / 0.9014 GB, free: 31.89 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.743e-06/1.884, allocations: 0 / 0.9014 GB, free: 31.89 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003065/1.887, allocations: 1.603 MB / 0.9029 GB, free: 30.26 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006381/1.888, allocations: 272 kB / 0.9032 GB, free: 29.98 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001967/1.888, allocations: 19.95 kB / 0.9032 GB, free: 29.96 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008107/1.889, allocations: 43.86 kB / 0.9033 GB, free: 29.91 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001647/1.889, allocations: 52.36 kB / 0.9033 GB, free: 29.86 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001014/1.889, allocations: 27.98 kB / 0.9033 GB, free: 29.84 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0009387/1.89, allocations: 0.5733 MB / 0.9039 GB, free: 29.27 MB / 0.5261 GB Notification: Performance of sort global known variables: time 9.08e-07/1.89, allocations: 0 / 0.9039 GB, free: 29.27 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.002433/1.892, allocations: 0.6946 MB / 0.9046 GB, free: 28.57 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (tank.medium.T,tank.level) * Number of discrete variables: 10 ($whenCondition1,tank.regularFlow[1],tank.regularFlow[2],tank.inFlow[1],tank.inFlow[2],timeTable.a,timeTable.b,timeTable.last,timeTable.nextEvent,timeTable.nextEventScaled) * Number of discrete states: 6 (timeTable.nextEvent,timeTable.last,timeTable.nextEventScaled,timeTable.b,timeTable.a,$whenCondition1) * Top-level inputs: 0 Notification: Strong component statistics for simulation (44): * Single equations (assignments): 41 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {2 1,3 5} Notification: Performance of Backend phase and start with SimCode phase: time 0.001775/1.894, allocations: 0.6526 MB / 0.9052 GB, free: 27.93 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.003406/1.897, allocations: 1.495 MB / 0.9067 GB, free: 26.41 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 6.213e-06/1.898, allocations: 1.125 kB / 0.9067 GB, free: 26.41 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.001182/1.899, allocations: 484.9 kB / 0.9071 GB, free: 25.92 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001887/1.901, allocations: 318.8 kB / 0.9074 GB, free: 25.61 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003239/1.904, allocations: 1.337 MB / 0.9087 GB, free: 24.25 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005348/1.904, allocations: 1.025 MB / 0.9097 GB, free: 23.19 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003739/1.905, allocations: 83.41 kB / 0.9098 GB, free: 23.11 MB / 0.5261 GB Notification: Performance of SimCode: time 1.892e-06/1.905, allocations: 0 / 0.9098 GB, free: 23.11 MB / 0.5261 GB Notification: Performance of Templates: time 0.03363/1.939, allocations: 22.93 MB / 0.9322 GB, free: 272 kB / 0.5261 GB