Running command: translateModel(Modelica.Thermal.FluidHeatFlow.Examples.TwoTanks,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|openTank1.H|openTank1.m|openTank2.H|openTank2.m",fileNamePrefix="Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.TwoTanks") Notification: Performance of loadModel(Modelica): time 2.22/2.22, allocations: 205.8 MB / 218.9 MB, free: 9.27 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.876e-05/3.888e-05, allocations: 0 / 269.3 MB, free: 6.402 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1058/0.1059, allocations: 47.57 MB / 316.9 MB, free: 6.742 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3498/0.4557, allocations: 79.92 MB / 396.8 MB, free: 8.219 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002239/0.456, allocations: 67.78 kB / 396.9 MB, free: 8.184 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02453/0.4806, allocations: 6.08 MB / 403 MB, free: 3.062 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.991e-06/0.4806, allocations: 0 / 403 MB, free: 3.062 MB / 314.7 MB Notification: Performance of Transformations before backend: time 2.721e-05/0.4807, allocations: 8 kB / 403 MB, free: 3.055 MB / 314.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.001044/0.4817, allocations: 0.5782 MB / 403.6 MB, free: 2.449 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.307e-05/0.4818, allocations: 8.031 kB / 403.6 MB, free: 2.441 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001183/0.4819, allocations: 43.53 kB / 403.6 MB, free: 2.398 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004798/0.4824, allocations: 285.8 kB / 403.9 MB, free: 2.109 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001256/0.4825, allocations: 56.64 kB / 404 MB, free: 2.055 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.579e-05/0.4826, allocations: 19.31 kB / 404 MB, free: 2.043 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006048/0.4832, allocations: 303.9 kB / 404.3 MB, free: 1.777 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.599e-05/0.4833, allocations: 0 / 404.3 MB, free: 1.777 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.938e-05/0.4833, allocations: 11.62 kB / 404.3 MB, free: 1.773 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.166e-06/0.4833, allocations: 8 kB / 404.3 MB, free: 1.766 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004469/0.4838, allocations: 173.7 kB / 404.5 MB, free: 1.652 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001865/0.4857, allocations: 0.8079 MB / 405.3 MB, free: 0.9844 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007331/0.4864, allocations: 263.3 kB / 405.5 MB, free: 0.793 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002377/0.4867, allocations: 106.5 kB / 405.6 MB, free: 0.7305 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.148e-05/0.4867, allocations: 8.641 kB / 405.6 MB, free: 0.7227 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.975e-05/0.4868, allocations: 42.47 kB / 405.7 MB, free: 0.6758 MB / 314.7 MB Notification: Performance of pre-optimization done (n=29): time 3.357e-06/0.4868, allocations: 0 / 405.7 MB, free: 0.6758 MB / 314.7 MB Notification: Performance of matching and sorting (n=29): time 0.0007422/0.4876, allocations: 263.8 kB / 405.9 MB, free: 488 kB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001976/0.4878, allocations: 316.4 kB / 406.3 MB, free: 96 kB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003956/0.4882, allocations: 253.6 kB / 406.5 MB, free: 15.89 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 5.086e-05/0.4882, allocations: 37.52 kB / 406.5 MB, free: 15.85 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001483/0.4884, allocations: 174.1 kB / 406.7 MB, free: 15.71 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001106/0.4885, allocations: 98.12 kB / 406.8 MB, free: 15.63 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.254e-05/0.4886, allocations: 7.688 kB / 406.8 MB, free: 15.63 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001829/0.4888, allocations: 338.2 kB / 407.1 MB, free: 15.3 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002273/0.489, allocations: 78.5 kB / 407.2 MB, free: 15.25 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003404/0.4894, allocations: 198.2 kB / 407.4 MB, free: 15.06 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000286/0.4897, allocations: 136.7 kB / 407.5 MB, free: 14.96 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.756e-06/0.4897, allocations: 3.953 kB / 407.5 MB, free: 14.95 MB / 330.7 MB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0007688/0.4905, allocations: 334.9 kB / 407.9 MB, free: 14.69 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.703e-05/0.4905, allocations: 33.7 kB / 407.9 MB, free: 14.65 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.326e-06/0.4905, allocations: 0 / 407.9 MB, free: 14.65 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000185/0.4907, allocations: 40.44 kB / 407.9 MB, free: 14.62 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001271/0.492, allocations: 207.8 kB / 408.2 MB, free: 14.41 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004184/0.4962, allocations: 2.941 MB / 411.1 MB, free: 11.38 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000396/0.4967, allocations: 42.78 kB / 411.1 MB, free: 11.35 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.299e-05/0.4967, allocations: 8 kB / 411.1 MB, free: 11.34 MB / 330.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.0001892/0.4969, allocations: 135 kB / 411.3 MB, free: 11.21 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001019/0.4971, allocations: 31.62 kB / 411.3 MB, free: 11.18 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001015/0.4972, allocations: 38.45 kB / 411.3 MB, free: 11.16 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.615e-06/0.4972, allocations: 4 kB / 411.3 MB, free: 11.16 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.983e-06/0.4972, allocations: 0 / 411.3 MB, free: 11.16 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0008755/0.4981, allocations: 0.6324 MB / 412 MB, free: 10.48 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006278/0.4987, allocations: 386.8 kB / 412.4 MB, free: 10.13 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.511e-06/0.4988, allocations: 0 / 412.4 MB, free: 10.13 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001699/0.5005, allocations: 255.1 kB / 412.6 MB, free: 9.883 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000113/0.5006, allocations: 24.59 kB / 412.6 MB, free: 9.859 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.343e-05/0.5007, allocations: 7.312 kB / 412.6 MB, free: 9.855 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003683/0.5044, allocations: 2.78 MB / 415.4 MB, free: 6.926 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.927e-06/0.5044, allocations: 0 / 415.4 MB, free: 6.926 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00105/0.5055, allocations: 486 kB / 415.9 MB, free: 6.551 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002352/0.5057, allocations: 142.2 kB / 416 MB, free: 6.41 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.745e-05/0.5058, allocations: 7.938 kB / 416 MB, free: 6.406 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000308/0.5061, allocations: 19.5 kB / 416.1 MB, free: 6.391 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.946e-05/0.5063, allocations: 27.2 kB / 416.1 MB, free: 6.367 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.291e-05/0.5063, allocations: 11.5 kB / 416.1 MB, free: 6.359 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0003003/0.5066, allocations: 189.2 kB / 416.3 MB, free: 6.203 MB / 330.7 MB Notification: Performance of sort global known variables: time 8.7e-07/0.5066, allocations: 0 / 416.3 MB, free: 6.203 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0006171/0.5073, allocations: 116.5 kB / 416.4 MB, free: 6.102 MB / 330.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.0002383/0.5075, allocations: 123 kB / 416.5 MB, free: 5.977 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.001736/0.5093, allocations: 0.5166 MB / 417 MB, free: 5.516 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 4.729e-06/0.5093, allocations: 0 / 417 MB, free: 5.516 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001621/0.5109, allocations: 403.9 kB / 417.4 MB, free: 5.148 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006507/0.5116, allocations: 89.66 kB / 417.5 MB, free: 5.082 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002008/0.5136, allocations: 0.6563 MB / 418.2 MB, free: 4.453 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005084/0.5142, allocations: 0.7801 MB / 418.9 MB, free: 3.645 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0002215/0.5144, allocations: 38.89 kB / 419 MB, free: 3.602 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001016/0.5145, allocations: 30.5 kB / 419 MB, free: 3.574 MB / 330.7 MB Notification: Performance of SimCode: time 1.678e-06/0.5145, allocations: 0 / 419 MB, free: 3.574 MB / 330.7 MB Notification: Performance of Templates: time 0.01521/0.5298, allocations: 5.454 MB / 424.5 MB, free: 14.16 MB / 346.7 MB