Running command: translateModel(ThermoPower.Examples.CISE.Simulators.CISESim2States120501,tolerance=1e-07,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Examples.CISE.Simulators.CISESim2States120501") Notification: Performance of loadModel(ThermoPower): time 2.088/2.088, allocations: 254.6 MB / 267.7 MB, free: 12.45 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 2.917e-05/2.931e-05, allocations: 0 / 330.8 MB, free: 13.19 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.309/0.3091, allocations: 60.23 MB / 391 MB, free: 4.898 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.418/7.727, allocations: 3.189 GB / 3.571 GB, free: 30.42 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002275/7.727, allocations: 90.16 kB / 3.571 GB, free: 30.37 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 2.38/10.11, allocations: 0.502 GB / 4.073 GB, free: 52.7 MB / 0.5261 GB Notification: Performance of FrontEnd: time 2.195e-06/10.11, allocations: 1.406 kB / 4.073 GB, free: 52.7 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 0.0002319/10.11, allocations: 60.17 kB / 4.073 GB, free: 52.69 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: 565 * Number of variables: 565 Notification: Performance of Generate backend data structure: time 0.0278/10.14, allocations: 5.614 MB / 4.079 GB, free: 51.34 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.269e-05/10.14, allocations: 7.75 kB / 4.079 GB, free: 51.34 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009589/10.14, allocations: 0.9922 MB / 4.08 GB, free: 51.2 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01084/10.16, allocations: 2.707 MB / 4.082 GB, free: 50.77 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.003377/10.16, allocations: 0.9471 MB / 4.083 GB, free: 50.55 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002243/10.16, allocations: 240.5 kB / 4.083 GB, free: 50.54 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0293/10.19, allocations: 8.687 MB / 4.092 GB, free: 50.2 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.111e-05/10.19, allocations: 2.375 kB / 4.092 GB, free: 50.2 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001885/10.19, allocations: 98.69 kB / 4.092 GB, free: 50.2 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001325/10.19, allocations: 97.41 kB / 4.092 GB, free: 50.19 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03529/10.23, allocations: 11.84 MB / 4.104 GB, free: 49.44 MB / 0.5261 GB Warning: The model contains alias variables with conflicting start and/or nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07106/10.3, allocations: 35.51 MB / 4.138 GB, free: 25.48 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01873/10.32, allocations: 6.619 MB / 4.145 GB, free: 22.68 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00898/10.33, allocations: 4.01 MB / 4.149 GB, free: 20.8 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.5941/10.92, allocations: 120.6 MB / 4.266 GB, free: 52.34 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.258e-05/10.92, allocations: 65.11 kB / 4.267 GB, free: 52.3 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=267): time 6.556e-06/10.92, allocations: 0 / 4.267 GB, free: 52.3 MB / 0.5573 GB Notification: Performance of matching and sorting (n=279): time 0.07724/11, allocations: 21.18 MB / 4.287 GB, free: 51.39 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.684e-05/11, allocations: 160.7 kB / 4.287 GB, free: 51.23 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001913/11, allocations: 1.024 MB / 4.288 GB, free: 51.07 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 0.001553/11, allocations: 79.61 kB / 4.288 GB, free: 51.04 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006036/11, allocations: 0.8306 MB / 4.289 GB, free: 50.77 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 0.001895/11, allocations: 0.9605 MB / 4.29 GB, free: 50.29 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001071/11.01, allocations: 53.44 kB / 4.29 GB, free: 50.29 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 0.0002302/11.01, allocations: 411 kB / 4.291 GB, free: 49.98 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01045/11.02, allocations: 4.399 MB / 4.295 GB, free: 49.97 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01105/11.03, allocations: 4.856 MB / 4.3 GB, free: 49.53 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.3642/11.39, allocations: 58.81 MB / 4.357 GB, free: 38.94 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.399e-05/11.39, allocations: 4 kB / 4.357 GB, free: 38.93 MB / 0.5573 GB Notification: Performance of matching and sorting (n=335) (initialization): time 0.03322/11.43, allocations: 11.85 MB / 4.369 GB, free: 33.23 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005315/11.43, allocations: 2.509 MB / 4.371 GB, free: 30.62 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.088e-05/11.43, allocations: 4 kB / 4.371 GB, free: 30.62 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.07268/11.5, allocations: 23.42 MB / 4.394 GB, free: 14.15 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.03853/11.54, allocations: 5.753 MB / 4.4 GB, free: 10 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02416/11.56, allocations: 12.47 MB / 4.412 GB, free: 14.7 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01173/11.57, allocations: 1.648 MB / 4.413 GB, free: 13.48 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00214/11.58, allocations: 343.1 kB / 4.414 GB, free: 13.29 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 1.655e-05/11.58, allocations: 8.625 kB / 4.414 GB, free: 13.28 MB / 0.573 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.4451/12.02, allocations: 26.29 MB / 4.439 GB, free: 97.89 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.193e-05/12.02, allocations: 3.875 kB / 4.439 GB, free: 97.89 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.04928/12.07, allocations: 17.6 MB / 4.457 GB, free: 97.82 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.04461/12.11, allocations: 5.93 MB / 4.462 GB, free: 97.57 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01926/12.13, allocations: 11.92 MB / 4.474 GB, free: 93.14 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01235/12.15, allocations: 1.646 MB / 4.476 GB, free: 93.05 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001945/12.15, allocations: 350.3 kB / 4.476 GB, free: 93.05 MB / 0.573 GB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization sytem: $DER.Plant.SH.p = 0.0. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 28 * Number of states: 0 () * Number of discrete variables: 12 (Plant.Pipe2Valve.fluidState[2].phase,Plant.Pipe2Valve.fluidState[1].phase,Plant.SH.fluidState[5].phase,Plant.SH.fluidState[4].phase,Plant.SH.fluidState[3].phase,Plant.SH.fluidState[2].phase,Plant.SH.fluidState[1].phase,Plant.SH.heatTransfer.dew.phase,Plant.SH.heatTransfer.bubble.phase,Plant.Pipe2SH.fluidState[2].phase,Plant.Pipe2SH.fluidState[1].phase,Plant.Valve.fluidState.phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (233): * Single equations (assignments): 227 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 4 {1 3,1 8,5 70,2 13} Notification: Performance of prepare postOptimizeDAE: time 0.002149/12.15, allocations: 259.9 kB / 4.476 GB, free: 92.94 MB / 0.573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001389/12.15, allocations: 215.4 kB / 4.476 GB, free: 92.94 MB / 0.573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.05349/12.2, allocations: 25.94 MB / 4.502 GB, free: 92.27 MB / 0.573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.05131/12.26, allocations: 24.13 MB / 4.525 GB, free: 88.39 MB / 0.573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.056e-05/12.26, allocations: 11.58 kB / 4.525 GB, free: 88.39 MB / 0.573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.964e-05/12.26, allocations: 16.83 kB / 4.525 GB, free: 88.39 MB / 0.573 GB Warning: The model contains alias variables with conflicting start and/or nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0853/12.34, allocations: 43.7 MB / 4.568 GB, free: 61.61 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.393e-05/12.34, allocations: 6.984 kB / 4.568 GB, free: 61.61 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01167/12.35, allocations: 2.046 MB / 4.57 GB, free: 60.18 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.2107/12.56, allocations: 32.05 MB / 4.601 GB, free: 36.52 MB / 0.573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001812/12.57, allocations: 252.1 kB / 4.602 GB, free: 36.39 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.3796/12.95, allocations: 26.19 MB / 4.627 GB, free: 94.86 MB / 0.573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.996e-06/12.95, allocations: 1.5 kB / 4.627 GB, free: 94.86 MB / 0.573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.05645/13, allocations: 21.15 MB / 4.648 GB, free: 94.33 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004374/13.01, allocations: 1.402 MB / 4.649 GB, free: 94.2 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001407/13.01, allocations: 70.45 kB / 4.649 GB, free: 94.2 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01081/13.02, allocations: 1.618 MB / 4.651 GB, free: 94.19 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001879/13.02, allocations: 429.5 kB / 4.651 GB, free: 94.18 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001263/13.02, allocations: 248.3 kB / 4.651 GB, free: 94.18 MB / 0.573 GB Notification: Performance of sorting global known variables: time 0.00156/13.02, allocations: 0.7951 MB / 4.652 GB, free: 94.07 MB / 0.573 GB Notification: Performance of sort global known variables: time 8.21e-07/13.02, allocations: 0 / 4.652 GB, free: 94.07 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.01487/13.04, allocations: 3.062 MB / 4.655 GB, free: 94.07 MB / 0.573 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 16 (Plant.Pipe2SH.p,Plant.Pipe2SH.htilde[1],Plant.SH.htilde[1],Plant.SH.htilde[2],Plant.SH.htilde[3],Plant.SH.htilde[4],Plant.Pipe2Valve.p,Plant.Pipe2Valve.htilde[1],Plant.Pipe2SHWall.Tvol[1],Plant.SHWall.Tvol[1],Plant.SHWall.Tvol[2],Plant.SHWall.Tvol[3],Plant.SHWall.Tvol[4],Plant.Pipe2ValveWall.Tvol[1],Plant.DrumBoiler.Vld,Plant.DrumBoiler.p) * Number of discrete variables: 28 ($cse2.phase,$cse2.region,$cse3.phase,$cse3.region,$cse6.region3boundary,$cse7.region3boundary,$cse8.phase,$cse8.region,$cse10.region3boundary,$cse11.region3boundary,$cse12.phase,$cse12.region,$cse13.phase,$cse13.region,$cse14.phase,$cse14.region,$cse15.phase,$cse15.region,$cse16.phase,$cse16.region,$cse19.phase,$cse19.region,$cse20.phase,$cse20.region,$cse25.phase,$cse25.region,$cse32.region3boundary,$cse33.region3boundary) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (250): * Single equations (assignments): 220 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 18 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 11 * 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: 8 {(1,100.0%) 1,(1,100.0%) 1,(6,72.2%) 13,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 3 {2 7,1 11,1 12} Notification: Performance of Backend phase and start with SimCode phase: time 0.008591/13.05, allocations: 1.921 MB / 4.657 GB, free: 93.95 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.03928/13.09, allocations: 16.51 MB / 4.673 GB, free: 93.51 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 8.974e-06/13.09, allocations: 1.75 kB / 4.673 GB, free: 93.51 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 0.01572/13.1, allocations: 6.693 MB / 4.68 GB, free: 92.65 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006316/13.11, allocations: 0.9038 MB / 4.681 GB, free: 92.63 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02413/13.13, allocations: 10.18 MB / 4.691 GB, free: 91.52 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002082/13.14, allocations: 2.148 MB / 4.693 GB, free: 90.76 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 0.02029/13.16, allocations: 10.73 MB / 4.703 GB, free: 90.55 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004448/13.16, allocations: 496.3 kB / 4.704 GB, free: 90.55 MB / 0.573 GB Notification: Performance of SimCode: time 1.865e-06/13.16, allocations: 0 / 4.704 GB, free: 90.55 MB / 0.573 GB Notification: Performance of Templates: time 0.6838/13.84, allocations: 223 MB / 4.921 GB, free: 86.18 MB / 0.573 GB