Running command: translateModel(Modelica.Thermal.FluidHeatFlow.Examples.TwoTanks,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_trunk_cpp_Modelica.Thermal.FluidHeatFlow.Examples.TwoTanks") Notification: Performance of loadModel(Modelica): time 1.967/1.967, allocations: 225.8 MB / 239.3 MB, free: 11.18 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.759e-05/2.776e-05, allocations: 4 kB / 292.1 MB, free: 8.844 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09345/0.0935, allocations: 50.42 MB / 342.5 MB, free: 6.402 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3635/0.457, allocations: 79.51 MB / 422.1 MB, free: 14.64 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002229/0.4573, allocations: 70.22 kB / 422.1 MB, free: 14.61 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02408/0.4814, allocations: 6.014 MB / 428.1 MB, free: 9.562 MB / 346.7 MB Notification: Performance of FrontEnd: time 5.467e-06/0.4814, allocations: 4 kB / 428.1 MB, free: 9.559 MB / 346.7 MB Notification: Performance of Transformations before backend: time 2.63e-05/0.4815, allocations: 4 kB / 428.2 MB, free: 9.555 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 50 * Number of variables: 50 Notification: Performance of Generate backend data structure: time 0.001005/0.4825, allocations: 0.5728 MB / 428.7 MB, free: 8.953 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.043e-05/0.4825, allocations: 8.031 kB / 428.7 MB, free: 8.945 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001125/0.4826, allocations: 43.53 kB / 428.8 MB, free: 8.902 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004781/0.4831, allocations: 289 kB / 429.1 MB, free: 8.609 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001214/0.4833, allocations: 46.02 kB / 429.1 MB, free: 8.562 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.627e-05/0.4834, allocations: 23.5 kB / 429.1 MB, free: 8.547 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005835/0.4839, allocations: 302.4 kB / 429.4 MB, free: 8.289 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.771e-05/0.484, allocations: 0 / 429.4 MB, free: 8.289 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.222e-05/0.484, allocations: 15.45 kB / 429.4 MB, free: 8.281 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.517e-06/0.4841, allocations: 4 kB / 429.4 MB, free: 8.277 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004706/0.4845, allocations: 175.8 kB / 429.6 MB, free: 8.164 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001866/0.4864, allocations: 0.8171 MB / 430.4 MB, free: 7.484 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007233/0.4872, allocations: 260 kB / 430.7 MB, free: 7.297 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002362/0.4874, allocations: 105.1 kB / 430.8 MB, free: 7.234 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.856e-05/0.4875, allocations: 4 kB / 430.8 MB, free: 7.23 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.647e-05/0.4875, allocations: 46.44 kB / 430.8 MB, free: 7.18 MB / 346.7 MB Notification: Performance of pre-optimization done (n=29): time 4.041e-06/0.4876, allocations: 0 / 430.8 MB, free: 7.18 MB / 346.7 MB Notification: Performance of matching and sorting (n=29): time 0.0007474/0.4883, allocations: 266.4 kB / 431.1 MB, free: 6.977 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001982/0.4885, allocations: 319.6 kB / 431.4 MB, free: 6.594 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003664/0.4889, allocations: 252.8 kB / 431.7 MB, free: 6.387 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 4.819e-05/0.489, allocations: 32.64 kB / 431.7 MB, free: 6.352 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000156/0.4891, allocations: 217.7 kB / 431.9 MB, free: 6.172 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001112/0.4893, allocations: 104.2 kB / 432 MB, free: 6.082 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.372e-05/0.4893, allocations: 7.125 kB / 432 MB, free: 6.078 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001681/0.4895, allocations: 322 kB / 432.3 MB, free: 5.762 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002122/0.4897, allocations: 77.75 kB / 432.4 MB, free: 5.715 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003476/0.4901, allocations: 194.7 kB / 432.6 MB, free: 5.523 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003017/0.4904, allocations: 137.5 kB / 432.7 MB, free: 5.418 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.682e-06/0.4904, allocations: 0 / 432.7 MB, free: 5.418 MB / 346.7 MB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0007653/0.4912, allocations: 321.5 kB / 433 MB, free: 5.168 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.057e-05/0.4913, allocations: 33.66 kB / 433.1 MB, free: 5.129 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.96e-06/0.4913, allocations: 0 / 433.1 MB, free: 5.129 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001779/0.4915, allocations: 36.16 kB / 433.1 MB, free: 5.098 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001206/0.4927, allocations: 207.6 kB / 433.3 MB, free: 4.898 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004119/0.4968, allocations: 2.939 MB / 436.2 MB, free: 1.875 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003803/0.4972, allocations: 38.56 kB / 436.3 MB, free: 1.844 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.879e-05/0.4973, allocations: 11.94 kB / 436.3 MB, free: 1.836 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (33): * Single equations (assignments): 30 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {3 2} Notification: Performance of prepare postOptimizeDAE: time 0.0001665/0.4975, allocations: 122.1 kB / 436.4 MB, free: 1.719 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001051/0.4976, allocations: 47.27 kB / 436.5 MB, free: 1.676 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.454e-05/0.4977, allocations: 31.89 kB / 436.5 MB, free: 1.656 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.686e-06/0.4977, allocations: 4 kB / 436.5 MB, free: 1.652 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.84e-06/0.4977, allocations: 0 / 436.5 MB, free: 1.652 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0008536/0.4986, allocations: 0.6387 MB / 437.1 MB, free: 0.9688 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005943/0.4992, allocations: 382 kB / 437.5 MB, free: 0.625 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.263e-06/0.4992, allocations: 7.922 kB / 437.5 MB, free: 0.6172 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001583/0.5008, allocations: 259.7 kB / 437.8 MB, free: 372 kB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001058/0.5009, allocations: 27.09 kB / 437.8 MB, free: 348 kB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.211e-05/0.501, allocations: 11.36 kB / 437.8 MB, free: 340 kB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003617/0.5046, allocations: 2.767 MB / 440.6 MB, free: 13.42 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.332e-06/0.5047, allocations: 0 / 440.6 MB, free: 13.42 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000985/0.5057, allocations: 486 kB / 441 MB, free: 13.04 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002212/0.5059, allocations: 141.6 kB / 441.2 MB, free: 12.9 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.932e-05/0.506, allocations: 5.938 kB / 441.2 MB, free: 12.9 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003151/0.5063, allocations: 21.11 kB / 441.2 MB, free: 12.88 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.087e-05/0.5064, allocations: 27.28 kB / 441.2 MB, free: 12.86 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.273e-05/0.5065, allocations: 11.61 kB / 441.2 MB, free: 12.85 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0002825/0.5068, allocations: 193.6 kB / 441.4 MB, free: 12.7 MB / 362.7 MB Notification: Performance of sort global known variables: time 8.52e-07/0.5068, allocations: 0 / 441.4 MB, free: 12.7 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0005936/0.5074, allocations: 106.8 kB / 441.5 MB, free: 12.6 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (openTank1.m,openTank1.H,openTank2.m,openTank2.H) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (27): * Single equations (assignments): 25 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 2} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002239/0.5076, allocations: 126.4 kB / 441.7 MB, free: 12.48 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.001635/0.5093, allocations: 0.5243 MB / 442.2 MB, free: 12 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 5.489e-06/0.5093, allocations: 0 / 442.2 MB, free: 12 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001513/0.5108, allocations: 399.9 kB / 442.6 MB, free: 11.64 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005976/0.5115, allocations: 77.03 kB / 442.7 MB, free: 11.59 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001918/0.5134, allocations: 0.6849 MB / 443.3 MB, free: 10.93 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005102/0.5139, allocations: 0.784 MB / 444.1 MB, free: 10.11 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001218/0.5141, allocations: 31.42 kB / 444.2 MB, free: 10.08 MB / 362.7 MB Notification: Performance of SimCode: time 1.765e-06/0.5141, allocations: 0 / 444.2 MB, free: 10.08 MB / 362.7 MB Notification: Performance of Templates: time 0.01223/0.5263, allocations: 6.461 MB / 450.6 MB, free: 3.68 MB / 362.7 MB