Running command: translateModel(Modelica.Fluid.Examples.ControlledTankSystem.ControlledTanks,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|tank1.level|tank1.medium.T|tank2.level|tank2.medium.T|shut.on|shut.reset.1.|shut.reset.2.|start.on|start.reset.1.|start.reset.2.|stop.on|stop.reset.1.|stop.reset.2.|tankController.T1.enableFire|tankController.T2.enableFire|tankController.T3.enableFire|tankController.T4.enableFire|tankController.T5.enableFire|tankController.T6.enableFire|tankController.normal.T1.enableFire|tankController.normal.T2.enableFire|tankController.normal.T3.enableFire|tankController.normal.T4.enableFire",fileNamePrefix="Modelica_3.2.2_Modelica.Fluid.Examples.ControlledTankSystem.ControlledTanks") Notification: Performance of loadModel(Modelica): time 1.824/1.824, allocations: 194.9 MB / 210.6 MB, free: 8.348 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.799e-05/2.796e-05, allocations: 7.906 kB / 258.8 MB, free: 8.051 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.316/0.3161, allocations: 44.5 MB / 303.3 MB, free: 12.96 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Fluid.Examples.ControlledTankSystem.ControlledTanks): time 0.03467/0.3508, allocations: 22.55 MB / 325.9 MB, free: 6.98 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.01284/0.3637, allocations: 5.786 MB / 331.7 MB, free: 1.184 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001766/0.3655, allocations: 75.5 kB / 331.7 MB, free: 1.109 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001916/0.3675, allocations: 496.9 kB / 332.2 MB, free: 0.6211 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00409/0.3716, allocations: 0.9539 MB / 333.2 MB, free: 15.66 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.006148/0.3778, allocations: 1.45 MB / 334.6 MB, free: 14.21 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.00496/0.3828, allocations: 2.053 MB / 336.7 MB, free: 12.15 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002639/0.3854, allocations: 1.272 MB / 337.9 MB, free: 10.87 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002666/0.3881, allocations: 1.048 MB / 339 MB, free: 9.82 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002176/0.3904, allocations: 0.954 MB / 339.9 MB, free: 8.863 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00268/0.3931, allocations: 0.6244 MB / 340.6 MB, free: 8.238 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0008646/0.394, allocations: 124 kB / 340.7 MB, free: 8.117 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000911/0.3949, allocations: 0.518 MB / 341.2 MB, free: 7.598 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0007454/0.3957, allocations: 192 kB / 341.4 MB, free: 7.41 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004857/0.4006, allocations: 2.724 MB / 344.1 MB, free: 4.68 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.667e-06/0.4006, allocations: 0 / 344.1 MB, free: 4.68 MB / 282.7 MB Notification: Performance of FrontEnd: time 2.775e-06/0.4006, allocations: 0 / 344.1 MB, free: 4.68 MB / 282.7 MB Notification: Performance of Transformations before backend: time 7.189e-05/0.4007, allocations: 4 kB / 344.1 MB, free: 4.676 MB / 282.7 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.007123/0.4078, allocations: 2.137 MB / 346.3 MB, free: 2.418 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.608e-05/0.4079, allocations: 12.03 kB / 346.3 MB, free: 2.406 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001313/0.4092, allocations: 257.3 kB / 346.5 MB, free: 2.152 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003012/0.4123, allocations: 1.157 MB / 347.7 MB, free: 0.9492 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00036/0.4126, allocations: 294.9 kB / 348 MB, free: 0.6367 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005161/0.4132, allocations: 216 kB / 348.2 MB, free: 436 kB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00658/0.4198, allocations: 2.601 MB / 350.8 MB, free: 13.7 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.594e-05/0.4199, allocations: 7.938 kB / 350.8 MB, free: 13.69 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003331/0.4202, allocations: 83.98 kB / 350.9 MB, free: 13.61 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000168/0.4204, allocations: 103.4 kB / 351 MB, free: 13.5 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006628/0.427, allocations: 2.149 MB / 353.1 MB, free: 11.35 MB / 298.7 MB Warning: The model contains alias variables with redundant start and/or conflicting 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.0237/0.4508, allocations: 10.92 MB / 364 MB, free: 36 kB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004294/0.4551, allocations: 1.733 MB / 365.8 MB, free: 14.23 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01135/0.4665, allocations: 4.594 MB / 370.4 MB, free: 9.301 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003381/0.47, allocations: 1.356 MB / 371.7 MB, free: 7.879 MB / 314.7 MB Notification: Performance of pre-optimization done (n=187): time 6.071e-06/0.47, allocations: 0 / 371.7 MB, free: 7.879 MB / 314.7 MB Notification: Performance of matching and sorting (n=197): time 0.02194/0.492, allocations: 6.809 MB / 378.5 MB, free: 0.7539 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002892/0.4923, allocations: 0.5374 MB / 379.1 MB, free: 100 kB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002143/0.4944, allocations: 1.051 MB / 380.1 MB, free: 15.04 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0005333/0.495, allocations: 113.7 kB / 380.2 MB, free: 14.92 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009155/0.4959, allocations: 0.8077 MB / 381 MB, free: 14.1 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009545/0.4969, allocations: 0.5589 MB / 381.6 MB, free: 13.53 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002374/0.4972, allocations: 52 kB / 381.6 MB, free: 13.48 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.000249/0.4974, allocations: 403.3 kB / 382 MB, free: 13.08 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002805/0.5003, allocations: 0.8639 MB / 382.9 MB, free: 12.21 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003435/0.5037, allocations: 1.524 MB / 384.4 MB, free: 10.41 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003228/0.507, allocations: 1.21 MB / 385.6 MB, free: 9.145 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.077e-05/0.5071, allocations: 4 kB / 385.6 MB, free: 9.141 MB / 330.7 MB Notification: Performance of matching and sorting (n=334) (initialization): time 0.009729/0.5168, allocations: 3.149 MB / 388.8 MB, free: 5.918 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.003038/0.5199, allocations: 7.905 MB / 396.7 MB, free: 13.36 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.15e-05/0.52, allocations: 24 kB / 396.7 MB, free: 13.34 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002179/0.5222, allocations: 0.5841 MB / 397.3 MB, free: 12.74 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002754/0.525, allocations: 379.2 kB / 397.7 MB, free: 12.37 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003557/0.5286, allocations: 2.27 MB / 399.9 MB, free: 10.02 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002617/0.5312, allocations: 148.1 kB / 400.1 MB, free: 9.879 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004258/0.5317, allocations: 128 kB / 400.2 MB, free: 9.754 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.689e-05/0.5317, allocations: 7.953 kB / 400.2 MB, free: 9.746 MB / 346.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.008525/0.5402, allocations: 2.973 MB / 403.2 MB, free: 6.707 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.909e-05/0.5403, allocations: 20 kB / 403.2 MB, free: 6.688 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001594/0.5419, allocations: 467.2 kB / 403.7 MB, free: 6.223 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002684/0.5447, allocations: 379.2 kB / 404 MB, free: 5.852 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009865/0.5545, allocations: 5.946 MB / 410 MB, free: 15.51 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002456/0.557, allocations: 143.8 kB / 410.1 MB, free: 15.37 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005249/0.5576, allocations: 127.9 kB / 410.2 MB, free: 15.24 MB / 362.7 MB Warning: Assuming fixed start value for the following 3 variables: shut.on:DISCRETE(flow=false fixed = true ) type: Boolean stop.on:DISCRETE(flow=false fixed = true ) type: Boolean start.on:DISCRETE(flow=false fixed = true ) 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,tankController.s1.active,$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.normal.stateGraphRoot.suspend,tankController.normal.stateGraphRoot.resume,tankController.normal.active,$PRE.tankController.normal.newActive,tankController.normal.newActive,tankController.normal.activeSteps,tankController.normal.fillTank1.active,$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.T1.condition,tankController.normal.T1.enableFire,tankController.normal.fillTank2.active,$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.T3.condition,tankController.normal.T3.enableFire,tankController.normal.emptyTank2.active,$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.wait1.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.T2.enableFire,tankController.normal.T2.fire,$PRE.tankController.normal.T2.t_start,tankController.normal.T2.t_start,tankController.normal.wait2.active,$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.T4.enableFire,tankController.normal.T4.fire,$PRE.tankController.normal.T4.t_start,tankController.normal.T4.t_start,tankController.T1.enableFire,tankController.T2.condition,tankController.T2.enableFire,tankController.T3.enableFire,tankController.s2.active,$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.T4.enableFire,tankController.T5.enableFire,tankController.emptyTanks.active,$PRE.tankController.emptyTanks.localActive,tankController.emptyTanks.localActive,$PRE.tankController.emptyTanks.newActive,tankController.emptyTanks.newActive,$PRE.tankController.emptyTanks.oldActive,tankController.emptyTanks.oldActive,tankController.T6.condition,tankController.T6.enableFire,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.002029/0.5597, allocations: 0.7987 MB / 411 MB, free: 14.38 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005051/0.5602, allocations: 174 kB / 411.2 MB, free: 14.21 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009937/0.5701, allocations: 3.13 MB / 414.3 MB, free: 11.02 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.474e-05/0.5702, allocations: 23.98 kB / 414.4 MB, free: 10.99 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.773e-06/0.5703, allocations: 0 / 414.4 MB, free: 10.99 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.226e-05/0.5703, allocations: 11.97 kB / 414.4 MB, free: 10.98 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01515/0.5855, allocations: 5.245 MB / 419.6 MB, free: 5.637 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.613e-05/0.5855, allocations: 3.938 kB / 419.6 MB, free: 5.633 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002142/0.5877, allocations: 231.6 kB / 419.9 MB, free: 5.406 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001989/0.5897, allocations: 0.5528 MB / 420.4 MB, free: 4.844 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004385/0.5902, allocations: 63.95 kB / 420.5 MB, free: 4.781 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003608/0.5938, allocations: 2.223 MB / 422.7 MB, free: 2.48 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.198e-06/0.5939, allocations: 3.953 kB / 422.7 MB, free: 2.477 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.2566/0.8505, allocations: 4.055 MB / 426.8 MB, free: 108.8 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001459/0.852, allocations: 0.4891 MB / 427.2 MB, free: 108.7 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006048/0.8527, allocations: 66.38 kB / 427.3 MB, free: 108.7 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002134/0.8548, allocations: 131.7 kB / 427.4 MB, free: 108.7 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007952/0.8556, allocations: 255.4 kB / 427.7 MB, free: 108.7 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003164/0.856, allocations: 87.77 kB / 427.8 MB, free: 108.7 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.001403/0.8574, allocations: 0.7075 MB / 428.5 MB, free: 108.5 MB / 362.7 MB Notification: Performance of sort global known variables: time 4.2e-07/0.8574, allocations: 0 / 428.5 MB, free: 108.5 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.004468/0.8619, allocations: 1.005 MB / 429.5 MB, free: 108.4 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (tank1.level,tank1.medium.T,tank2.level,tank2.medium.T) * Number of discrete variables: 106 (tankController.emptyTanks.localActive,tankController.s2.localActive,tankController.normal.stateGraphRoot.suspend,tankController.normal.T4.enableFire,tankController.normal.wait2.localActive,tankController.normal.T2.enableFire,tankController.normal.wait1.localActive,tankController.normal.emptyTank2.localActive,tankController.normal.fillTank2.localActive,tankController.normal.fillTank1.localActive,tankController.s1.localActive,$cse32,$cse33,$cse34,$cse35,$cse36,$whenCondition3,$whenCondition2,$whenCondition1,$whenCondition5,$whenCondition4,$whenCondition6,$whenCondition7,$whenCondition9,$whenCondition8,$whenCondition10,$whenCondition11,$whenCondition13,$whenCondition12,$whenCondition14,$whenCondition15,tankController.s1.active,tankController.s1.inPort[2].occupied,tankController.s1.newActive,tankController.s1.oldActive,tankController.normal.stateGraphRoot.resume,tankController.normal.active,tankController.normal.newActive,tankController.normal.activeSteps,tankController.normal.fillTank1.active,tankController.normal.fillTank1.newActive,tankController.normal.fillTank1.oldActive,tankController.normal.T1.condition,tankController.normal.T1.enableFire,tankController.normal.fillTank2.active,tankController.normal.fillTank2.newActive,tankController.normal.fillTank2.oldActive,tankController.normal.T3.condition,tankController.normal.T3.enableFire,tankController.normal.emptyTank2.active,tankController.normal.emptyTank2.newActive,tankController.normal.emptyTank2.oldActive,tankController.normal.wait1.active,tankController.normal.wait1.newActive,tankController.normal.wait1.oldActive,tankController.normal.T2.fire,tankController.normal.T2.t_start,tankController.normal.wait2.active,tankController.normal.wait2.newActive,tankController.normal.wait2.oldActive,tankController.normal.T4.fire,tankController.normal.T4.t_start,tankController.T1.enableFire,tankController.T2.condition,tankController.T2.enableFire,tankController.T3.enableFire,tankController.s2.active,tankController.s2.outPort[2].available,tankController.s2.newActive,tankController.s2.oldActive,tankController.T4.enableFire,tankController.T5.enableFire,tankController.emptyTanks.active,tankController.emptyTanks.newActive,tankController.emptyTanks.oldActive,tankController.T6.condition,tankController.T6.enableFire,tankController.valve2,tankController.valve3,tankController.stateGraphRoot.activeSteps,start.reset[1],start.reset[2],start.on,start.table.y,start.table.nextTime,start.table.index,stop.reset[1],stop.reset[2],stop.on,stop.table.y,stop.table.nextTime,stop.table.index,shut.reset[1],shut.reset[2],shut.on,shut.table.y,shut.table.nextTime,shut.table.index,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: 39 (start.table.y,start.table.nextTime,start.table.index,$whenCondition15,$whenCondition14,start.on,$whenCondition13,$whenCondition12,start.reset[1],start.reset[2],stop.table.y,stop.table.nextTime,stop.table.index,$whenCondition11,$whenCondition10,stop.on,$whenCondition9,$whenCondition8,stop.reset[1],stop.reset[2],shut.table.y,shut.table.nextTime,shut.table.index,$whenCondition7,$whenCondition6,shut.on,$whenCondition5,$whenCondition4,shut.reset[1],shut.reset[2],tankController.s1.newActive,tankController.normal.fillTank1.newActive,tankController.normal.fillTank2.newActive,tankController.normal.emptyTank2.newActive,tankController.normal.wait1.newActive,tankController.normal.wait2.newActive,tankController.normal.newActive,tankController.s2.newActive,tankController.emptyTanks.newActive) * Top-level inputs: 0 Notification: Strong component statistics for simulation (196): * Single equations (assignments): 171 * Array equations: 0 * Algorithm blocks: 6 * Record equations: 6 * When equations: 10 * 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 Backend phase and start with SimCode phase: time 0.001486/0.8634, allocations: 0.5225 MB / 430 MB, free: 108.2 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.01208/0.8755, allocations: 5.249 MB / 435.3 MB, free: 105.4 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 6.702e-06/0.8756, allocations: 1.719 kB / 435.3 MB, free: 105.4 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004713/0.8803, allocations: 1.629 MB / 436.9 MB, free: 104.5 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004091/0.8844, allocations: 0.5226 MB / 437.4 MB, free: 104.4 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01164/0.8961, allocations: 4.649 MB / 442.1 MB, free: 101.3 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001148/0.8973, allocations: 1.525 MB / 443.6 MB, free: 99.78 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.004662/0.902, allocations: 0.7598 MB / 444.3 MB, free: 99.02 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008316/0.9029, allocations: 175.3 kB / 444.5 MB, free: 98.85 MB / 362.7 MB Notification: Performance of SimCode: time 1.083e-06/0.9029, allocations: 0 / 444.5 MB, free: 98.85 MB / 362.7 MB Notification: Performance of Templates: time 0.08721/0.9901, allocations: 38.67 MB / 483.2 MB, free: 60.17 MB / 362.7 MB "" Variables in the reference:time,tank1.level,tank1.medium.T,tank2.level,tank2.medium.T,shut.on,shut.reset[1],shut.reset[2],start.on,start.reset[1],start.reset[2],stop.on,stop.reset[1],stop.reset[2],tankController.T1.enableFire,tankController.T2.enableFire,tankController.T3.enableFire,tankController.T4.enableFire,tankController.T5.enableFire,tankController.T6.enableFire,tankController.normal.T1.enableFire,tankController.normal.T2.enableFire,tankController.normal.T3.enableFire,tankController.normal.T4.enableFire Variables in the result:ambient1.T,ambient1.X[1],ambient1.flowDirection,ambient1.medium.preferredMediumStates,ambient1.medium.standardOrderComponents,ambient1.nPorts,ambient1.p,shut.buttonTimeTable[1],shut.on,shut.reset[1],shut.reset[2],shut.table.n,shut.table.startValue,shut.table.table[1],source.T,source.X[1],source.flowDirection,source.medium.preferredMediumStates,source.medium.standardOrderComponents,source.nPorts,source.p,start.buttonTimeTable[1],start.buttonTimeTable[2],start.on,start.reset[1],start.reset[2],start.table.n,start.table.startValue,start.table.table[1],start.table.table[2],stop.buttonTimeTable[1],stop.buttonTimeTable[2],stop.on,stop.reset[1],stop.reset[2],stop.table.n,stop.table.startValue,stop.table.table[1],stop.table.table[2],system.T_ambient,system.T_start,system.allowFlowReversal,system.dp_small,system.energyDynamics,system.eps_m_flow,system.g,system.m_flow_nominal,system.m_flow_small,system.m_flow_start,system.massDynamics,system.momentumDynamics,system.p_ambient,system.p_start,system.substanceDynamics,system.traceDynamics,system.use_eps_Re,tank1.T_ambient,tank1.T_start,tank1.X_start[1],tank1.crossArea,tank1.energyDynamics,tank1.fluidLevel_max,tank1.h_start,tank1.heatTransfer.T_ambient,tank1.heatTransfer.k,tank1.heatTransfer.n,tank1.heatTransfer.use_k,tank1.height,tank1.initialize_p,tank1.level,tank1.level_start,tank1.level_start_eps,tank1.m_flow_nominal,tank1.m_flow_small,tank1.m_flow_turbulent[1],tank1.m_flow_turbulent[2],tank1.massDynamics,tank1.medium.T,tank1.medium.preferredMediumStates,tank1.medium.standardOrderComponents,tank1.nPorts,tank1.p_ambient,tank1.p_start,tank1.portsData[1].diameter,tank1.portsData[1].height,tank1.portsData[1].zeta_in,tank1.portsData[1].zeta_out,tank1.portsData[2].diameter,tank1.portsData[2].height,tank1.portsData[2].zeta_in,tank1.portsData[2].zeta_out,tank1.portsData_diameter[1],tank1.portsData_diameter[2],tank1.portsData_diameter_internal[1],tank1.portsData_diameter_internal[2],tank1.portsData_height[1],tank1.portsData_height[2],tank1.portsData_height_internal[1],tank1.portsData_height_internal[2],tank1.portsData_zeta_in[1],tank1.portsData_zeta_in[2],tank1.portsData_zeta_in_internal[1],tank1.portsData_zeta_in_internal[2],tank1.portsData_zeta_out[1],tank1.portsData_zeta_out[2],tank1.portsData_zeta_out_internal[1],tank1.portsData_zeta_out_internal[2],tank1.substanceDynamics,tank1.traceDynamics,tank1.use_HeatTransfer,tank1.use_Re,tank1.use_T_start,tank1.use_portsData,tank1.vesselArea,tank2.T_ambient,tank2.T_start,tank2.X_start[1],tank2.crossArea,tank2.energyDynamics,tank2.fluidLevel_max,tank2.h_start,tank2.heatTransfer.T_ambient,tank2.heatTransfer.k,tank2.heatTransfer.n,tank2.heatTransfer.use_k,tank2.height,tank2.initialize_p,tank2.level,tank2.level_start,tank2.level_start_eps,tank2.m_flow_nominal,tank2.m_flow_small,tank2.m_flow_turbulent[1],tank2.m_flow_turbulent[2],tank2.massDynamics,tank2.medium.T,tank2.medium.preferredMediumStates,tank2.medium.standardOrderComponents,tank2.nPorts,tank2.p_ambient,tank2.p_start,tank2.portsData[1].diameter,tank2.portsData[1].height,tank2.portsData[1].zeta_in,tank2.portsData[1].zeta_out,tank2.portsData[2].diameter,tank2.portsData[2].height,tank2.portsData[2].zeta_in,tank2.portsData[2].zeta_out,tank2.portsData_diameter[1],tank2.portsData_diameter[2],tank2.portsData_diameter_internal[1],tank2.portsData_diameter_internal[2],tank2.portsData_height[1],tank2.portsData_height[2],tank2.portsData_height_internal[1],tank2.portsData_height_internal[2],tank2.portsData_zeta_in[1],tank2.portsData_zeta_in[2],tank2.portsData_zeta_in_internal[1],tank2.portsData_zeta_in_internal[2],tank2.portsData_zeta_out[1],tank2.portsData_zeta_out[2],tank2.portsData_zeta_out_internal[1],tank2.portsData_zeta_out_internal[2],tank2.substanceDynamics,tank2.traceDynamics,tank2.use_HeatTransfer,tank2.use_Re,tank2.use_T_start,tank2.use_portsData,tank2.vesselArea,tankController.T1.enableFire,tankController.T1.enableTimer,tankController.T1.waitTime,tankController.T2.enableFire,tankController.T2.enableTimer,tankController.T2.waitTime,tankController.T3.enableFire,tankController.T3.enableTimer,tankController.T3.waitTime,tankController.T4.enableFire,tankController.T4.enableTimer,tankController.T4.waitTime,tankController.T5.enableFire,tankController.T5.enableTimer,tankController.T5.waitTime,tankController.T6.enableFire,tankController.T6.enableTimer,tankController.T6.waitTime,tankController.emptyTanks.nIn,tankController.emptyTanks.nOut,tankController.maxLevel,tankController.minLevel,tankController.normal.T1.enableFire,tankController.normal.T1.enableTimer,tankController.normal.T1.waitTime,tankController.normal.T2.enableFire,tankController.normal.T2.enableTimer,tankController.normal.T2.waitTime,tankController.normal.T3.enableFire,tankController.normal.T3.enableTimer,tankController.normal.T3.waitTime,tankController.normal.T4.enableFire,tankController.normal.T4.enableTimer,tankController.normal.T4.waitTime,tankController.normal.emptyTank2.nIn,tankController.normal.emptyTank2.nOut,tankController.normal.fillTank1.nIn,tankController.normal.fillTank1.nOut,tankController.normal.fillTank2.nIn,tankController.normal.fillTank2.nOut,tankController.normal.maxLevel,tankController.normal.minLevel,tankController.normal.nResume,tankController.normal.nSuspend,tankController.normal.wait1.nIn,tankController.normal.wait1.nOut,tankController.normal.wait2.nIn,tankController.normal.wait2.nOut,tankController.normal.waitTime,tankController.s1.nIn,tankController.s1.nOut,tankController.s2.nIn,tankController.s2.nOut,tankController.waitTime,time,valve1.allowFlowReversal,valve1.dp_nominal,valve1.dp_start,valve1.k,valve1.m_flow_nominal,valve1.m_flow_small,valve1.m_flow_start,valve1.opening_min,valve1.port_a_exposesState,valve1.port_b_exposesState,valve1.showDesignFlowDirection,valve1.show_T,valve1.show_V_flow,valve2.allowFlowReversal,valve2.dp_nominal,valve2.dp_start,valve2.k,valve2.m_flow_nominal,valve2.m_flow_small,valve2.m_flow_start,valve2.opening_min,valve2.port_a_exposesState,valve2.port_b_exposesState,valve2.showDesignFlowDirection,valve2.show_T,valve2.show_V_flow,valve3.allowFlowReversal,valve3.dp_nominal,valve3.dp_start,valve3.k,valve3.m_flow_nominal,valve3.m_flow_small,valve3.m_flow_start,valve3.opening_min,valve3.port_a_exposesState,valve3.port_b_exposesState,valve3.showDesignFlowDirection,valve3.show_T,valve3.show_V_flow