Notification: Performance of FrontEnd - loaded program: time 2.278e-05/2.293e-05, allocations: 7.938 kB / 3.183 GB, free: 46.62 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08801/0.08806, allocations: 44.51 MB / 3.227 GB, free: 30.07 MB / 334.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.433/7.522, allocations: 2.913 GB / 6.14 GB, free: 68.49 MB / 398.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002311/7.522, allocations: 83.62 kB / 6.14 GB, free: 68.49 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 21.53/29.06, allocations: 3.95 GB / 10.09 GB, free: 43.71 MB / 0.6544 GB Notification: Performance of FrontEnd: time 3.068e-06/29.06, allocations: 0 / 10.09 GB, free: 43.71 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 0.001466/29.06, allocations: 237.2 kB / 10.09 GB, free: 43.68 MB / 0.6544 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2226 * Number of variables: 2226 Notification: Performance of Generate backend data structure: time 0.08817/29.15, allocations: 14.73 MB / 10.1 GB, free: 37.16 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 5.857e-05/29.15, allocations: 11.14 kB / 10.1 GB, free: 37.16 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04993/29.2, allocations: 3.334 MB / 10.11 GB, free: 36.63 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03322/29.23, allocations: 6.166 MB / 10.11 GB, free: 35.58 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00216/29.23, allocations: 1.058 MB / 10.11 GB, free: 34.88 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004568/29.24, allocations: 0.5188 MB / 10.11 GB, free: 34.86 MB / 0.6544 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.04168/29.28, allocations: 9.993 MB / 10.12 GB, free: 34.82 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05457/29.33, allocations: 10.86 MB / 10.14 GB, free: 32.79 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0007386/29.33, allocations: 35.31 kB / 10.14 GB, free: 32.79 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004502/29.34, allocations: 28.58 kB / 10.14 GB, free: 32.79 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001519/29.34, allocations: 0.5233 MB / 10.14 GB, free: 32.77 MB / 0.6544 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.3003/29.64, allocations: 70.72 MB / 10.2 GB, free: 8.984 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.023/29.66, allocations: 7.811 MB / 10.21 GB, free: 8.832 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01287/29.68, allocations: 4.324 MB / 10.22 GB, free: 8.785 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 0.1415/29.82, allocations: 47.89 MB / 10.26 GB, free: 14.45 MB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01253/29.83, allocations: 4.482 MB / 10.27 GB, free: 14.29 MB / 0.7012 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.006537/29.84, allocations: 0.4963 MB / 10.27 GB, free: 14.01 MB / 0.7012 GB Notification: Performance of pre-optimization done (n=792): time 4.873e-05/29.84, allocations: 0 / 10.27 GB, free: 14.01 MB / 0.7012 GB Notification: Performance of matching and sorting (n=866): time 0.2616/30.1, allocations: 28.84 MB / 10.3 GB, free: 11.34 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000255/30.1, allocations: 282.3 kB / 10.3 GB, free: 11.11 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008555/30.11, allocations: 3.629 MB / 10.3 GB, free: 10.68 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 0.002091/30.11, allocations: 92.44 kB / 10.3 GB, free: 10.65 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 0.004416/30.11, allocations: 3.591 MB / 10.3 GB, free: 9.168 MB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 0.004879/30.12, allocations: 2.723 MB / 10.31 GB, free: 7.398 MB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001669/30.12, allocations: 0 / 10.31 GB, free: 7.398 MB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 0.0008995/30.12, allocations: 0.6868 MB / 10.31 GB, free: 7.074 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01036/30.13, allocations: 3.92 MB / 10.31 GB, free: 7.051 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01294/30.14, allocations: 5.918 MB / 10.32 GB, free: 4.855 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.5061/30.65, allocations: 10.82 MB / 10.33 GB, free: 81.6 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002036/30.65, allocations: 21.47 kB / 10.33 GB, free: 81.6 MB / 0.7012 GB Notification: Performance of matching and sorting (n=1287) (initialization): time 0.1419/30.79, allocations: 18.8 MB / 10.35 GB, free: 81.02 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 0.005331/30.8, allocations: 26.29 MB / 10.37 GB, free: 52.89 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002616/30.8, allocations: 57.75 kB / 10.37 GB, free: 52.89 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01175/30.81, allocations: 2.708 MB / 10.37 GB, free: 52.64 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01303/30.82, allocations: 2.105 MB / 10.38 GB, free: 52.64 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03508/30.86, allocations: 27.82 MB / 10.4 GB, free: 30.99 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0201/30.88, allocations: 0.8253 MB / 10.4 GB, free: 30.99 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.004846/30.88, allocations: 481.7 kB / 10.4 GB, free: 30.99 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 2.256e-05/30.88, allocations: 3.656 kB / 10.4 GB, free: 30.99 MB / 0.7012 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.1786/31.06, allocations: 17.56 MB / 10.42 GB, free: 30.43 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003981/31.06, allocations: 57.47 kB / 10.42 GB, free: 30.43 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01578/31.08, allocations: 2.333 MB / 10.42 GB, free: 30.18 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.02191/31.1, allocations: 2.147 MB / 10.43 GB, free: 30.18 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0677/31.17, allocations: 34.79 MB / 10.46 GB, free: 3.516 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02099/31.19, allocations: 0.8068 MB / 10.46 GB, free: 3.516 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003901/31.19, allocations: 473.5 kB / 10.46 GB, free: 3.516 MB / 0.7012 GB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: $DER.B2.V:DUMMY_DER(fixed = false ) "Actual tank volume" type: Real Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: $DER.B3.V:DUMMY_DER(fixed = false ) "Actual tank volume" type: Real Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: $DER.B1.V:DUMMY_DER(fixed = false ) "Actual tank volume" type: Real Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: $DER.B6.V:DUMMY_DER(fixed = false ) "Actual tank volume" type: Real Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: $DER.B7.V:DUMMY_DER(fixed = false ) "Actual tank volume" type: Real Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: $DER.B4.V:DUMMY_DER(fixed = false ) "Actual tank volume" type: Real Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: $DER.B5.V:DUMMY_DER(fixed = false ) "Actual tank volume" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 255 * Number of states: 0 () * Number of discrete variables: 288 ($PRE.controller.Transition1.enableFire,$PRE.controller.Transition2.enableFire,$PRE.controller.Transition3.enableFire,$PRE.controller.Transition4.enableFire,$PRE.controller.Transition5.enableFire,$PRE.controller.Transition6.enableFire,$PRE.controller.Transition7.enableFire,$PRE.controller.Transition8.enableFire,$PRE.controller.Transition9.enableFire,$PRE.controller.Transition10.enableFire,$PRE.controller.Transition11.enableFire,$PRE.controller.Transition12.enableFire,$PRE.controller.Transition13.enableFire,$PRE.controller.TransitionWithSignal1.enableFire,controller.stateGraphRoot.resume,controller.stateGraphRoot.suspend,controller.actuators.V21,controller.actuators.V19,controller.actuators.V10,controller.actuators.V4,controller.actuators.V2,pipeB7Pump.flowModel.states[2].phase,pipeB7Pump.flowModel.states[1].phase,pipeB6Pump.flowModel.states[2].phase,pipeB6Pump.flowModel.states[1].phase,pipeB1B1.flowModel.states[2].phase,pipeB1B1.flowModel.states[1].phase,pipeB2B3.flowModel.states[2].phase,pipeB2B3.flowModel.states[1].phase,pipeB1B3.flowModel.states[2].phase,pipeB1B3.flowModel.states[1].phase,controller.Transition7.condition,controller.Transition3.condition,controller.Transition1.condition,$whenCondition7,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,$PRE.B5.InnerTankTop[1].m_flow_negative,B5.InnerTankTop[1].m_flow_negative,$PRE.B5.InnerTankSide[1].m_flow_negative,B5.InnerTankSide[1].m_flow_negative,$PRE.B5.InnerTankBottom[1].m_flow_negative,B5.InnerTankBottom[1].m_flow_negative,B5.heatTransfer.states[1].phase,$PRE.controller.InitialStep1.localActive,controller.InitialStep1.localActive,$PRE.controller.InitialStep1.newActive,controller.InitialStep1.newActive,$PRE.controller.InitialStep1.oldActive,controller.InitialStep1.oldActive,controller.InitialStep1.active,controller.Transition1.enableFire,controller.Transition1.fire,$PRE.controller.Transition1.t_start,controller.Transition1.t_start,$PRE.controller.Step1.localActive,controller.Step1.localActive,$PRE.controller.Step1.newActive,controller.Step1.newActive,$PRE.controller.Step1.oldActive,controller.Step1.oldActive,controller.Step1.active,controller.Transition2.enableFire,controller.Transition2.condition,$PRE.controller.Step2.localActive,controller.Step2.localActive,$PRE.controller.Step2.newActive,controller.Step2.newActive,$PRE.controller.Step2.oldActive,controller.Step2.oldActive,controller.Step2.active,controller.Transition3.enableFire,controller.Transition3.fire,$PRE.controller.Transition3.t_start,controller.Transition3.t_start,$PRE.controller.Step3.localActive,controller.Step3.localActive,$PRE.controller.Step3.newActive,controller.Step3.newActive,$PRE.controller.Step3.oldActive,controller.Step3.oldActive,controller.Step3.active,controller.Transition4.enableFire,controller.Transition4.condition,$PRE.controller.Step4.localActive,controller.Step4.localActive,$PRE.controller.Step4.newActive,controller.Step4.newActive,$PRE.controller.Step4.oldActive,controller.Step4.oldActive,controller.Step4.active,controller.Transition5.enableFire,$PRE.controller.Step5.localActive,controller.Step5.localActive,$PRE.controller.Step5.newActive,controller.Step5.newActive,$PRE.controller.Step5.oldActive,controller.Step5.oldActive,controller.Step5.active,controller.Transition6.enableFire,controller.Transition6.condition,$PRE.controller.Step6.localActive,controller.Step6.localActive,$PRE.controller.Step6.newActive,controller.Step6.newActive,$PRE.controller.Step6.oldActive,controller.Step6.oldActive,controller.Step6.active,controller.Transition7.enableFire,controller.Transition7.fire,$PRE.controller.Transition7.t_start,controller.Transition7.t_start,controller.Parallel1.inPort.occupied,controller.Parallel1.outPort.available,$PRE.controller.Step7.localActive,controller.Step7.localActive,$PRE.controller.Step7.newActive,controller.Step7.newActive,$PRE.controller.Step7.oldActive,controller.Step7.oldActive,controller.Step7.active,$PRE.controller.Step8.localActive,controller.Step8.localActive,$PRE.controller.Step8.newActive,controller.Step8.newActive,$PRE.controller.Step8.oldActive,controller.Step8.oldActive,controller.Step8.active,$PRE.controller.Step9.localActive,controller.Step9.localActive,$PRE.controller.Step9.newActive,controller.Step9.newActive,$PRE.controller.Step9.oldActive,controller.Step9.oldActive,controller.Step9.active,$PRE.controller.Step10.localActive,controller.Step10.localActive,$PRE.controller.Step10.newActive,controller.Step10.newActive,$PRE.controller.Step10.oldActive,controller.Step10.oldActive,controller.Step10.active,$PRE.controller.Step11.localActive,controller.Step11.localActive,$PRE.controller.Step11.newActive,controller.Step11.newActive,$PRE.controller.Step11.oldActive,controller.Step11.oldActive,controller.Step11.active,$PRE.controller.Step12.localActive,controller.Step12.localActive,$PRE.controller.Step12.newActive,controller.Step12.newActive,$PRE.controller.Step12.oldActive,controller.Step12.oldActive,controller.Step12.active,$PRE.controller.Step13.localActive,controller.Step13.localActive,$PRE.controller.Step13.newActive,controller.Step13.newActive,$PRE.controller.Step13.oldActive,controller.Step13.oldActive,controller.Step13.active,$PRE.controller.Step14.localActive,controller.Step14.localActive,$PRE.controller.Step14.newActive,controller.Step14.newActive,$PRE.controller.Step14.oldActive,controller.Step14.oldActive,controller.Step14.active,controller.Transition8.enableFire,controller.Transition9.enableFire,controller.Transition9.condition,controller.Transition10.enableFire,controller.Transition10.condition,controller.Transition11.enableFire,controller.Transition11.condition,controller.Transition12.enableFire,controller.Transition12.condition,controller.Transition13.enableFire,controller.Transition13.condition,controller.T5_idle,controller.T7_idle,controller.TransitionWithSignal1.enableFire,controller.BooleanExpression1.y,controller.stateGraphRoot.activeSteps,volume5.medium.phase,P1.heatTransfer.states[1].phase,P2.heatTransfer.states[1].phase,B1.heatTransfer.states[1].phase,$PRE.B1.ports_m_flow_out[1],B1.ports_m_flow_out[1],$PRE.B1.aboveLevel[1],B1.aboveLevel[1],P1_on.endValue,P1_on.rate,P1_on.T,P2_on.endValue,P2_on.rate,P2_on.T,B2.heatTransfer.states[1].phase,$PRE.B2.ports_m_flow_out[1],B2.ports_m_flow_out[1],$PRE.B2.aboveLevel[1],B2.aboveLevel[1],B3.heatTransfer.states[1].phase,$PRE.B3.ports_m_flow_out[1],B3.ports_m_flow_out[1],$PRE.B3.ports_m_flow_out[2],B3.ports_m_flow_out[2],$PRE.B3.aboveLevel[1],B3.aboveLevel[1],$PRE.B3.aboveLevel[2],B3.aboveLevel[2],B4.heatTransfer.states[1].phase,$PRE.B4.ports_m_flow_out[1],B4.ports_m_flow_out[1],$PRE.B4.aboveLevel[1],B4.aboveLevel[1],B7.heatTransfer.states[1].phase,$PRE.B7.ports_m_flow_out[1],B7.ports_m_flow_out[1],$PRE.B7.aboveLevel[1],B7.aboveLevel[1],pipeB1B2.statesFM[1].phase,pipeB1B2.statesFM[2].phase,pipePump1B1.statesFM[1].phase,pipePump1B1.statesFM[2].phase,pipePump2B2.statesFM[1].phase,pipePump2B2.statesFM[2].phase,B6.heatTransfer.states[1].phase,$PRE.B6.ports_m_flow_out[1],B6.ports_m_flow_out[1],$PRE.B6.aboveLevel[1],B6.aboveLevel[1],volume4.medium.phase,pipePump2B2.state_b.phase,pipePump2B2.state_a.phase,pipePump1B1.state_b.phase,pipePump1B1.state_a.phase,pipeB1B2.state_b.phase,pipeB1B2.state_a.phase,P2.monitoring.state_in.phase,P1.monitoring.state_in.phase,V18.state_b.phase,V18.state_a.phase,V21.state_b.phase,V21.state_a.phase,V10.state_b.phase,V10.state_a.phase,V19.state_b.phase,V19.state_a.phase,V20.state_b.phase,V20.state_a.phase,V25.state_b.phase,V25.state_a.phase,V24.state_b.phase,V24.state_a.phase,V5.state_b.phase,V5.state_a.phase,V22.state_b.phase,V22.state_a.phase,V1.state_b.phase,V1.state_a.phase,V23.state_b.phase,V23.state_a.phase,V6.state_b.phase,V6.state_a.phase,V3.state_b.phase,V3.state_a.phase,V4.state_b.phase,V4.state_a.phase,V2.state_b.phase,V2.state_a.phase,V9.state_b.phase,V9.state_a.phase,V8.state_b.phase,V8.state_a.phase,V11.state_b.phase,V11.state_a.phase,V15.state_b.phase,V15.state_a.phase,V12.state_b.phase,V12.state_a.phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1155): * Single equations (assignments): 1123 * 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: 32 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 6,(1,100.0%) 6} * Non-linear torn systems: 30 {2 2,2 4,2 2,2 4,1 2,2 4,1 1,2 4,2 4,2 7,2 4,2 7,1 2,1 1,1 1,1 1,1 1,2 5,1 1,2 10,1 2,1 1,1 1,1 1,1 1,2 5,1 1,2 14,1 2,2 10} Notification: Performance of prepare postOptimizeDAE: time 0.007047/31.2, allocations: 0.5212 MB / 10.46 GB, free: 3.332 MB / 0.7012 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.004819/31.21, allocations: 0.7054 MB / 10.46 GB, free: 3.332 MB / 0.7012 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.1189/31.32, allocations: 34.19 MB / 10.5 GB, free: 0.8867 MB / 0.7012 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0007501/31.33, allocations: 415 kB / 10.5 GB, free: 0.8867 MB / 0.7012 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.511e-05/31.33, allocations: 10.77 kB / 10.5 GB, free: 0.8828 MB / 0.7012 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.1031/31.43, allocations: 29.12 MB / 10.52 GB, free: 14.73 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2141/31.64, allocations: 46.71 MB / 10.57 GB, free: 2.262 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.000156/31.64, allocations: 7.531 kB / 10.57 GB, free: 2.258 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01587/31.66, allocations: 1.612 MB / 10.57 GB, free: 2.129 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02313/31.68, allocations: 6.532 MB / 10.58 GB, free: 13.51 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.00257/31.68, allocations: 148.9 kB / 10.58 GB, free: 13.41 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.4089/32.09, allocations: 27.77 MB / 10.61 GB, free: 94.83 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.604e-05/32.09, allocations: 4.141 kB / 10.61 GB, free: 94.83 MB / 0.7325 GB Error: Jacobian A contains non-linear components. This indicates a singular system or internal generation errors. Notification: Performance of postOpt symbolicJacobian (simulation): time 3.721/35.81, allocations: 383.5 MB / 10.98 GB, free: 50 MB / 0.7325 GB Error: post-optimization module symbolicJacobian (simulation) failed.