Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_Modelica.Fluid.Examples.ControlledTankSystem.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.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.3_cpp_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_3.2.3_cpp_Modelica.Fluid.Examples.ControlledTankSystem.ControlledTanks") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001208/0.001208, allocations: 180.9 kB / 17.41 MB, free: 4.289 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.501/1.501, allocations: 205.4 MB / 223.6 MB, free: 8.941 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.0007852/0.0007852, allocations: 92.98 kB / 271.9 MB, free: 8.23 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003658/0.000366, allocations: 12 kB / 328.1 MB, free: 15.92 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.282/0.2824, allocations: 47.57 MB / 375.7 MB, free: 45.41 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.8288/1.111, allocations: 302 MB / 0.6618 GB, free: 159.2 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000326/1.112, allocations: 94.62 kB / 0.6619 GB, free: 159.2 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.6849/1.797, allocations: 221 MB / 0.8777 GB, free: 74.29 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.425e-06/1.797, allocations: 0 / 0.8777 GB, free: 74.29 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0002575/1.797, allocations: 61.41 kB / 0.8778 GB, free: 74.28 MB / 426.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 521 * Number of variables: 521 Notification: Performance of Generate backend data structure: time 0.008106/1.805, allocations: 2.565 MB / 0.8803 GB, free: 72.83 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.881e-05/1.805, allocations: 7.781 kB / 0.8803 GB, free: 72.83 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001704/1.807, allocations: 286 kB / 0.8806 GB, free: 72.7 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004103/1.811, allocations: 1.506 MB / 0.882 GB, free: 72.29 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003961/1.811, allocations: 307 kB / 0.8823 GB, free: 72.16 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009542/1.812, allocations: 214.4 kB / 0.8825 GB, free: 72.16 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006763/1.819, allocations: 2.741 MB / 0.8852 GB, free: 71.68 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.323e-05/1.819, allocations: 8.594 kB / 0.8852 GB, free: 71.68 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004632/1.82, allocations: 93.97 kB / 0.8853 GB, free: 71.68 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001167/1.82, allocations: 98.36 kB / 0.8854 GB, free: 71.67 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004471/1.824, allocations: 2.158 MB / 0.8875 GB, free: 71.66 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01455/1.839, allocations: 10.07 MB / 0.8973 GB, free: 66.74 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002528/1.841, allocations: 1.89 MB / 0.8992 GB, free: 65.8 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00137/1.843, allocations: 1.019 MB / 0.9002 GB, free: 65.4 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007354/1.85, allocations: 4.71 MB / 0.9048 GB, free: 62.23 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002083/1.852, allocations: 1.436 MB / 0.9062 GB, free: 61.55 MB / 426.7 MB Notification: Performance of pre-optimization done (n=193): time 3.998e-06/1.852, allocations: 0 / 0.9062 GB, free: 61.55 MB / 426.7 MB Notification: Performance of matching and sorting (n=203): time 0.01269/1.865, allocations: 6.222 MB / 0.9123 GB, free: 58.6 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001956/1.865, allocations: 0.5435 MB / 0.9128 GB, free: 57.96 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002952/1.868, allocations: 1.635 MB / 0.9144 GB, free: 57.3 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003083/1.868, allocations: 115.3 kB / 0.9145 GB, free: 57.22 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001077/1.87, allocations: 0.9091 MB / 0.9154 GB, free: 56.53 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006871/1.87, allocations: 0.5702 MB / 0.9159 GB, free: 56.11 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002091/1.87, allocations: 51.69 kB / 0.916 GB, free: 56.07 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0002249/1.871, allocations: 403.8 kB / 0.9164 GB, free: 55.73 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00192/1.873, allocations: 0.9147 MB / 0.9173 GB, free: 55.39 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002369/1.875, allocations: 1.592 MB / 0.9188 GB, free: 54.25 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003343/1.878, allocations: 2.424 MB / 0.9212 GB, free: 52.64 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.293e-05/1.878, allocations: 6.906 kB / 0.9212 GB, free: 52.64 MB / 426.7 MB Notification: Performance of matching and sorting (n=332) (initialization): time 0.005301/1.884, allocations: 3.049 MB / 0.9242 GB, free: 51.38 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.458e-05/1.884, allocations: 103.3 kB / 0.9243 GB, free: 51.28 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.688e-05/1.884, allocations: 19.25 kB / 0.9243 GB, free: 51.28 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001103/1.885, allocations: 0.5683 MB / 0.9248 GB, free: 51.15 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001336/1.886, allocations: 398.8 kB / 0.9252 GB, free: 51.09 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001919/1.888, allocations: 2.262 MB / 0.9274 GB, free: 49.04 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001958/1.89, allocations: 157.4 kB / 0.9276 GB, free: 48.91 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002819/1.891, allocations: 122.6 kB / 0.9277 GB, free: 48.8 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 77 * 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,$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,$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,$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,tankController.stateGraphRoot.resume,tankController.stateGraphRoot.suspend,tankController.normal.T4.condition,tankController.normal.T2.condition,$whenCondition15,$whenCondition14,$whenCondition13,$PRE.tankController.s1.localActive,tankController.s1.localActive,tankController.s1.inPort[2].occupied,$PRE.tankController.s1.newActive,tankController.s1.newActive,$PRE.tankController.s1.oldActive,tankController.s1.oldActive,tankController.s1.active,tankController.normal.stateGraphRoot.suspend,tankController.normal.stateGraphRoot.resume,tankController.normal.active,$PRE.tankController.normal.newActive,tankController.normal.newActive,tankController.normal.activeSteps,$PRE.tankController.normal.fillTank1.localActive,tankController.normal.fillTank1.localActive,$PRE.tankController.normal.fillTank1.newActive,tankController.normal.fillTank1.newActive,$PRE.tankController.normal.fillTank1.oldActive,tankController.normal.fillTank1.oldActive,tankController.normal.fillTank1.active,tankController.normal.T1.enableFire,tankController.normal.T1.condition,$PRE.tankController.normal.fillTank2.localActive,tankController.normal.fillTank2.localActive,$PRE.tankController.normal.fillTank2.newActive,tankController.normal.fillTank2.newActive,$PRE.tankController.normal.fillTank2.oldActive,tankController.normal.fillTank2.oldActive,tankController.normal.fillTank2.active,tankController.normal.T3.enableFire,tankController.normal.T3.condition,$PRE.tankController.normal.emptyTank2.localActive,tankController.normal.emptyTank2.localActive,$PRE.tankController.normal.emptyTank2.newActive,tankController.normal.emptyTank2.newActive,$PRE.tankController.normal.emptyTank2.oldActive,tankController.normal.emptyTank2.oldActive,tankController.normal.emptyTank2.active,$PRE.tankController.normal.wait1.localActive,tankController.normal.wait1.localActive,$PRE.tankController.normal.wait1.newActive,tankController.normal.wait1.newActive,$PRE.tankController.normal.wait1.oldActive,tankController.normal.wait1.oldActive,tankController.normal.wait1.active,tankController.normal.T2.enableFire,tankController.normal.T2.fire,$PRE.tankController.normal.T2.t_start,tankController.normal.T2.t_start,$PRE.tankController.normal.wait2.localActive,tankController.normal.wait2.localActive,$PRE.tankController.normal.wait2.newActive,tankController.normal.wait2.newActive,$PRE.tankController.normal.wait2.oldActive,tankController.normal.wait2.oldActive,tankController.normal.wait2.active,tankController.normal.T4.enableFire,tankController.normal.T4.fire,$PRE.tankController.normal.T4.t_start,tankController.normal.T4.t_start,tankController.T1.enableFire,tankController.T2.enableFire,tankController.T2.condition,tankController.T3.enableFire,$PRE.tankController.s2.localActive,tankController.s2.localActive,tankController.s2.outPort[2].available,$PRE.tankController.s2.newActive,tankController.s2.newActive,$PRE.tankController.s2.oldActive,tankController.s2.oldActive,tankController.s2.active,tankController.T4.enableFire,tankController.T5.enableFire,$PRE.tankController.emptyTanks.localActive,tankController.emptyTanks.localActive,$PRE.tankController.emptyTanks.newActive,tankController.emptyTanks.newActive,$PRE.tankController.emptyTanks.oldActive,tankController.emptyTanks.oldActive,tankController.emptyTanks.active,tankController.T6.enableFire,tankController.T6.condition,tankController.valve2,tankController.valve3,tankController.stateGraphRoot.activeSteps,start.reset[1],start.reset[2],$PRE.start.on,start.on,stop.reset[1],stop.reset[2],$PRE.stop.on,stop.on,shut.reset[1],shut.reset[2],$PRE.shut.on,shut.on,tank1.regularFlow[1],tank1.regularFlow[2],tank1.inFlow[1],tank1.inFlow[2],tank2.regularFlow[1],tank2.regularFlow[2],tank2.inFlow[1],tank2.inFlow[2]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (311): * Single equations (assignments): 305 * 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.001465/1.892, allocations: 0.7663 MB / 0.9284 GB, free: 48.06 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005068/1.893, allocations: 205.6 kB / 0.9286 GB, free: 47.86 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005489/1.898, allocations: 3.027 MB / 0.9316 GB, free: 45.29 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.396e-05/1.898, allocations: 20 kB / 0.9316 GB, free: 45.27 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.428e-05/1.898, allocations: 4 kB / 0.9316 GB, free: 45.27 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.285e-05/1.898, allocations: 15.09 kB / 0.9316 GB, free: 45.27 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009533/1.908, allocations: 5.434 MB / 0.9369 GB, free: 39.84 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.867e-06/1.908, allocations: 2.5 kB / 0.9369 GB, free: 39.84 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009842/1.909, allocations: 251.6 kB / 0.9372 GB, free: 39.59 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001022/1.91, allocations: 0.565 MB / 0.9377 GB, free: 39.05 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002172/1.91, allocations: 59.95 kB / 0.9378 GB, free: 38.99 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00178/1.912, allocations: 2.229 MB / 0.94 GB, free: 36.69 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.837e-06/1.912, allocations: 6.094 kB / 0.94 GB, free: 36.68 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007345/1.919, allocations: 4.065 MB / 0.9439 GB, free: 32.58 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001924/1.921, allocations: 0.545 MB / 0.9445 GB, free: 32.01 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008532/1.922, allocations: 63.98 kB / 0.9445 GB, free: 31.95 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00185/1.924, allocations: 133.1 kB / 0.9447 GB, free: 31.82 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005448/1.924, allocations: 264.6 kB / 0.9449 GB, free: 31.57 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002533/1.925, allocations: 87.94 kB / 0.945 GB, free: 31.48 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.001987/1.927, allocations: 1.039 MB / 0.946 GB, free: 30.45 MB / 426.7 MB Notification: Performance of sort global known variables: time 3.81e-07/1.927, allocations: 3.938 kB / 0.946 GB, free: 30.45 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.003313/1.93, allocations: 0.734 MB / 0.9467 GB, free: 29.72 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (tank1.medium.T,tank1.level,tank2.medium.T,tank2.level) * Number of discrete variables: 106 (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.normal.stateGraphRoot.suspend,tankController.s2.localActive,tankController.emptyTanks.localActive,$cse1,$cse2,$cse3,$cse4,$cse5,$whenCondition15,$whenCondition14,$whenCondition13,$whenCondition12,$whenCondition11,$whenCondition10,$whenCondition2,$whenCondition1,$whenCondition3,$whenCondition5,$whenCondition4,$whenCondition6,$whenCondition8,$whenCondition7,$whenCondition9,tankController.s1.inPort[2].occupied,tankController.s1.newActive,tankController.s1.oldActive,tankController.s1.active,tankController.normal.stateGraphRoot.resume,tankController.normal.active,tankController.normal.newActive,tankController.normal.activeSteps,tankController.normal.fillTank1.newActive,tankController.normal.fillTank1.oldActive,tankController.normal.fillTank1.active,tankController.normal.T1.enableFire,tankController.normal.T1.condition,tankController.normal.fillTank2.newActive,tankController.normal.fillTank2.oldActive,tankController.normal.fillTank2.active,tankController.normal.T3.enableFire,tankController.normal.T3.condition,tankController.normal.emptyTank2.newActive,tankController.normal.emptyTank2.oldActive,tankController.normal.emptyTank2.active,tankController.normal.wait1.newActive,tankController.normal.wait1.oldActive,tankController.normal.wait1.active,tankController.normal.T2.fire,tankController.normal.T2.t_start,tankController.normal.wait2.newActive,tankController.normal.wait2.oldActive,tankController.normal.wait2.active,tankController.normal.T4.fire,tankController.normal.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,tankController.stateGraphRoot.activeSteps,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,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: 36 (start.table.combiTimeTable.nextTimeEvent,stop.table.combiTimeTable.nextTimeEvent,shut.table.combiTimeTable.nextTimeEvent,shut.table.combiTimeTable.nextTimeEventScaled,$whenCondition9,shut.on,$whenCondition8,$whenCondition7,shut.reset[1],shut.reset[2],shut.table.y,stop.table.combiTimeTable.nextTimeEventScaled,$whenCondition6,stop.on,$whenCondition5,$whenCondition4,stop.reset[1],stop.reset[2],stop.table.y,start.table.combiTimeTable.nextTimeEventScaled,$whenCondition3,start.on,$whenCondition2,$whenCondition1,start.reset[1],start.reset[2],start.table.y,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) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (214): * Single equations (assignments): 186 * Array equations: 0 * Algorithm blocks: 3 * Record equations: 6 * When equations: 16 * 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.002398/1.932, allocations: 0.9838 MB / 0.9477 GB, free: 28.94 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.005202/1.938, allocations: 2.658 MB / 0.9503 GB, free: 26.25 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 6.833e-06/1.938, allocations: 0 / 0.9503 GB, free: 26.25 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002643/1.94, allocations: 1.438 MB / 0.9517 GB, free: 24.78 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00434/1.945, allocations: 0.7177 MB / 0.9524 GB, free: 24.11 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01105/1.956, allocations: 5.151 MB / 0.9574 GB, free: 19.03 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001631/1.958, allocations: 1.564 MB / 0.959 GB, free: 17.43 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001203/1.959, allocations: 247.3 kB / 0.9592 GB, free: 17.2 MB / 426.7 MB Notification: Performance of SimCode: time 9.61e-07/1.959, allocations: 0 / 0.9592 GB, free: 17.2 MB / 426.7 MB Notification: Performance of Templates: time 0.3141/2.273, allocations: 67.58 MB / 1.025 GB, free: 56.27 MB / 426.7 MB make -j1 -f Modelica_3.2.3_cpp_Modelica.Fluid.Examples.ControlledTankSystem.ControlledTanks.makefile (rm -f Modelica_3.2.3_cpp_Modelica.Fluid.Examples.ControlledTankSystem.ControlledTanks.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Fluid.Examples.ControlledTankSystem.ControlledTanks.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Fluid.Examples.ControlledTankSystem.ControlledTanks.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Fluid.Examples.ControlledTankSystem.ControlledTanks.sim & ./Modelica_3.2.3_cpp_Modelica.Fluid.Examples.ControlledTankSystem.ControlledTanks --alarm=480 -emit_protected > Modelica_3.2.3_cpp_Modelica.Fluid.Examples.ControlledTankSystem.ControlledTanks.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_cpp_Modelica.Fluid.Examples.ControlledTankSystem.ControlledTanks_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Fluid/Examples/ControlledTankSystem/ControlledTanks/ControlledTanks.csv","../files/Modelica_3.2.3_cpp_Modelica.Fluid.Examples.ControlledTankSystem.ControlledTanks.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches