Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Fluid.Examples.ControlledTankSystem.ControlledTanks.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) 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_4.0.0_Modelica.Fluid.Examples.ControlledTankSystem.ControlledTanks") 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_4.0.0_Modelica.Fluid.Examples.ControlledTankSystem.ControlledTanks") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001186/0.001186, allocations: 94.14 kB / 16.3 MB, free: 5.996 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001399/0.001399, allocations: 181.9 kB / 17.2 MB, free: 5.914 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.378/1.378, allocations: 223.2 MB / 241.1 MB, free: 5.426 MB / 190.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002229/0.0002229, allocations: 6.328 kB / 300.7 MB, free: 5.961 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08064/0.08087, allocations: 50.42 MB / 351.1 MB, free: 11.71 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Fluid.Examples.ControlledTankSystem.ControlledTanks): time 0.02294/0.1039, allocations: 24.06 MB / 375.2 MB, free: 3.566 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.01059/0.1145, allocations: 6.906 MB / 382.1 MB, free: 12.65 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0016/0.1161, allocations: 63.5 kB / 382.2 MB, free: 12.59 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00234/0.1185, allocations: 0.8274 MB / 383 MB, free: 11.76 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003393/0.1219, allocations: 1.289 MB / 384.3 MB, free: 10.46 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004325/0.1262, allocations: 1.667 MB / 386 MB, free: 8.816 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.004341/0.1306, allocations: 2.848 MB / 388.8 MB, free: 5.961 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002552/0.1332, allocations: 1.668 MB / 390.5 MB, free: 4.258 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002253/0.1354, allocations: 1.293 MB / 391.8 MB, free: 2.961 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001519/0.137, allocations: 1.171 MB / 392.9 MB, free: 1.785 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003123/0.1373, allocations: 116 kB / 393 MB, free: 1.672 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001545/0.1388, allocations: 0.5893 MB / 393.6 MB, free: 1.082 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005812/0.1394, allocations: 0.6308 MB / 394.3 MB, free: 460 kB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005704/0.14, allocations: 484.5 kB / 394.7 MB, free: 15.96 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002843/0.1429, allocations: 3.012 MB / 397.7 MB, free: 12.95 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.325e-06/0.1429, allocations: 0 / 397.7 MB, free: 12.95 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.733e-06/0.1429, allocations: 0 / 397.7 MB, free: 12.95 MB / 334.1 MB Notification: Performance of Transformations before backend: time 4.808e-05/0.1429, allocations: 4 kB / 397.8 MB, free: 12.95 MB / 334.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 527 * Number of variables: 527 Notification: Performance of Generate backend data structure: time 0.004836/0.1478, allocations: 2.552 MB / 400.3 MB, free: 10.26 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.265e-05/0.1478, allocations: 8.031 kB / 400.3 MB, free: 10.25 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007989/0.1486, allocations: 288.9 kB / 400.6 MB, free: 9.965 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002419/0.1511, allocations: 1.386 MB / 402 MB, free: 8.523 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002587/0.1513, allocations: 303.3 kB / 402.3 MB, free: 8.203 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000323/0.1517, allocations: 228 kB / 402.5 MB, free: 7.98 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004625/0.1563, allocations: 2.734 MB / 405.2 MB, free: 5.082 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.311e-05/0.1564, allocations: 3.938 kB / 405.2 MB, free: 5.078 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002231/0.1566, allocations: 95.97 kB / 405.3 MB, free: 4.984 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000106/0.1567, allocations: 99.69 kB / 405.4 MB, free: 4.887 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003883/0.1606, allocations: 2.189 MB / 407.6 MB, free: 2.695 MB / 334.1 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.01294/0.1735, allocations: 10.39 MB / 418 MB, free: 7.93 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00269/0.1763, allocations: 2.054 MB / 420.1 MB, free: 5.742 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1581/0.3344, allocations: 5.541 MB / 425.6 MB, free: 64.01 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002069/0.3365, allocations: 1.518 MB / 427.1 MB, free: 63.65 MB / 350.1 MB Notification: Performance of pre-optimization done (n=207): time 4.348e-06/0.3365, allocations: 0.7031 kB / 427.1 MB, free: 63.65 MB / 350.1 MB Notification: Performance of matching and sorting (n=217): time 0.01435/0.3509, allocations: 8.745 MB / 435.9 MB, free: 60.57 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001883/0.3511, allocations: 0.7686 MB / 436.6 MB, free: 59.69 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002097/0.3532, allocations: 1.622 MB / 438.3 MB, free: 59.46 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003214/0.3535, allocations: 127.9 kB / 438.4 MB, free: 59.43 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007237/0.3543, allocations: 0.8794 MB / 439.3 MB, free: 59.09 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005693/0.3548, allocations: 0.6115 MB / 439.9 MB, free: 58.73 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001264/0.355, allocations: 55.44 kB / 439.9 MB, free: 58.73 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001309/0.3551, allocations: 411.6 kB / 440.3 MB, free: 58.43 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001634/0.3568, allocations: 0.9497 MB / 441.3 MB, free: 58.42 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001851/0.3586, allocations: 1.663 MB / 442.9 MB, free: 57.4 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001607/0.3602, allocations: 1.143 MB / 444.1 MB, free: 56.86 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.133e-05/0.3603, allocations: 6.156 kB / 444.1 MB, free: 56.86 MB / 350.1 MB Notification: Performance of matching and sorting (n=352) (initialization): time 0.004814/0.3651, allocations: 3.161 MB / 447.2 MB, free: 55.58 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.462e-05/0.3652, allocations: 110 kB / 447.4 MB, free: 55.48 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.587e-05/0.3652, allocations: 19.75 kB / 447.4 MB, free: 55.48 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001057/0.3663, allocations: 0.5855 MB / 448 MB, free: 55.34 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001334/0.3676, allocations: 399.8 kB / 448.3 MB, free: 55.29 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001607/0.3692, allocations: 2.262 MB / 450.6 MB, free: 53.47 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001661/0.3709, allocations: 162.2 kB / 450.8 MB, free: 53.42 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002153/0.3711, allocations: 128.5 kB / 450.9 MB, free: 53.4 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 83 * Number of states: 0 () * Number of discrete variables: 188 ($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,$PRE.start.pre_reset[1],$PRE.start.pre_reset[2],$PRE.stop.pre_reset[1],$PRE.stop.pre_reset[2],$PRE.shut.pre_reset[1],$PRE.shut.pre_reset[2],$PRE.tankController.T6.t_start,tankController.T6.t_start,$PRE.tankController.T5.t_start,tankController.T5.t_start,$PRE.tankController.T4.t_start,tankController.T4.t_start,$PRE.tankController.T3.t_start,tankController.T3.t_start,$PRE.tankController.T2.t_start,tankController.T2.t_start,$PRE.tankController.T1.t_start,tankController.T1.t_start,$PRE.tankController.normal.T3.t_start,tankController.normal.T3.t_start,$PRE.tankController.normal.T1.t_start,tankController.normal.T1.t_start,$whenCondition12,$PRE.start.table.combiTimeTable.nextTimeEvent,$whenCondition11,$PRE.stop.table.combiTimeTable.nextTimeEvent,$whenCondition10,$PRE.shut.table.combiTimeTable.nextTimeEvent,$whenCondition8,$whenCondition7,$whenCondition9,$PRE.shut.reset[1],$PRE.shut.reset[2],$PRE.shut.table.y,shut.table.y,shut.table.combiTimeTable.nextTimeEvent,$PRE.shut.table.combiTimeTable.nextTimeEventScaled,shut.table.combiTimeTable.nextTimeEventScaled,shut.pre_reset[1],shut.pre_reset[2],$whenCondition5,$whenCondition4,$whenCondition6,$PRE.stop.reset[1],$PRE.stop.reset[2],$PRE.stop.table.y,stop.table.y,stop.table.combiTimeTable.nextTimeEvent,$PRE.stop.table.combiTimeTable.nextTimeEventScaled,stop.table.combiTimeTable.nextTimeEventScaled,stop.pre_reset[1],stop.pre_reset[2],$whenCondition2,$whenCondition1,$whenCondition3,$PRE.start.reset[1],$PRE.start.reset[2],$PRE.start.table.y,start.table.y,start.table.combiTimeTable.nextTimeEvent,$PRE.start.table.combiTimeTable.nextTimeEventScaled,start.table.combiTimeTable.nextTimeEventScaled,start.pre_reset[1],start.pre_reset[2],tankController.stateGraphRoot.resume,tankController.stateGraphRoot.suspend,tankController.normal.T4.condition,tankController.normal.T2.condition,$whenCondition15,$whenCondition14,$whenCondition13,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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (325): * Single equations (assignments): 319 * Array equations: 0 * Algorithm blocks: 3 * 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.001119/0.3722, allocations: 0.8036 MB / 451.7 MB, free: 52.88 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003363/0.3726, allocations: 215.1 kB / 451.9 MB, free: 52.78 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004568/0.3772, allocations: 3.077 MB / 455 MB, free: 50.08 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.524e-05/0.3772, allocations: 29.78 kB / 455 MB, free: 50.05 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.092e-05/0.3772, allocations: 7.609 kB / 455 MB, free: 50.05 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.041e-05/0.3773, allocations: 15.95 kB / 455 MB, free: 50.03 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007475/0.3847, allocations: 5.512 MB / 460.5 MB, free: 44.5 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.949e-06/0.3848, allocations: 11.98 kB / 460.6 MB, free: 44.49 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009462/0.3857, allocations: 243.6 kB / 460.8 MB, free: 44.25 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009344/0.3867, allocations: 0.5666 MB / 461.4 MB, free: 43.68 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000161/0.3868, allocations: 67.94 kB / 461.4 MB, free: 43.62 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00147/0.3883, allocations: 2.232 MB / 463.7 MB, free: 41.31 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.214e-06/0.3883, allocations: 0 / 463.7 MB, free: 41.31 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005555/0.3939, allocations: 4.371 MB / 468 MB, free: 36.78 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001085/0.395, allocations: 0.5683 MB / 468.6 MB, free: 36.19 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003747/0.3954, allocations: 71.98 kB / 468.7 MB, free: 36.12 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001154/0.3966, allocations: 143.8 kB / 468.8 MB, free: 35.98 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004281/0.397, allocations: 277.5 kB / 469.1 MB, free: 35.71 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001665/0.3972, allocations: 103.6 kB / 469.2 MB, free: 35.61 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.001098/0.3983, allocations: 1.019 MB / 470.2 MB, free: 34.59 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.3983, allocations: 0 / 470.2 MB, free: 34.59 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.001901/0.4002, allocations: 0.6873 MB / 470.9 MB, free: 33.93 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * Number of states: 4 (tank1.level,tank1.medium.T,tank2.level,tank2.medium.T) * Number of discrete variables: 120 (tankController.normal.stateGraphRoot.suspend,tankController.s1.localActive,tankController.normal.fillTank1.localActive,tankController.normal.fillTank2.localActive,tankController.normal.T2.enableFire,tankController.normal.emptyTank2.localActive,tankController.normal.T4.enableFire,tankController.normal.wait1.localActive,tankController.normal.wait2.localActive,tankController.s2.localActive,tankController.emptyTanks.localActive,$cse1,$cse2,$cse5,$cse6,$cse7,$whenCondition15,$whenCondition14,$whenCondition13,$whenCondition12,$whenCondition11,$whenCondition10,$whenCondition2,$whenCondition1,$whenCondition3,$whenCondition5,$whenCondition4,$whenCondition6,$whenCondition8,$whenCondition7,$whenCondition9,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.combiTimeTable.nextTimeEvent,start.table.combiTimeTable.nextTimeEventScaled,start.pre_reset[1],start.pre_reset[2],stop.reset[1],stop.reset[2],stop.on,stop.table.y,stop.table.combiTimeTable.nextTimeEvent,stop.table.combiTimeTable.nextTimeEventScaled,stop.pre_reset[1],stop.pre_reset[2],shut.reset[1],shut.reset[2],shut.on,shut.table.y,shut.table.combiTimeTable.nextTimeEvent,shut.table.combiTimeTable.nextTimeEventScaled,shut.pre_reset[1],shut.pre_reset[2],tank1.regularFlow[1],tank1.regularFlow[2],tank1.inFlow[1],tank1.inFlow[2],tank2.regularFlow[1],tank2.regularFlow[2],tank2.inFlow[1],tank2.inFlow[2],tankController.normal.T1.t_start,tankController.normal.T3.t_start,tankController.T1.t_start,tankController.T2.t_start,tankController.T3.t_start,tankController.T4.t_start,tankController.T5.t_start,tankController.T6.t_start) * Number of discrete states: 50 (tankController.T6.t_start,tankController.T5.t_start,tankController.T4.t_start,tankController.T3.t_start,tankController.T2.t_start,tankController.T1.t_start,tankController.normal.T3.t_start,tankController.normal.T1.t_start,start.table.combiTimeTable.nextTimeEvent,stop.table.combiTimeTable.nextTimeEvent,shut.table.combiTimeTable.nextTimeEvent,shut.table.combiTimeTable.nextTimeEventScaled,stop.table.combiTimeTable.nextTimeEventScaled,start.table.combiTimeTable.nextTimeEventScaled,tankController.emptyTanks.newActive,tankController.s2.newActive,tankController.normal.newActive,tankController.normal.wait2.newActive,tankController.normal.wait1.newActive,tankController.normal.emptyTank2.newActive,tankController.normal.fillTank2.newActive,tankController.normal.fillTank1.newActive,tankController.s1.newActive,$whenCondition9,shut.on,$whenCondition8,$whenCondition7,shut.pre_reset[2],shut.pre_reset[1],shut.reset[1],shut.reset[2],shut.table.y,$whenCondition6,stop.on,$whenCondition5,$whenCondition4,stop.pre_reset[2],stop.pre_reset[1],stop.reset[1],stop.reset[2],stop.table.y,$whenCondition3,start.on,$whenCondition2,$whenCondition1,start.pre_reset[2],start.pre_reset[1],start.reset[1],start.reset[2],start.table.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (219): * Single equations (assignments): 183 * Array equations: 0 * Algorithm blocks: 3 * Record equations: 6 * When equations: 24 * 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.001476/0.4017, allocations: 0.8412 MB / 471.7 MB, free: 33.3 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.00412/0.4058, allocations: 2.815 MB / 474.5 MB, free: 30.45 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 4.639e-06/0.4058, allocations: 0 / 474.5 MB, free: 30.45 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00242/0.4083, allocations: 1.715 MB / 476.3 MB, free: 28.71 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002901/0.4112, allocations: 0.6815 MB / 476.9 MB, free: 28.03 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007305/0.4185, allocations: 5.186 MB / 482.1 MB, free: 22.8 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008161/0.4193, allocations: 1.63 MB / 483.8 MB, free: 21.13 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.001875/0.4212, allocations: 0.5647 MB / 484.3 MB, free: 20.57 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005177/0.4217, allocations: 223.3 kB / 484.5 MB, free: 20.35 MB / 350.1 MB Notification: Performance of SimCode: time 7.81e-07/0.4218, allocations: 0 / 484.5 MB, free: 20.35 MB / 350.1 MB Notification: Performance of Templates: time 0.05568/0.4774, allocations: 39.74 MB / 0.512 GB, free: 12.88 MB / 382.1 MB make -j1 -f Modelica_4.0.0_Modelica.Fluid.Examples.ControlledTankSystem.ControlledTanks.makefile (rm -f Modelica_4.0.0_Modelica.Fluid.Examples.ControlledTankSystem.ControlledTanks.pipe ; mkfifo Modelica_4.0.0_Modelica.Fluid.Examples.ControlledTankSystem.ControlledTanks.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Fluid.Examples.ControlledTankSystem.ControlledTanks.pipe >> ../files/Modelica_4.0.0_Modelica.Fluid.Examples.ControlledTankSystem.ControlledTanks.sim & ./Modelica_4.0.0_Modelica.Fluid.Examples.ControlledTankSystem.ControlledTanks -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Fluid.Examples.ControlledTankSystem.ControlledTanks.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Fluid.Examples.ControlledTankSystem.ControlledTanks_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Fluid/Examples/ControlledTankSystem/ControlledTanks/ControlledTanks.csv","../files/Modelica_4.0.0_Modelica.Fluid.Examples.ControlledTankSystem.ControlledTanks.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches