Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_cpp_Modelica.Fluid.Examples.ControlledTankSystem.ControlledTanks.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/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_trunk_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_trunk_cpp_Modelica.Fluid.Examples.ControlledTankSystem.ControlledTanks") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002172/0.002172, allocations: 199.4 kB / 18.07 MB, free: 3.77 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 3.362/3.362, allocations: 226.5 MB / 245.4 MB, free: 8.27 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001117/0.001118, allocations: 96.81 kB / 297.4 MB, free: 6.945 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004622/0.0004623, allocations: 4 kB / 357.4 MB, free: 11.02 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6642/0.6648, allocations: 51.28 MB / 408.7 MB, free: 27.79 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 2.026/2.691, allocations: 304.4 MB / 0.6964 GB, free: 166.3 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004194/2.692, allocations: 88.11 kB / 0.6964 GB, free: 166.2 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.682/4.374, allocations: 227.8 MB / 0.9189 GB, free: 84.8 MB / 458.7 MB Notification: Performance of FrontEnd: time 4.238e-06/4.374, allocations: 0 / 0.9189 GB, free: 84.8 MB / 458.7 MB Notification: Performance of Transformations before backend: time 0.0005705/4.375, allocations: 66.69 kB / 0.919 GB, free: 84.79 MB / 458.7 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.01543/4.39, allocations: 2.697 MB / 0.9216 GB, free: 83.21 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 8.79e-05/4.39, allocations: 7.312 kB / 0.9216 GB, free: 83.21 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003803/4.394, allocations: 293.5 kB / 0.9219 GB, free: 83.08 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008794/4.403, allocations: 1.565 MB / 0.9234 GB, free: 82.66 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008128/4.404, allocations: 311 kB / 0.9237 GB, free: 82.53 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00595/4.41, allocations: 218 kB / 0.9239 GB, free: 82.53 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01985/4.43, allocations: 2.782 MB / 0.9267 GB, free: 82.04 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002491/4.43, allocations: 9 kB / 0.9267 GB, free: 82.04 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001595/4.432, allocations: 87.34 kB / 0.9268 GB, free: 82.04 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002905/4.432, allocations: 105.7 kB / 0.9269 GB, free: 82.04 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01419/4.446, allocations: 2.183 MB / 0.929 GB, free: 82.02 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03751/4.484, allocations: 10.13 MB / 0.9389 GB, free: 76.52 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006529/4.491, allocations: 2.055 MB / 0.9409 GB, free: 75.36 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.008149/4.499, allocations: 1.101 MB / 0.942 GB, free: 74.89 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02318/4.522, allocations: 5.5 MB / 0.9473 GB, free: 71.03 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005744/4.528, allocations: 1.525 MB / 0.9488 GB, free: 70.27 MB / 458.7 MB Notification: Performance of pre-optimization done (n=207): time 2.11e-05/4.528, allocations: 3.25 kB / 0.9488 GB, free: 70.27 MB / 458.7 MB Notification: Performance of matching and sorting (n=217): time 0.04494/4.573, allocations: 8.541 MB / 0.9572 GB, free: 65.57 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0005163/4.574, allocations: 0.7751 MB / 0.9579 GB, free: 64.68 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004914/4.579, allocations: 1.661 MB / 0.9595 GB, free: 63.99 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.001178/4.58, allocations: 129.4 kB / 0.9597 GB, free: 63.91 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001325/4.581, allocations: 0.9064 MB / 0.9606 GB, free: 63.22 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001502/4.583, allocations: 0.5992 MB / 0.9611 GB, free: 62.78 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002449/4.583, allocations: 51.97 kB / 0.9612 GB, free: 62.74 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0002731/4.583, allocations: 410.7 kB / 0.9616 GB, free: 62.39 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007466/4.591, allocations: 0.9559 MB / 0.9625 GB, free: 62.04 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004722/4.596, allocations: 1.679 MB / 0.9642 GB, free: 60.84 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00731/4.603, allocations: 2.578 MB / 0.9667 GB, free: 59.12 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.413e-05/4.603, allocations: 3.906 kB / 0.9667 GB, free: 59.12 MB / 458.7 MB Notification: Performance of matching and sorting (n=352) (initialization): time 0.0179/4.621, allocations: 3.17 MB / 0.9698 GB, free: 56.67 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002266/4.621, allocations: 104.9 kB / 0.9699 GB, free: 56.55 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.693e-05/4.621, allocations: 20 kB / 0.9699 GB, free: 56.54 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001769/4.623, allocations: 0.5837 MB / 0.9705 GB, free: 56.08 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002948/4.626, allocations: 404.4 kB / 0.9708 GB, free: 55.74 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003163/4.629, allocations: 2.257 MB / 0.973 GB, free: 53.55 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004226/4.634, allocations: 175.6 kB / 0.9732 GB, free: 53.41 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001131/4.635, allocations: 129.9 kB / 0.9733 GB, free: 53.3 MB / 458.7 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,$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 (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.004366/4.639, allocations: 0.8035 MB / 0.9741 GB, free: 52.53 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001589/4.641, allocations: 217.2 kB / 0.9743 GB, free: 52.32 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01563/4.656, allocations: 3.084 MB / 0.9773 GB, free: 49.71 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.362e-05/4.657, allocations: 28 kB / 0.9774 GB, free: 49.69 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.784e-05/4.657, allocations: 4 kB / 0.9774 GB, free: 49.68 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.715e-05/4.657, allocations: 11.02 kB / 0.9774 GB, free: 49.68 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02634/4.683, allocations: 5.581 MB / 0.9828 GB, free: 45.07 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.79e-05/4.683, allocations: 9.5 kB / 0.9828 GB, free: 45.06 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002488/4.686, allocations: 251.5 kB / 0.9831 GB, free: 44.82 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002847/4.689, allocations: 0.5544 MB / 0.9836 GB, free: 44.28 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001018/4.69, allocations: 71.94 kB / 0.9837 GB, free: 44.21 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002997/4.693, allocations: 2.237 MB / 0.9859 GB, free: 41.9 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.612e-06/4.693, allocations: 6.906 kB / 0.9859 GB, free: 41.89 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01903/4.712, allocations: 4.288 MB / 0.9901 GB, free: 37.5 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003752/4.716, allocations: 0.5645 MB / 0.9906 GB, free: 36.92 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002028/4.718, allocations: 83.25 kB / 0.9907 GB, free: 36.84 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004009/4.722, allocations: 137.8 kB / 0.9908 GB, free: 36.71 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001505/4.723, allocations: 277.5 kB / 0.9911 GB, free: 36.44 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0009234/4.724, allocations: 99.94 kB / 0.9912 GB, free: 36.34 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.003896/4.728, allocations: 1.043 MB / 0.9922 GB, free: 35.3 MB / 458.7 MB Notification: Performance of sort global known variables: time 7.31e-07/4.728, allocations: 2.156 kB / 0.9922 GB, free: 35.3 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.01228/4.741, allocations: 0.7534 MB / 0.9929 GB, free: 34.55 MB / 458.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * Number of states: 4 (tank1.medium.T,tank1.level,tank2.medium.T,tank2.level) * Number of discrete variables: 120 (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,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,$whenCondition9,shut.on,$whenCondition8,$whenCondition7,shut.pre_reset[2],shut.pre_reset[1],shut.reset[1],shut.reset[2],shut.table.y,stop.table.combiTimeTable.nextTimeEventScaled,$whenCondition6,stop.on,$whenCondition5,$whenCondition4,stop.pre_reset[2],stop.pre_reset[1],stop.reset[1],stop.reset[2],stop.table.y,start.table.combiTimeTable.nextTimeEventScaled,$whenCondition3,start.on,$whenCondition2,$whenCondition1,start.pre_reset[2],start.pre_reset[1],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 (222): * Single equations (assignments): 186 * 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.005397/4.746, allocations: 1.022 MB / 0.9939 GB, free: 33.88 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.01297/4.759, allocations: 2.842 MB / 0.9967 GB, free: 31 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 2.139e-05/4.759, allocations: 0 / 0.9967 GB, free: 31 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00762/4.767, allocations: 1.656 MB / 0.9983 GB, free: 29.32 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01448/4.781, allocations: 0.7147 MB / 0.999 GB, free: 28.64 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0229/4.805, allocations: 5.329 MB / 1.004 GB, free: 23.33 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002298/4.807, allocations: 1.592 MB / 1.006 GB, free: 21.7 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00232/4.809, allocations: 247.3 kB / 1.006 GB, free: 21.46 MB / 458.7 MB Notification: Performance of SimCode: time 2.655e-06/4.809, allocations: 0 / 1.006 GB, free: 21.46 MB / 458.7 MB Notification: Performance of Templates: time 0.7875/5.597, allocations: 69.05 MB / 1.073 GB, free: 63.67 MB / 458.7 MB make -j1 -f Modelica_trunk_cpp_Modelica.Fluid.Examples.ControlledTankSystem.ControlledTanks.makefile (rm -f Modelica_trunk_cpp_Modelica.Fluid.Examples.ControlledTankSystem.ControlledTanks.pipe ; mkfifo Modelica_trunk_cpp_Modelica.Fluid.Examples.ControlledTankSystem.ControlledTanks.pipe ; head -c 1048576 < Modelica_trunk_cpp_Modelica.Fluid.Examples.ControlledTankSystem.ControlledTanks.pipe >> ../files/Modelica_trunk_cpp_Modelica.Fluid.Examples.ControlledTankSystem.ControlledTanks.sim & ./Modelica_trunk_cpp_Modelica.Fluid.Examples.ControlledTankSystem.ControlledTanks --alarm=480 -emit_protected > Modelica_trunk_cpp_Modelica.Fluid.Examples.ControlledTankSystem.ControlledTanks.pipe 2>&1) diffSimulationResults("Modelica_trunk_cpp_Modelica.Fluid.Examples.ControlledTankSystem.ControlledTanks_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Fluid/Examples/ControlledTankSystem/ControlledTanks/ControlledTanks.csv","../files/Modelica_trunk_cpp_Modelica.Fluid.Examples.ControlledTankSystem.ControlledTanks.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches