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.1_Modelica.Fluid.Examples.ControlledTankSystem.ControlledTanks") Notification: Performance of loadModel(Modelica): time 1.652/1.652, allocations: 171.2 MB / 185.7 MB, free: 1.398 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 2.835e-05/2.824e-05, allocations: 7.984 kB / 228.1 MB, free: 7.336 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07912/0.07917, allocations: 38.76 MB / 266.9 MB, free: 500 kB / 218.7 MB Notification: Performance of NFInst.instantiate(Modelica.Fluid.Examples.ControlledTankSystem.ControlledTanks): time 0.03722/0.1164, allocations: 22.55 MB / 289.5 MB, free: 9.875 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.01384/0.1303, allocations: 5.782 MB / 295.2 MB, free: 4.074 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001964/0.1324, allocations: 75.56 kB / 295.3 MB, free: 4 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002148/0.1345, allocations: 0.4892 MB / 295.8 MB, free: 3.508 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004225/0.1388, allocations: 0.9577 MB / 296.8 MB, free: 2.547 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.006186/0.145, allocations: 1.45 MB / 298.2 MB, free: 1.094 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.223/0.368, allocations: 2.057 MB / 300.3 MB, free: 5.246 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003091/0.3712, allocations: 1.262 MB / 301.5 MB, free: 5.191 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003267/0.3745, allocations: 1.048 MB / 302.6 MB, free: 5.191 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002847/0.3774, allocations: 0.9545 MB / 303.5 MB, free: 5.184 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003219/0.3806, allocations: 0.6332 MB / 304.2 MB, free: 5.184 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0009664/0.3817, allocations: 123.2 kB / 304.3 MB, free: 5.184 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001049/0.3827, allocations: 0.5165 MB / 304.8 MB, free: 5.18 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001099/0.3838, allocations: 191.1 kB / 305 MB, free: 5.18 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.005236/0.3891, allocations: 2.725 MB / 307.7 MB, free: 5.035 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.649e-06/0.3891, allocations: 3.938 kB / 307.7 MB, free: 5.031 MB / 250.7 MB Notification: Performance of FrontEnd: time 2.795e-06/0.3892, allocations: 0 / 307.7 MB, free: 5.031 MB / 250.7 MB Notification: Performance of Transformations before backend: time 0.0001181/0.3893, allocations: 1.469 kB / 307.7 MB, free: 5.031 MB / 250.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.007007/0.3963, allocations: 2.147 MB / 309.9 MB, free: 3.734 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.606e-05/0.3964, allocations: 9.438 kB / 309.9 MB, free: 3.734 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001523/0.3979, allocations: 253.4 kB / 310.1 MB, free: 3.625 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003298/0.4012, allocations: 1.16 MB / 311.3 MB, free: 3.285 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003489/0.4016, allocations: 295 kB / 311.6 MB, free: 3.156 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006877/0.4023, allocations: 213.3 kB / 311.8 MB, free: 3.152 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00728/0.4096, allocations: 2.605 MB / 314.4 MB, free: 2.633 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.413e-05/0.4097, allocations: 14.05 kB / 314.4 MB, free: 2.625 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003732/0.4101, allocations: 90.05 kB / 314.5 MB, free: 2.621 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001704/0.4103, allocations: 95.83 kB / 314.6 MB, free: 2.609 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006447/0.4168, allocations: 2.146 MB / 316.7 MB, free: 2.273 MB / 250.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.02369/0.4405, allocations: 10.9 MB / 327.6 MB, free: 11.81 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004347/0.4449, allocations: 1.733 MB / 329.4 MB, free: 11.29 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01288/0.4578, allocations: 4.584 MB / 333.9 MB, free: 8.141 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003749/0.4616, allocations: 1.357 MB / 335.3 MB, free: 7.047 MB / 266.7 MB Notification: Performance of pre-optimization done (n=187): time 2.515e-05/0.4617, allocations: 0 / 335.3 MB, free: 7.047 MB / 266.7 MB Notification: Performance of matching and sorting (n=197): time 0.02465/0.4864, allocations: 6.811 MB / 342.1 MB, free: 15.98 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003472/0.4868, allocations: 0.5345 MB / 342.6 MB, free: 15.33 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002287/0.4891, allocations: 1.054 MB / 343.7 MB, free: 14.27 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0006575/0.4898, allocations: 109.7 kB / 343.8 MB, free: 14.15 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001092/0.4909, allocations: 0.8186 MB / 344.6 MB, free: 13.35 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001782/0.4927, allocations: 0.5565 MB / 345.2 MB, free: 12.81 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006099/0.4934, allocations: 56 kB / 345.2 MB, free: 12.75 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0003728/0.4938, allocations: 407.2 kB / 345.6 MB, free: 12.35 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003195/0.497, allocations: 0.8678 MB / 346.5 MB, free: 11.48 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003921/0.501, allocations: 1.515 MB / 348 MB, free: 9.699 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003655/0.5047, allocations: 1.208 MB / 349.2 MB, free: 8.457 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.435e-05/0.5047, allocations: 4 kB / 349.2 MB, free: 8.453 MB / 282.7 MB Notification: Performance of matching and sorting (n=334) (initialization): time 0.01013/0.5149, allocations: 3.139 MB / 352.4 MB, free: 5.359 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.003705/0.5186, allocations: 7.92 MB / 360.3 MB, free: 12.8 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.773e-05/0.5188, allocations: 20 kB / 360.3 MB, free: 12.78 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00283/0.5216, allocations: 0.5872 MB / 360.9 MB, free: 12.18 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002903/0.5246, allocations: 378.2 kB / 361.3 MB, free: 11.85 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003828/0.5284, allocations: 2.268 MB / 363.5 MB, free: 9.52 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002893/0.5314, allocations: 143.9 kB / 363.7 MB, free: 9.379 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005633/0.532, allocations: 120 kB / 363.8 MB, free: 9.262 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.62e-05/0.532, allocations: 4 kB / 363.8 MB, free: 9.258 MB / 298.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.009372/0.5414, allocations: 2.982 MB / 366.8 MB, free: 6.344 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.997e-05/0.5415, allocations: 20 kB / 366.8 MB, free: 6.324 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001695/0.5432, allocations: 466.5 kB / 367.2 MB, free: 5.859 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002827/0.5461, allocations: 377.1 kB / 367.6 MB, free: 5.527 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01053/0.5566, allocations: 5.959 MB / 373.6 MB, free: 15.21 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00262/0.5593, allocations: 143.8 kB / 373.7 MB, free: 15.07 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004681/0.5598, allocations: 124 kB / 373.8 MB, free: 14.95 MB / 314.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.002115/0.5619, allocations: 0.8016 MB / 374.6 MB, free: 14.12 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000589/0.5625, allocations: 174 kB / 374.8 MB, free: 13.95 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01009/0.5726, allocations: 3.121 MB / 377.9 MB, free: 10.79 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.872e-05/0.5727, allocations: 20 kB / 377.9 MB, free: 10.77 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.242e-06/0.5727, allocations: 0 / 377.9 MB, free: 10.77 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.798e-05/0.5728, allocations: 15.95 kB / 378 MB, free: 10.75 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0151/0.5879, allocations: 5.251 MB / 383.2 MB, free: 5.469 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.467e-05/0.5879, allocations: 0 / 383.2 MB, free: 5.469 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002073/0.59, allocations: 235.9 kB / 383.4 MB, free: 5.254 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001956/0.592, allocations: 0.5569 MB / 384 MB, free: 4.688 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004298/0.5925, allocations: 63.95 kB / 384.1 MB, free: 4.625 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00359/0.5961, allocations: 2.218 MB / 386.3 MB, free: 2.336 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.098e-06/0.5961, allocations: 128 / 386.3 MB, free: 2.336 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01193/0.6081, allocations: 4.062 MB / 390.3 MB, free: 14.22 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001733/0.6098, allocations: 0.4908 MB / 390.8 MB, free: 13.71 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007414/0.6106, allocations: 59.98 kB / 390.9 MB, free: 13.65 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002228/0.6129, allocations: 147.9 kB / 391 MB, free: 13.5 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008814/0.6138, allocations: 253.6 kB / 391.3 MB, free: 13.26 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003687/0.6142, allocations: 91.91 kB / 391.4 MB, free: 13.17 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.001563/0.6157, allocations: 0.7015 MB / 392.1 MB, free: 12.46 MB / 330.7 MB Notification: Performance of sort global known variables: time 5.52e-07/0.6158, allocations: 0 / 392.1 MB, free: 12.46 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.005447/0.6212, allocations: 1.004 MB / 393.1 MB, free: 11.46 MB / 330.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.001866/0.6231, allocations: 0.5272 MB / 393.6 MB, free: 10.96 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.01468/0.6378, allocations: 5.249 MB / 398.9 MB, free: 5.602 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 7.464e-06/0.6379, allocations: 0 / 398.9 MB, free: 5.602 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.005549/0.6435, allocations: 1.627 MB / 400.5 MB, free: 3.941 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004632/0.6481, allocations: 0.5313 MB / 401 MB, free: 3.418 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0142/0.6624, allocations: 4.638 MB / 405.7 MB, free: 14.77 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001727/0.6642, allocations: 1.527 MB / 407.2 MB, free: 13.2 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.004945/0.6691, allocations: 0.7617 MB / 407.9 MB, free: 12.44 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008751/0.67, allocations: 175.3 kB / 408.1 MB, free: 12.27 MB / 346.7 MB Notification: Performance of SimCode: time 1.152e-06/0.6701, allocations: 3.375 kB / 408.1 MB, free: 12.27 MB / 346.7 MB Notification: Performance of Templates: time 0.332/1.002, allocations: 38.66 MB / 446.8 MB, free: 125.8 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