Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_Modelica.StateGraph.Examples.ControlledTanks.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(Modelica.StateGraph.Examples.ControlledTanks,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|tank1.level|tank2.level|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.makeProduct.T1.enableFire|tankController.makeProduct.T2.enableFire|tankController.makeProduct.T3.enableFire|tankController.makeProduct.T4.enableFire",fileNamePrefix="Modelica_3.2.3_cpp_Modelica.StateGraph.Examples.ControlledTanks") translateModel(Modelica.StateGraph.Examples.ControlledTanks,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|tank1.level|tank2.level|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.makeProduct.T1.enableFire|tankController.makeProduct.T2.enableFire|tankController.makeProduct.T3.enableFire|tankController.makeProduct.T4.enableFire",fileNamePrefix="Modelica_3.2.3_cpp_Modelica.StateGraph.Examples.ControlledTanks") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001534/0.001534, allocations: 188.3 kB / 16.41 MB, free: 5.723 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.874/1.874, allocations: 205.4 MB / 222.5 MB, free: 9.125 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001112/0.001112, allocations: 87.55 kB / 270.9 MB, free: 8.379 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003846/0.0003847, allocations: 12 kB / 327 MB, free: 216 kB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3224/0.3228, allocations: 47.56 MB / 374.5 MB, free: 45.43 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1311/0.4539, allocations: 83.02 MB / 457.5 MB, free: 13.73 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002326/0.4542, allocations: 71.97 kB / 457.6 MB, free: 13.66 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1656/0.6198, allocations: 40.66 MB / 498.3 MB, free: 4.922 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.735e-06/0.6198, allocations: 0 / 498.3 MB, free: 4.922 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0001286/0.62, allocations: 40.06 kB / 498.3 MB, free: 4.883 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 313 * Number of variables: 313 Notification: Performance of Generate backend data structure: time 0.004218/0.6242, allocations: 1.544 MB / 499.9 MB, free: 3.223 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.791e-05/0.6243, allocations: 8.031 kB / 499.9 MB, free: 3.215 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006408/0.6249, allocations: 158.2 kB / 0.4883 GB, free: 3.059 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002603/0.6276, allocations: 0.8838 MB / 0.4892 GB, free: 2.133 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002619/0.6279, allocations: 203.9 kB / 0.4894 GB, free: 1.914 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003618/0.6282, allocations: 136 kB / 0.4895 GB, free: 1.781 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00394/0.6322, allocations: 1.433 MB / 0.4909 GB, free: 232 kB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.848e-05/0.6323, allocations: 0 / 0.4909 GB, free: 232 kB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001855/0.6325, allocations: 63.92 kB / 0.4909 GB, free: 168 kB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.671e-05/0.6326, allocations: 50.17 kB / 0.491 GB, free: 116 kB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.265/0.8976, allocations: 0.964 MB / 0.4919 GB, free: 94.16 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009002/0.9066, allocations: 5.447 MB / 0.4973 GB, free: 91.67 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002765/0.9094, allocations: 1.1 MB / 0.4983 GB, free: 91.36 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001806/0.9097, allocations: 96.16 kB / 0.4984 GB, free: 91.26 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001525/0.9112, allocations: 0.6385 MB / 0.499 GB, free: 91.11 MB / 378.7 MB Notification: Performance of pre-optimization done (n=116): time 3.997e-06/0.9112, allocations: 0 / 0.499 GB, free: 91.11 MB / 378.7 MB Notification: Performance of matching and sorting (n=116): time 0.003887/0.9151, allocations: 1.56 MB / 0.5006 GB, free: 90.62 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001334/0.9153, allocations: 313.5 kB / 0.5009 GB, free: 90.27 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001872/0.9172, allocations: 0.8608 MB / 0.5017 GB, free: 90.11 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003599/0.9176, allocations: 102.5 kB / 0.5018 GB, free: 90.08 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005429/0.9181, allocations: 0.5491 MB / 0.5023 GB, free: 89.8 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004343/0.9186, allocations: 297.5 kB / 0.5026 GB, free: 89.66 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001136/0.9187, allocations: 30.75 kB / 0.5027 GB, free: 89.66 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001174/0.9188, allocations: 370.5 kB / 0.503 GB, free: 89.35 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001262/0.9201, allocations: 417.6 kB / 0.5034 GB, free: 89.34 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001541/0.9217, allocations: 0.7937 MB / 0.5042 GB, free: 88.94 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001365/0.9231, allocations: 0.5259 MB / 0.5047 GB, free: 88.84 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.312e-05/0.9231, allocations: 3.375 kB / 0.5047 GB, free: 88.84 MB / 378.7 MB Notification: Performance of matching and sorting (n=200) (initialization): time 0.003334/0.9265, allocations: 1.367 MB / 0.506 GB, free: 88.65 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.356e-05/0.9266, allocations: 94.91 kB / 0.5061 GB, free: 88.56 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.115e-05/0.9266, allocations: 11.19 kB / 0.5061 GB, free: 88.56 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.229e-05/0.9267, allocations: 19.28 kB / 0.5062 GB, free: 88.56 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00103/0.9277, allocations: 177.9 kB / 0.5063 GB, free: 88.56 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.144e-05/0.9277, allocations: 24.19 kB / 0.5063 GB, free: 88.56 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001017/0.9288, allocations: 103.2 kB / 0.5064 GB, free: 88.54 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001418/0.9289, allocations: 68.39 kB / 0.5065 GB, free: 88.54 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 44 * Number of states: 0 () * Number of discrete variables: 146 ($PRE.tankController.makeProduct.T1.enableFire,$PRE.tankController.makeProduct.T3.enableFire,$PRE.tankController.makeProduct.T2.enableFire,$PRE.tankController.makeProduct.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,$whenCondition6,$PRE.shut.table.combiTimeTable.nextTimeEvent,$whenCondition5,$PRE.stop.table.combiTimeTable.nextTimeEvent,$whenCondition4,$PRE.start.table.combiTimeTable.nextTimeEvent,$whenCondition3,$whenCondition2,$whenCondition1,$whenCondition8,$whenCondition7,$whenCondition10,$whenCondition9,$whenCondition12,$whenCondition11,$PRE.tankController.s1.localActive,tankController.s1.localActive,tankController.s1.inPort[2].occupied,$PRE.tankController.s1.newActive,tankController.s1.newActive,$PRE.tankController.s1.oldActive,tankController.s1.oldActive,tankController.s1.active,tankController.makeProduct.stateGraphRoot.suspend,tankController.makeProduct.stateGraphRoot.resume,tankController.makeProduct.active,$PRE.tankController.makeProduct.newActive,tankController.makeProduct.newActive,tankController.makeProduct.activeSteps,$PRE.tankController.makeProduct.fillTank1.localActive,tankController.makeProduct.fillTank1.localActive,$PRE.tankController.makeProduct.fillTank1.newActive,tankController.makeProduct.fillTank1.newActive,$PRE.tankController.makeProduct.fillTank1.oldActive,tankController.makeProduct.fillTank1.oldActive,tankController.makeProduct.fillTank1.active,tankController.makeProduct.T1.enableFire,tankController.makeProduct.T1.condition,$PRE.tankController.makeProduct.fillTank2.localActive,tankController.makeProduct.fillTank2.localActive,$PRE.tankController.makeProduct.fillTank2.newActive,tankController.makeProduct.fillTank2.newActive,$PRE.tankController.makeProduct.fillTank2.oldActive,tankController.makeProduct.fillTank2.oldActive,tankController.makeProduct.fillTank2.active,tankController.makeProduct.T3.enableFire,tankController.makeProduct.T3.condition,$PRE.tankController.makeProduct.emptyTank2.localActive,tankController.makeProduct.emptyTank2.localActive,$PRE.tankController.makeProduct.emptyTank2.newActive,tankController.makeProduct.emptyTank2.newActive,$PRE.tankController.makeProduct.emptyTank2.oldActive,tankController.makeProduct.emptyTank2.oldActive,tankController.makeProduct.emptyTank2.active,$PRE.tankController.makeProduct.wait1.localActive,tankController.makeProduct.wait1.localActive,$PRE.tankController.makeProduct.wait1.newActive,tankController.makeProduct.wait1.newActive,$PRE.tankController.makeProduct.wait1.oldActive,tankController.makeProduct.wait1.oldActive,tankController.makeProduct.wait1.active,tankController.makeProduct.T2.enableFire,tankController.makeProduct.T2.fire,$PRE.tankController.makeProduct.T2.t_start,tankController.makeProduct.T2.t_start,$PRE.tankController.makeProduct.wait2.localActive,tankController.makeProduct.wait2.localActive,$PRE.tankController.makeProduct.wait2.newActive,tankController.makeProduct.wait2.newActive,$PRE.tankController.makeProduct.wait2.oldActive,tankController.makeProduct.wait2.oldActive,tankController.makeProduct.wait2.active,tankController.makeProduct.T4.enableFire,tankController.makeProduct.T4.fire,$PRE.tankController.makeProduct.T4.t_start,tankController.makeProduct.T4.t_start,tankController.T1.enableFire,tankController.T2.enableFire,tankController.T2.condition,tankController.T3.enableFire,$PRE.tankController.s2.localActive,tankController.s2.localActive,tankController.s2.outPort[2].available,$PRE.tankController.s2.newActive,tankController.s2.newActive,$PRE.tankController.s2.oldActive,tankController.s2.oldActive,tankController.s2.active,tankController.T4.enableFire,tankController.T5.enableFire,$PRE.tankController.emptyTanks.localActive,tankController.emptyTanks.localActive,$PRE.tankController.emptyTanks.newActive,tankController.emptyTanks.newActive,$PRE.tankController.emptyTanks.oldActive,tankController.emptyTanks.oldActive,tankController.emptyTanks.active,tankController.T6.enableFire,tankController.T6.condition,tankController.valve2,tankController.valve3,$PRE.start.reset[1],start.reset[1],$PRE.start.reset[2],start.reset[2],$PRE.start.on,start.on,start.table.y,start.table.combiTimeTable.nextTimeEvent,$PRE.start.table.combiTimeTable.nextTimeEventScaled,start.table.combiTimeTable.nextTimeEventScaled,$PRE.stop.reset[1],stop.reset[1],$PRE.stop.reset[2],stop.reset[2],$PRE.stop.on,stop.on,stop.table.y,stop.table.combiTimeTable.nextTimeEvent,$PRE.stop.table.combiTimeTable.nextTimeEventScaled,stop.table.combiTimeTable.nextTimeEventScaled,$PRE.shut.reset[1],shut.reset[1],$PRE.shut.reset[2],shut.reset[2],$PRE.shut.on,shut.on,shut.table.y,shut.table.combiTimeTable.nextTimeEvent,$PRE.shut.table.combiTimeTable.nextTimeEventScaled,shut.table.combiTimeTable.nextTimeEventScaled,stateGraphRoot.activeSteps,stateGraphRoot.resume,stateGraphRoot.suspend,tankController.makeProduct.T4.condition,tankController.makeProduct.T2.condition) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (194): * Single equations (assignments): 191 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001135/0.9301, allocations: 0.5837 MB / 0.5071 GB, free: 88.29 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003169/0.9304, allocations: 106.4 kB / 0.5072 GB, free: 88.24 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002837/0.9333, allocations: 1.137 MB / 0.5083 GB, free: 88.07 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.407e-05/0.9333, allocations: 15.06 kB / 0.5083 GB, free: 88.07 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.608e-06/0.9333, allocations: 0 / 0.5083 GB, free: 88.07 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.495e-05/0.9334, allocations: 3.75 kB / 0.5083 GB, free: 88.07 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005749/0.9391, allocations: 2.637 MB / 0.5109 GB, free: 87.51 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.597e-06/0.9392, allocations: 0 / 0.5109 GB, free: 87.51 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000626/0.9398, allocations: 83.75 kB / 0.511 GB, free: 87.49 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.224e-05/0.9398, allocations: 3.875 kB / 0.511 GB, free: 87.49 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.755e-05/0.9399, allocations: 35.36 kB / 0.511 GB, free: 87.48 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.037e-05/0.94, allocations: 7.859 kB / 0.511 GB, free: 87.47 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.174e-06/0.94, allocations: 0 / 0.511 GB, free: 87.47 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003819/0.9438, allocations: 1.685 MB / 0.5127 GB, free: 86.64 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006543/0.9445, allocations: 298.8 kB / 0.5129 GB, free: 86.43 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002639/0.9448, allocations: 46.11 kB / 0.513 GB, free: 86.41 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006694/0.9455, allocations: 50.55 kB / 0.513 GB, free: 86.39 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004253/0.9459, allocations: 151.2 kB / 0.5132 GB, free: 86.36 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001177/0.946, allocations: 44.59 kB / 0.5132 GB, free: 86.35 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.001081/0.9471, allocations: 0.5803 MB / 0.5138 GB, free: 86.09 MB / 378.7 MB Notification: Performance of sort global known variables: time 3.81e-07/0.9471, allocations: 0 / 0.5138 GB, free: 86.09 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.001517/0.9487, allocations: 294.1 kB / 0.5141 GB, free: 86.04 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (tank1.level,tank2.level) * Number of discrete variables: 95 (tankController.makeProduct.stateGraphRoot.suspend,tankController.emptyTanks.localActive,tankController.s2.localActive,tankController.makeProduct.T4.enableFire,tankController.makeProduct.wait2.localActive,tankController.makeProduct.T2.enableFire,tankController.makeProduct.wait1.localActive,tankController.makeProduct.emptyTank2.localActive,tankController.makeProduct.fillTank2.localActive,tankController.makeProduct.fillTank1.localActive,tankController.s1.localActive,$cse4,$cse5,$cse7,$cse9,$cse10,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,$whenCondition8,$whenCondition7,$whenCondition10,$whenCondition9,$whenCondition12,$whenCondition11,tankController.s1.inPort[2].occupied,tankController.s1.newActive,tankController.s1.oldActive,tankController.s1.active,tankController.makeProduct.stateGraphRoot.resume,tankController.makeProduct.active,tankController.makeProduct.newActive,tankController.makeProduct.activeSteps,tankController.makeProduct.fillTank1.newActive,tankController.makeProduct.fillTank1.oldActive,tankController.makeProduct.fillTank1.active,tankController.makeProduct.T1.enableFire,tankController.makeProduct.T1.condition,tankController.makeProduct.fillTank2.newActive,tankController.makeProduct.fillTank2.oldActive,tankController.makeProduct.fillTank2.active,tankController.makeProduct.T3.enableFire,tankController.makeProduct.T3.condition,tankController.makeProduct.emptyTank2.newActive,tankController.makeProduct.emptyTank2.oldActive,tankController.makeProduct.emptyTank2.active,tankController.makeProduct.wait1.newActive,tankController.makeProduct.wait1.oldActive,tankController.makeProduct.wait1.active,tankController.makeProduct.T2.fire,tankController.makeProduct.T2.t_start,tankController.makeProduct.wait2.newActive,tankController.makeProduct.wait2.oldActive,tankController.makeProduct.wait2.active,tankController.makeProduct.T4.fire,tankController.makeProduct.T4.t_start,tankController.T1.enableFire,tankController.T2.enableFire,tankController.T2.condition,tankController.T3.enableFire,tankController.s2.outPort[2].available,tankController.s2.newActive,tankController.s2.oldActive,tankController.s2.active,tankController.T4.enableFire,tankController.T5.enableFire,tankController.emptyTanks.newActive,tankController.emptyTanks.oldActive,tankController.emptyTanks.active,tankController.T6.enableFire,tankController.T6.condition,tankController.valve2,tankController.valve3,start.reset[1],start.reset[2],start.on,start.table.y,start.table.combiTimeTable.nextTimeEvent,start.table.combiTimeTable.nextTimeEventScaled,stop.reset[1],stop.reset[2],stop.on,stop.table.y,stop.table.combiTimeTable.nextTimeEvent,stop.table.combiTimeTable.nextTimeEventScaled,shut.reset[1],shut.reset[2],shut.on,shut.table.y,shut.table.combiTimeTable.nextTimeEvent,shut.table.combiTimeTable.nextTimeEventScaled,stateGraphRoot.activeSteps) * Number of discrete states: 30 (shut.table.combiTimeTable.nextTimeEvent,stop.table.combiTimeTable.nextTimeEvent,start.table.combiTimeTable.nextTimeEvent,tankController.s1.newActive,tankController.makeProduct.fillTank1.newActive,tankController.makeProduct.fillTank2.newActive,tankController.makeProduct.emptyTank2.newActive,tankController.makeProduct.wait1.newActive,tankController.makeProduct.wait2.newActive,tankController.makeProduct.newActive,tankController.s2.newActive,tankController.emptyTanks.newActive,shut.table.combiTimeTable.nextTimeEventScaled,$whenCondition8,$whenCondition7,shut.on,shut.reset[1],shut.reset[2],stop.table.combiTimeTable.nextTimeEventScaled,$whenCondition10,$whenCondition9,stop.on,stop.reset[1],stop.reset[2],start.table.combiTimeTable.nextTimeEventScaled,$whenCondition12,$whenCondition11,start.on,start.reset[1],start.reset[2]) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (118): * Single equations (assignments): 99 * Array equations: 0 * Algorithm blocks: 3 * Record equations: 0 * When equations: 16 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001446/0.9501, allocations: 0.546 MB / 0.5146 GB, free: 85.71 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.00295/0.9531, allocations: 1.285 MB / 0.5159 GB, free: 85.13 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 7.164e-06/0.9532, allocations: 3.625 kB / 0.5159 GB, free: 85.13 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001292/0.9545, allocations: 0.679 MB / 0.5165 GB, free: 84.75 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001313/0.9558, allocations: 169.6 kB / 0.5167 GB, free: 84.7 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004892/0.9607, allocations: 2.49 MB / 0.5191 GB, free: 83.25 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007761/0.9616, allocations: 1.169 MB / 0.5203 GB, free: 82.5 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007044/0.9623, allocations: 120.8 kB / 0.5204 GB, free: 82.48 MB / 378.7 MB Notification: Performance of SimCode: time 1.362e-06/0.9623, allocations: 0 / 0.5204 GB, free: 82.48 MB / 378.7 MB Notification: Performance of Templates: time 0.03299/0.9953, allocations: 17.11 MB / 0.5371 GB, free: 74.56 MB / 378.7 MB make -j1 -f Modelica_3.2.3_cpp_Modelica.StateGraph.Examples.ControlledTanks.makefile (rm -f Modelica_3.2.3_cpp_Modelica.StateGraph.Examples.ControlledTanks.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.StateGraph.Examples.ControlledTanks.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.StateGraph.Examples.ControlledTanks.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.StateGraph.Examples.ControlledTanks.sim & ./Modelica_3.2.3_cpp_Modelica.StateGraph.Examples.ControlledTanks --alarm=480 -emit_protected > Modelica_3.2.3_cpp_Modelica.StateGraph.Examples.ControlledTanks.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_cpp_Modelica.StateGraph.Examples.ControlledTanks_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/StateGraph/Examples/ControlledTanks/ControlledTanks.csv","../files/Modelica_3.2.3_cpp_Modelica.StateGraph.Examples.ControlledTanks.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches