Running command: translateModel(ThermalSeparation.Examples.Testing.Pump.PumpSystem,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermalSeparation_ThermalSeparation.Examples.Testing.Pump.PumpSystem") Notification: Performance of loadModel(ThermalSeparation): time 2.515/2.515, allocations: 260.3 MB / 272.9 MB, free: 6.406 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 2.911e-05/2.923e-05, allocations: 4 kB / 334.8 MB, free: 8.422 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3225/0.3225, allocations: 58.97 MB / 393.8 MB, free: 1.422 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.7136/1.036, allocations: 245.3 MB / 0.6241 GB, free: 24.75 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001666/1.036, allocations: 61.47 kB / 0.6242 GB, free: 24.73 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2042/1.241, allocations: 59.12 MB / 0.6819 GB, free: 7.367 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.762e-06/1.241, allocations: 0 / 0.6819 GB, free: 7.367 MB / 490.7 MB Notification: Performance of Transformations before backend: time 8.46e-05/1.241, allocations: 39.94 kB / 0.682 GB, free: 7.328 MB / 490.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 546 * Number of variables: 546 Notification: Performance of Generate backend data structure: time 0.006126/1.247, allocations: 1.787 MB / 0.6837 GB, free: 5.484 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.87e-05/1.247, allocations: 12.03 kB / 0.6837 GB, free: 5.473 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009672/1.248, allocations: 193.7 kB / 0.6839 GB, free: 5.281 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002309/1.25, allocations: 0.7619 MB / 0.6847 GB, free: 4.48 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002001/1.25, allocations: 144 kB / 0.6848 GB, free: 4.336 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001268/1.252, allocations: 259.9 kB / 0.685 GB, free: 4.082 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007809/1.26, allocations: 2.603 MB / 0.6876 GB, free: 1.277 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.824e-05/1.26, allocations: 11.88 kB / 0.6876 GB, free: 1.266 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003827/1.26, allocations: 91.98 kB / 0.6877 GB, free: 1.176 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002099/1.26, allocations: 127.5 kB / 0.6878 GB, free: 1.051 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006258/1.267, allocations: 2.033 MB / 0.6898 GB, free: 15.01 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0197/1.286, allocations: 10.33 MB / 0.6999 GB, free: 4.273 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003959/1.29, allocations: 2.745 MB / 0.7026 GB, free: 1.078 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001587/1.292, allocations: 0.5787 MB / 0.7031 GB, free: 492 kB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000139/1.292, allocations: 25.14 kB / 0.7031 GB, free: 464 kB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.501e-05/1.292, allocations: 51.5 kB / 0.7032 GB, free: 404 kB / 0.4948 GB Notification: Performance of pre-optimization done (n=114): time 5.839e-06/1.292, allocations: 0 / 0.7032 GB, free: 404 kB / 0.4948 GB Notification: Performance of matching and sorting (n=139): time 0.02548/1.318, allocations: 6.654 MB / 0.7097 GB, free: 9.648 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.01701/1.335, allocations: 6.04 MB / 0.7156 GB, free: 3.266 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00199/1.337, allocations: 0.9609 MB / 0.7165 GB, free: 2.281 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.0003035/1.337, allocations: 49.7 kB / 0.7166 GB, free: 2.227 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009288/1.338, allocations: 0.9317 MB / 0.7175 GB, free: 1.277 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.000815/1.339, allocations: 0.4971 MB / 0.718 GB, free: 0.7734 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002107/1.339, allocations: 44 kB / 0.718 GB, free: 0.7305 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0003827/1.34, allocations: 447.6 kB / 0.7184 GB, free: 292 kB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.2925/1.632, allocations: 0.8593 MB / 0.7193 GB, free: 129.6 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00336/1.636, allocations: 1.807 MB / 0.721 GB, free: 128.4 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003212/1.639, allocations: 1.206 MB / 0.7222 GB, free: 128.4 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.173e-05/1.639, allocations: 8.969 kB / 0.7222 GB, free: 128.4 MB / 0.5105 GB Notification: Performance of matching and sorting (n=301) (initialization): time 0.0123/1.651, allocations: 3.477 MB / 0.7256 GB, free: 128.3 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 5.702e-05/1.651, allocations: 23.05 kB / 0.7256 GB, free: 128.3 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.22e-05/1.651, allocations: 30.56 kB / 0.7257 GB, free: 128.3 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005898/1.657, allocations: 0.9429 MB / 0.7266 GB, free: 128.3 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003962/1.661, allocations: 0.5384 MB / 0.7271 GB, free: 128.3 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01262/1.674, allocations: 6.063 MB / 0.733 GB, free: 125.9 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003327/1.677, allocations: 222.2 kB / 0.7333 GB, free: 125.9 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005391/1.678, allocations: 132.2 kB / 0.7334 GB, free: 125.9 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 147 * Number of states: 0 () * Number of discrete variables: 5 (tank.mediumLiquidIn.state.phase,tank.mediumLiquid.state.phase,sourceLiquid.medium.state.phase,idealPumpControlledVdot.mediumLiquidIn.state.phase,idealPumpControlledVdot.mediumLiquid.state.phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (269): * Single equations (assignments): 264 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(8,67.2%) 15} * Non-linear torn systems: 2 {1 3,1 3} Notification: Performance of prepare postOptimizeDAE: time 0.0005922/1.678, allocations: 256.7 kB / 0.7336 GB, free: 125.8 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004649/1.679, allocations: 128.4 kB / 0.7337 GB, free: 125.8 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0101/1.689, allocations: 2.827 MB / 0.7365 GB, free: 125.6 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.009226/1.698, allocations: 2.456 MB / 0.7389 GB, free: 125.5 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.015e-05/1.698, allocations: 10.52 kB / 0.7389 GB, free: 125.5 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.275e-05/1.698, allocations: 10.77 kB / 0.7389 GB, free: 125.5 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01818/1.717, allocations: 6.006 MB / 0.7448 GB, free: 124.7 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.449e-05/1.717, allocations: 7.938 kB / 0.7448 GB, free: 124.7 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002396/1.719, allocations: 250.3 kB / 0.745 GB, free: 124.7 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.007537/1.727, allocations: 1.242 MB / 0.7463 GB, free: 124.7 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003657/1.727, allocations: 43.81 kB / 0.7463 GB, free: 124.7 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01091/1.738, allocations: 5.891 MB / 0.752 GB, free: 121.4 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.01213/1.75, allocations: 5.301 MB / 0.7572 GB, free: 117.8 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01186/1.762, allocations: 4.523 MB / 0.7616 GB, free: 115.3 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005338/1.763, allocations: 220.5 kB / 0.7619 GB, free: 115.2 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000378/1.763, allocations: 38.45 kB / 0.7619 GB, free: 115.2 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00237/1.766, allocations: 138.8 kB / 0.762 GB, free: 115.1 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004223/1.766, allocations: 112.7 kB / 0.7621 GB, free: 115.1 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001716/1.766, allocations: 51.61 kB / 0.7622 GB, free: 115.1 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.001193/1.767, allocations: 0.6797 MB / 0.7628 GB, free: 114.8 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.01e-06/1.767, allocations: 0 / 0.7628 GB, free: 114.8 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.003996/1.771, allocations: 0.5933 MB / 0.7634 GB, free: 114.7 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 25 * Number of states: 4 ($STATESET1.x[3],$STATESET1.x[2],$STATESET1.x[1],tank.level) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (120): * Single equations (assignments): 116 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(7,61.2%) 10} * Non-linear torn systems: 3 {1 3,6 7,1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.0005551/1.772, allocations: 228.8 kB / 0.7636 GB, free: 114.6 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.007383/1.779, allocations: 2.448 MB / 0.766 GB, free: 113.7 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 8.579e-06/1.779, allocations: 0 / 0.766 GB, free: 113.7 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.004943/1.784, allocations: 1.308 MB / 0.7673 GB, free: 113.2 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002826/1.787, allocations: 376.8 kB / 0.7677 GB, free: 113.1 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008193/1.795, allocations: 3.077 MB / 0.7707 GB, free: 111.6 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001452/1.797, allocations: 1.449 MB / 0.7721 GB, free: 110.8 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.002697/1.8, allocations: 456 kB / 0.7725 GB, free: 110.7 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006398/1.8, allocations: 115 kB / 0.7726 GB, free: 110.7 MB / 0.5105 GB Notification: Performance of SimCode: time 1.854e-06/1.8, allocations: 0 / 0.7726 GB, free: 110.7 MB / 0.5105 GB Notification: Performance of Templates: time 0.06444/1.865, allocations: 28.38 MB / 0.8003 GB, free: 105 MB / 0.5105 GB