Notification: Performance of FrontEnd - loaded program: time 2.144e-05/2.157e-05, allocations: 8.672 kB / 0.541 GB, free: 86.46 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07507/0.07512, allocations: 44.52 MB / 0.5844 GB, free: 42.02 MB / 334.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.7817/0.8568, allocations: 293.8 MB / 0.8713 GB, free: 49.75 MB / 398.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002858/0.8572, allocations: 82.33 kB / 0.8714 GB, free: 49.71 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.028/1.885, allocations: 197.4 MB / 1.064 GB, free: 15.52 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.726e-06/1.885, allocations: 0 / 1.064 GB, free: 15.52 MB / 398.1 MB Notification: Performance of Transformations before backend: time 0.0002185/1.885, allocations: 55.94 kB / 1.064 GB, free: 15.46 MB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 500 * Number of variables: 500 Notification: Performance of Generate backend data structure: time 0.008795/1.894, allocations: 2.279 MB / 1.066 GB, free: 13.04 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.55e-05/1.894, allocations: 12.02 kB / 1.066 GB, free: 13.03 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002298/1.896, allocations: 265.2 kB / 1.067 GB, free: 12.77 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00589/1.902, allocations: 1.279 MB / 1.068 GB, free: 11.45 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005111/1.903, allocations: 223 kB / 1.068 GB, free: 11.2 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001027/1.904, allocations: 131.9 kB / 1.068 GB, free: 11.07 MB / 398.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.008553/1.913, allocations: 1.921 MB / 1.07 GB, free: 9.152 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01031/1.923, allocations: 2.314 MB / 1.072 GB, free: 6.699 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001218/1.923, allocations: 11.89 kB / 1.072 GB, free: 6.688 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007084/1.924, allocations: 12 kB / 1.072 GB, free: 6.676 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002573/1.924, allocations: 95.48 kB / 1.073 GB, free: 6.582 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2194/2.144, allocations: 10.25 MB / 1.083 GB, free: 52.47 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003471/2.147, allocations: 1.681 MB / 1.084 GB, free: 52.14 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003142/2.15, allocations: 0.9106 MB / 1.085 GB, free: 52.13 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0136/2.164, allocations: 4.44 MB / 1.089 GB, free: 50.25 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003737/2.168, allocations: 1.288 MB / 1.091 GB, free: 49.89 MB / 398.1 MB Notification: Performance of pre-optimization done (n=187): time 9.717e-06/2.168, allocations: 0 / 1.091 GB, free: 49.89 MB / 398.1 MB Notification: Performance of matching and sorting (n=197): time 0.04773/2.216, allocations: 5.932 MB / 1.096 GB, free: 49.27 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002553/2.216, allocations: 0.5319 MB / 1.097 GB, free: 48.68 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002522/2.218, allocations: 0.826 MB / 1.098 GB, free: 48.49 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0007063/2.219, allocations: 73.52 kB / 1.098 GB, free: 48.46 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0012/2.22, allocations: 0.8197 MB / 1.099 GB, free: 48.12 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009849/2.221, allocations: 0.5191 MB / 1.099 GB, free: 47.86 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002641/2.222, allocations: 5.094 kB / 1.099 GB, free: 47.86 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0002665/2.222, allocations: 412.6 kB / 1.1 GB, free: 47.55 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002927/2.225, allocations: 0.7924 MB / 1.1 GB, free: 47.54 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003731/2.229, allocations: 1.431 MB / 1.102 GB, free: 46.82 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009452/2.238, allocations: 1.51 MB / 1.103 GB, free: 46.79 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.352e-05/2.238, allocations: 10.72 kB / 1.103 GB, free: 46.79 MB / 398.1 MB Notification: Performance of matching and sorting (n=334) (initialization): time 0.01781/2.256, allocations: 3.218 MB / 1.106 GB, free: 46.6 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.002031/2.258, allocations: 7.917 MB / 1.114 GB, free: 38.35 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001005/2.258, allocations: 18.66 kB / 1.114 GB, free: 38.35 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002378/2.261, allocations: 0.5829 MB / 1.115 GB, free: 38.32 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002805/2.264, allocations: 375.1 kB / 1.115 GB, free: 38.32 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006083/2.27, allocations: 2.587 MB / 1.118 GB, free: 36.76 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003213/2.273, allocations: 102.8 kB / 1.118 GB, free: 36.75 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006299/2.274, allocations: 127.2 kB / 1.118 GB, free: 36.75 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.726e-05/2.274, allocations: 2.906 kB / 1.118 GB, free: 36.75 MB / 398.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01418/2.288, allocations: 2.745 MB / 1.12 GB, free: 36.68 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.598e-05/2.288, allocations: 25.66 kB / 1.12 GB, free: 36.68 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001615/2.29, allocations: 448.8 kB / 1.121 GB, free: 36.65 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00278/2.292, allocations: 379.6 kB / 1.121 GB, free: 36.65 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008945/2.301, allocations: 5.57 MB / 1.127 GB, free: 32.81 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00296/2.304, allocations: 93.08 kB / 1.127 GB, free: 32.81 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000521/2.305, allocations: 127.3 kB / 1.127 GB, free: 32.81 MB / 398.1 MB Warning: Assuming fixed start value for the following 3 variables: shut.on:DISCRETE(fixed = false ) type: Boolean stop.on:DISCRETE(fixed = false ) type: Boolean start.on:DISCRETE(fixed = false ) type: Boolean Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 88 * Number of states: 0 () * Number of discrete variables: 160 ($PRE.tankController.normal.T1.enableFire,$PRE.tankController.normal.T3.enableFire,$PRE.tankController.normal.T2.enableFire,$PRE.tankController.normal.T4.enableFire,$PRE.tankController.T1.enableFire,$PRE.tankController.T2.enableFire,$PRE.tankController.T3.enableFire,$PRE.tankController.T4.enableFire,$PRE.tankController.T5.enableFire,$PRE.tankController.T6.enableFire,$whenCondition13,$whenCondition12,$whenCondition14,$whenCondition15,$PRE.start.reset[1],$PRE.start.reset[2],$PRE.start.table.y,start.table.y,$PRE.start.table.nextTime,start.table.nextTime,$PRE.start.table.index,start.table.index,$whenCondition9,$whenCondition8,$whenCondition10,$whenCondition11,$PRE.stop.reset[1],$PRE.stop.reset[2],$PRE.stop.table.y,stop.table.y,$PRE.stop.table.nextTime,stop.table.nextTime,$PRE.stop.table.index,stop.table.index,$whenCondition5,$whenCondition4,$whenCondition6,$whenCondition7,$PRE.shut.reset[1],$PRE.shut.reset[2],$PRE.shut.table.y,shut.table.y,$PRE.shut.table.nextTime,shut.table.nextTime,$PRE.shut.table.index,shut.table.index,tankController.stateGraphRoot.resume,tankController.stateGraphRoot.suspend,tankController.normal.T4.condition,tankController.normal.T2.condition,$whenCondition3,$whenCondition2,$whenCondition1,$PRE.tankController.s1.localActive,tankController.s1.localActive,tankController.s1.inPort[2].occupied,$PRE.tankController.s1.newActive,tankController.s1.newActive,$PRE.tankController.s1.oldActive,tankController.s1.oldActive,tankController.s1.active,tankController.normal.stateGraphRoot.suspend,tankController.normal.stateGraphRoot.resume,tankController.normal.active,$PRE.tankController.normal.newActive,tankController.normal.newActive,tankController.normal.activeSteps,$PRE.tankController.normal.fillTank1.localActive,tankController.normal.fillTank1.localActive,$PRE.tankController.normal.fillTank1.newActive,tankController.normal.fillTank1.newActive,$PRE.tankController.normal.fillTank1.oldActive,tankController.normal.fillTank1.oldActive,tankController.normal.fillTank1.active,tankController.normal.T1.enableFire,tankController.normal.T1.condition,$PRE.tankController.normal.fillTank2.localActive,tankController.normal.fillTank2.localActive,$PRE.tankController.normal.fillTank2.newActive,tankController.normal.fillTank2.newActive,$PRE.tankController.normal.fillTank2.oldActive,tankController.normal.fillTank2.oldActive,tankController.normal.fillTank2.active,tankController.normal.T3.enableFire,tankController.normal.T3.condition,$PRE.tankController.normal.emptyTank2.localActive,tankController.normal.emptyTank2.localActive,$PRE.tankController.normal.emptyTank2.newActive,tankController.normal.emptyTank2.newActive,$PRE.tankController.normal.emptyTank2.oldActive,tankController.normal.emptyTank2.oldActive,tankController.normal.emptyTank2.active,$PRE.tankController.normal.wait1.localActive,tankController.normal.wait1.localActive,$PRE.tankController.normal.wait1.newActive,tankController.normal.wait1.newActive,$PRE.tankController.normal.wait1.oldActive,tankController.normal.wait1.oldActive,tankController.normal.wait1.active,tankController.normal.T2.enableFire,tankController.normal.T2.fire,$PRE.tankController.normal.T2.t_start,tankController.normal.T2.t_start,$PRE.tankController.normal.wait2.localActive,tankController.normal.wait2.localActive,$PRE.tankController.normal.wait2.newActive,tankController.normal.wait2.newActive,$PRE.tankController.normal.wait2.oldActive,tankController.normal.wait2.oldActive,tankController.normal.wait2.active,tankController.normal.T4.enableFire,tankController.normal.T4.fire,$PRE.tankController.normal.T4.t_start,tankController.normal.T4.t_start,tankController.T1.enableFire,tankController.T2.enableFire,tankController.T2.condition,tankController.T3.enableFire,$PRE.tankController.s2.localActive,tankController.s2.localActive,tankController.s2.outPort[2].available,$PRE.tankController.s2.newActive,tankController.s2.newActive,$PRE.tankController.s2.oldActive,tankController.s2.oldActive,tankController.s2.active,tankController.T4.enableFire,tankController.T5.enableFire,$PRE.tankController.emptyTanks.localActive,tankController.emptyTanks.localActive,$PRE.tankController.emptyTanks.newActive,tankController.emptyTanks.newActive,$PRE.tankController.emptyTanks.oldActive,tankController.emptyTanks.oldActive,tankController.emptyTanks.active,tankController.T6.enableFire,tankController.T6.condition,tankController.valve2,tankController.valve3,tankController.stateGraphRoot.activeSteps,start.reset[1],start.reset[2],$PRE.start.on,start.on,stop.reset[1],stop.reset[2],$PRE.stop.on,stop.on,shut.reset[1],shut.reset[2],$PRE.shut.on,shut.on,tank1.regularFlow[1],tank1.regularFlow[2],tank1.inFlow[1],tank1.inFlow[2],tank2.regularFlow[1],tank2.regularFlow[2],tank2.inFlow[1],tank2.inFlow[2]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (307): * Single equations (assignments): 295 * Array equations: 0 * Algorithm blocks: 9 * 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: 0 * Non-linear torn systems: 3 {2 3,4 4,2 3} Notification: Performance of prepare postOptimizeDAE: time 0.00128/2.306, allocations: 474.5 kB / 1.127 GB, free: 32.48 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006373/2.307, allocations: 167.7 kB / 1.128 GB, free: 32.4 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01504/2.322, allocations: 3.108 MB / 1.131 GB, free: 32.26 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.5e-05/2.322, allocations: 25.48 kB / 1.131 GB, free: 32.26 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.808e-06/2.322, allocations: 3.875 kB / 1.131 GB, free: 32.26 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.626e-05/2.322, allocations: 9.859 kB / 1.131 GB, free: 32.26 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0205/2.343, allocations: 5.076 MB / 1.136 GB, free: 31.85 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.849e-05/2.343, allocations: 3.797 kB / 1.136 GB, free: 31.85 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001953/2.345, allocations: 230.8 kB / 1.136 GB, free: 31.85 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002035/2.347, allocations: 0.5517 MB / 1.136 GB, free: 31.83 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004921/2.347, allocations: 43.23 kB / 1.136 GB, free: 31.83 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005861/2.353, allocations: 2.536 MB / 1.139 GB, free: 30.26 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.082e-06/2.353, allocations: 0 / 1.139 GB, free: 30.26 MB / 398.1 MB Error: Jacobian A contains non-linear components. This indicates a singular system or internal generation errors. Notification: Performance of postOpt symbolicJacobian (simulation): time 0.1323/2.486, allocations: 27.59 MB / 1.166 GB, free: 26.98 MB / 398.1 MB Error: post-optimization module symbolicJacobian (simulation) failed.