Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.StateGraph.Examples.ControlledTanks.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) 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) 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) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_Modelica.StateGraph.Examples.ControlledTanks") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001025/0.001025, allocations: 102.1 kB / 17 MB, free: 6.418 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00122/0.00122, allocations: 191 kB / 17.9 MB, free: 5.938 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.488/1.488, allocations: 227.7 MB / 246.4 MB, free: 11.56 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003391/0.0003395, allocations: 8 kB / 307.1 MB, free: 1.184 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1288/0.1292, allocations: 51.52 MB / 358.6 MB, free: 13.67 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.StateGraph.Examples.ControlledTanks): time 0.004807/0.1341, allocations: 3.441 MB / 362.1 MB, free: 10.21 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.006981/0.1411, allocations: 2.677 MB / 364.7 MB, free: 7.523 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001675/0.1428, allocations: 27.88 kB / 364.8 MB, free: 7.496 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00229/0.1452, allocations: 486.2 kB / 365.2 MB, free: 7.02 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002255/0.1474, allocations: 378.4 kB / 365.6 MB, free: 6.648 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003178/0.1506, allocations: 0.6578 MB / 366.3 MB, free: 5.996 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.003712/0.1543, allocations: 1.888 MB / 368.2 MB, free: 4.102 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002261/0.1566, allocations: 0.9441 MB / 369.1 MB, free: 3.137 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001485/0.1581, allocations: 0.5174 MB / 369.6 MB, free: 2.617 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001397/0.1595, allocations: 0.5676 MB / 370.2 MB, free: 2.047 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000194/0.1598, allocations: 60 kB / 370.2 MB, free: 1.988 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000502/0.1603, allocations: 127.9 kB / 370.4 MB, free: 1.863 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004781/0.1608, allocations: 334.8 kB / 370.7 MB, free: 1.535 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004381/0.1612, allocations: 293 kB / 371 MB, free: 1.242 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.2829/0.4441, allocations: 1.737 MB / 372.7 MB, free: 11.43 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.661e-06/0.4442, allocations: 0 / 372.7 MB, free: 11.43 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.953e-06/0.4442, allocations: 1.281 kB / 372.7 MB, free: 11.43 MB / 302.1 MB Notification: Performance of Transformations before backend: time 0.0001009/0.4443, allocations: 0 / 372.7 MB, free: 11.43 MB / 302.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 319 * Number of variables: 319 Notification: Performance of Generate backend data structure: time 0.003392/0.4477, allocations: 1.586 MB / 374.3 MB, free: 10.41 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.555e-05/0.4477, allocations: 11.64 kB / 374.3 MB, free: 10.41 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001102/0.4489, allocations: 204.8 kB / 374.5 MB, free: 10.33 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001467/0.4503, allocations: 0.8697 MB / 375.4 MB, free: 10.03 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002343/0.4506, allocations: 203.7 kB / 375.6 MB, free: 9.934 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002648/0.4509, allocations: 152.8 kB / 375.7 MB, free: 9.93 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002862/0.4537, allocations: 1.471 MB / 377.2 MB, free: 9.598 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.836e-05/0.4538, allocations: 2.562 kB / 377.2 MB, free: 9.598 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001227/0.4539, allocations: 55.67 kB / 377.3 MB, free: 9.598 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.773e-05/0.454, allocations: 47.73 kB / 377.3 MB, free: 9.594 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001999/0.456, allocations: 0.9713 MB / 378.3 MB, free: 9.578 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007179/0.4632, allocations: 5.882 MB / 384.2 MB, free: 6.859 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001812/0.465, allocations: 1.222 MB / 385.4 MB, free: 6.344 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007819/0.4658, allocations: 0.5331 MB / 385.9 MB, free: 6.09 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.838e-05/0.4659, allocations: 13.14 kB / 385.9 MB, free: 6.09 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001342/0.4672, allocations: 0.8829 MB / 386.8 MB, free: 5.555 MB / 302.1 MB Notification: Performance of pre-optimization done (n=131): time 4.298e-06/0.4673, allocations: 0 / 386.8 MB, free: 5.555 MB / 302.1 MB Notification: Performance of matching and sorting (n=131): time 0.002959/0.4702, allocations: 1.446 MB / 388.3 MB, free: 4.941 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002093/0.4704, allocations: 0.6007 MB / 388.9 MB, free: 4.246 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001321/0.4718, allocations: 0.9625 MB / 389.8 MB, free: 3.809 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001651/0.4719, allocations: 113.7 kB / 389.9 MB, free: 3.73 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004104/0.4724, allocations: 0.5227 MB / 390.5 MB, free: 3.34 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002722/0.4726, allocations: 339.1 kB / 390.8 MB, free: 3.102 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.293e-05/0.4727, allocations: 31.31 kB / 390.8 MB, free: 3.078 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001351/0.4729, allocations: 370.9 kB / 391.2 MB, free: 2.746 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008462/0.4737, allocations: 469.7 kB / 391.6 MB, free: 2.57 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001224/0.4749, allocations: 0.9023 MB / 392.5 MB, free: 1.867 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001066/0.476, allocations: 0.5824 MB / 393.1 MB, free: 1.551 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.164e-05/0.476, allocations: 3.938 kB / 393.1 MB, free: 1.551 MB / 302.1 MB Notification: Performance of matching and sorting (n=224) (initialization): time 0.002756/0.4788, allocations: 1.547 MB / 394.7 MB, free: 0.9141 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.555e-05/0.4789, allocations: 105.2 kB / 394.8 MB, free: 0.8164 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.163e-05/0.4789, allocations: 11.59 kB / 394.8 MB, free: 0.8164 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.245e-05/0.479, allocations: 22.97 kB / 394.8 MB, free: 0.8164 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006145/0.4796, allocations: 180.7 kB / 395 MB, free: 0.8008 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.75e-05/0.4796, allocations: 31.2 kB / 395 MB, free: 0.8008 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009008/0.4805, allocations: 150 kB / 395.2 MB, free: 0.7109 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000145/0.4807, allocations: 73.16 kB / 395.2 MB, free: 0.6953 MB / 302.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 53 * Number of states: 0 () * Number of discrete variables: 178 ($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,$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],$whenCondition12,$PRE.start.table.combiTimeTable.nextTimeEvent,$whenCondition11,$PRE.stop.table.combiTimeTable.nextTimeEvent,$whenCondition10,$PRE.shut.table.combiTimeTable.nextTimeEvent,$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.makeProduct.active,$PRE.tankController.makeProduct.newActive,tankController.makeProduct.newActive,tankController.makeProduct.activeSteps,tankController.makeProduct.fillTank1.active,$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.T1.condition,tankController.makeProduct.T1.enableFire,tankController.makeProduct.fillTank2.active,$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.T3.condition,tankController.makeProduct.T3.enableFire,tankController.makeProduct.emptyTank2.active,$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.wait1.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.T2.enableFire,tankController.makeProduct.T2.fire,$PRE.tankController.makeProduct.T2.t_start,tankController.makeProduct.T2.t_start,tankController.makeProduct.wait2.active,$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.T4.enableFire,tankController.makeProduct.T4.fire,$PRE.tankController.makeProduct.T4.t_start,tankController.makeProduct.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,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,valve2.valveControl,valve3.valveControl,stateGraphRoot.activeSteps,$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],$PRE.tankController.makeProduct.T1.t_start,tankController.makeProduct.T1.t_start,$PRE.tankController.makeProduct.T3.t_start,tankController.makeProduct.T3.t_start,$PRE.tankController.T1.t_start,tankController.T1.t_start,$PRE.tankController.T2.t_start,tankController.T2.t_start,$PRE.tankController.T3.t_start,tankController.T3.t_start,$PRE.tankController.T4.t_start,tankController.T4.t_start,$PRE.tankController.T5.t_start,tankController.T5.t_start,$PRE.tankController.T6.t_start,tankController.T6.t_start,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 (212): * Single equations (assignments): 209 * 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.0009537/0.4817, allocations: 0.6288 MB / 395.9 MB, free: 276 kB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001949/0.4819, allocations: 117.3 kB / 396 MB, free: 216 kB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002566/0.4821, allocations: 117.9 kB / 396.1 MB, free: 136 kB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.884e-05/0.4822, allocations: 13.75 kB / 396.1 MB, free: 136 kB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.26e-05/0.4822, allocations: 2.75 kB / 396.1 MB, free: 136 kB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.231e-05/0.4822, allocations: 8.375 kB / 396.1 MB, free: 136 kB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004724/0.487, allocations: 2.641 MB / 398.8 MB, free: 14.55 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.565e-06/0.487, allocations: 2.281 kB / 398.8 MB, free: 14.55 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003259/0.4873, allocations: 77.33 kB / 398.8 MB, free: 14.53 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.281e-05/0.4873, allocations: 10.06 kB / 398.8 MB, free: 14.52 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.432e-05/0.4874, allocations: 31.11 kB / 398.9 MB, free: 14.51 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.389e-05/0.4875, allocations: 10.02 kB / 398.9 MB, free: 14.5 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.402e-06/0.4875, allocations: 9.547 kB / 398.9 MB, free: 14.5 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002811/0.4903, allocations: 1.849 MB / 400.7 MB, free: 13.41 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003981/0.4907, allocations: 307 kB / 401 MB, free: 13.14 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001784/0.4909, allocations: 55.2 kB / 401.1 MB, free: 13.12 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000347/0.4912, allocations: 51.25 kB / 401.1 MB, free: 13.09 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002898/0.4915, allocations: 159.5 kB / 401.3 MB, free: 13 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.083e-05/0.4916, allocations: 46.81 kB / 401.3 MB, free: 12.99 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0007525/0.4924, allocations: 0.5945 MB / 401.9 MB, free: 12.65 MB / 318.1 MB Notification: Performance of sort global known variables: time 2.014e-06/0.4924, allocations: 0 / 401.9 MB, free: 12.65 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.001273/0.4937, allocations: 351.1 kB / 402.3 MB, free: 12.55 MB / 318.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * Number of states: 2 (tank1.level,tank2.level) * Number of discrete variables: 105 (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.makeProduct.T3.t_start,tankController.makeProduct.T1.t_start,tankController.T3.enableFire,tankController.s1.localActive,tankController.makeProduct.fillTank1.localActive,tankController.makeProduct.fillTank2.localActive,tankController.makeProduct.T2.enableFire,tankController.makeProduct.emptyTank2.localActive,tankController.makeProduct.T4.enableFire,tankController.makeProduct.wait1.localActive,tankController.makeProduct.wait2.localActive,tankController.s2.localActive,tankController.emptyTanks.localActive,$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.makeProduct.active,tankController.makeProduct.newActive,tankController.makeProduct.activeSteps,tankController.makeProduct.fillTank1.active,tankController.makeProduct.fillTank1.newActive,tankController.makeProduct.fillTank1.oldActive,tankController.makeProduct.T1.condition,tankController.makeProduct.T1.enableFire,tankController.makeProduct.fillTank2.active,tankController.makeProduct.fillTank2.newActive,tankController.makeProduct.fillTank2.oldActive,tankController.makeProduct.T3.condition,tankController.makeProduct.T3.enableFire,tankController.makeProduct.emptyTank2.active,tankController.makeProduct.emptyTank2.newActive,tankController.makeProduct.emptyTank2.oldActive,tankController.makeProduct.wait1.active,tankController.makeProduct.wait1.newActive,tankController.makeProduct.wait1.oldActive,tankController.makeProduct.T2.fire,tankController.makeProduct.T2.t_start,tankController.makeProduct.wait2.active,tankController.makeProduct.wait2.newActive,tankController.makeProduct.wait2.oldActive,tankController.makeProduct.T4.fire,tankController.makeProduct.T4.t_start,tankController.T1.enableFire,tankController.T2.condition,tankController.T2.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,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],valve2.valveControl,valve3.valveControl,stateGraphRoot.activeSteps) * Number of discrete states: 50 (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.makeProduct.newActive,tankController.makeProduct.wait2.newActive,tankController.makeProduct.wait1.newActive,tankController.makeProduct.emptyTank2.newActive,tankController.makeProduct.fillTank2.newActive,tankController.makeProduct.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,tankController.makeProduct.T1.t_start,tankController.makeProduct.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 clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (116): * Single equations (assignments): 89 * Array equations: 0 * Algorithm blocks: 3 * Record equations: 0 * When equations: 24 * 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.001291/0.495, allocations: 0.5521 MB / 402.8 MB, free: 12.27 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.002293/0.4973, allocations: 1.44 MB / 404.3 MB, free: 11.52 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 6.182e-06/0.4973, allocations: 4 kB / 404.3 MB, free: 11.52 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001084/0.4984, allocations: 0.843 MB / 405.1 MB, free: 10.66 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009384/0.4993, allocations: 216.1 kB / 405.3 MB, free: 10.46 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004098/0.5034, allocations: 2.597 MB / 407.9 MB, free: 7.805 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007643/0.5042, allocations: 1.166 MB / 409.1 MB, free: 6.609 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0006751/0.5049, allocations: 189.6 kB / 409.3 MB, free: 6.422 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002698/0.5052, allocations: 95.42 kB / 409.4 MB, free: 6.328 MB / 318.1 MB Notification: Performance of SimCode: time 3.3e-07/0.5052, allocations: 4.5 kB / 409.4 MB, free: 6.324 MB / 318.1 MB Notification: Performance of Templates: time 0.02686/0.5321, allocations: 13.42 MB / 422.8 MB, free: 9.012 MB / 334.1 MB make -j1 -f Modelica_trunk_Modelica.StateGraph.Examples.ControlledTanks.makefile (rm -f Modelica_trunk_Modelica.StateGraph.Examples.ControlledTanks.pipe ; mkfifo Modelica_trunk_Modelica.StateGraph.Examples.ControlledTanks.pipe ; head -c 1048576 < Modelica_trunk_Modelica.StateGraph.Examples.ControlledTanks.pipe >> ../files/Modelica_trunk_Modelica.StateGraph.Examples.ControlledTanks.sim & ./Modelica_trunk_Modelica.StateGraph.Examples.ControlledTanks -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.StateGraph.Examples.ControlledTanks.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.StateGraph.Examples.ControlledTanks_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/StateGraph/Examples/ControlledTanks/ControlledTanks.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.StateGraph.Examples.ControlledTanks.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches