Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.StateGraph.Examples.ControlledTanks.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) 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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica.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_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_Modelica.StateGraph.Examples.ControlledTanks") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008967/0.0008969, allocations: 95.14 kB / 17.3 MB, free: 6.391 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008985/0.0008985, allocations: 172.7 kB / 18.2 MB, free: 5.551 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.722/1.722, allocations: 205.4 MB / 224.4 MB, free: 13.07 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005211/0.0005215, allocations: 11.12 kB / 281.4 MB, free: 3.438 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1196/0.1202, allocations: 47.59 MB / 329 MB, free: 3.777 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.StateGraph.Examples.ControlledTanks): time 0.004741/0.125, allocations: 3.5 MB / 332.5 MB, free: 260 kB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.004639/0.1297, allocations: 2.476 MB / 334.9 MB, free: 13.77 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009939/0.1307, allocations: 31.81 kB / 335 MB, free: 13.73 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001463/0.1322, allocations: 0.4905 MB / 335.4 MB, free: 13.24 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001475/0.1337, allocations: 358.7 kB / 335.8 MB, free: 12.89 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002711/0.1364, allocations: 0.9481 MB / 336.7 MB, free: 11.94 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.002921/0.1393, allocations: 1.946 MB / 338.7 MB, free: 9.988 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001677/0.141, allocations: 1.008 MB / 339.7 MB, free: 8.957 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007489/0.1418, allocations: 0.5016 MB / 340.2 MB, free: 8.453 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007065/0.1425, allocations: 0.5595 MB / 340.8 MB, free: 7.891 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001204/0.1426, allocations: 56 kB / 340.8 MB, free: 7.836 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003863/0.143, allocations: 131.9 kB / 340.9 MB, free: 7.707 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003278/0.1434, allocations: 330.7 kB / 341.3 MB, free: 7.383 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007324/0.1441, allocations: 0.6114 MB / 341.9 MB, free: 6.762 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002049/0.1462, allocations: 1.99 MB / 343.9 MB, free: 4.766 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.037e-06/0.1462, allocations: 0 / 343.9 MB, free: 4.766 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.613e-06/0.1462, allocations: 0 / 343.9 MB, free: 4.766 MB / 286.1 MB Notification: Performance of Transformations before backend: time 3.237e-05/0.1462, allocations: 0 / 343.9 MB, free: 4.766 MB / 286.1 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.00255/0.1488, allocations: 1.505 MB / 345.4 MB, free: 3.152 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.928e-05/0.1489, allocations: 8.031 kB / 345.4 MB, free: 3.145 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002721/0.1491, allocations: 159.1 kB / 345.5 MB, free: 2.988 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001264/0.1504, allocations: 0.8881 MB / 346.4 MB, free: 2.059 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000194/0.1506, allocations: 196.5 kB / 346.6 MB, free: 1.848 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001961/0.1508, allocations: 147.9 kB / 346.8 MB, free: 1.703 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002458/0.1533, allocations: 1.44 MB / 348.2 MB, free: 144 kB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.84e-05/0.1533, allocations: 3.938 kB / 348.2 MB, free: 140 kB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001142/0.1535, allocations: 59.97 kB / 348.3 MB, free: 80 kB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.477e-05/0.1535, allocations: 50.19 kB / 348.3 MB, free: 28 kB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001874/0.1554, allocations: 0.9648 MB / 349.3 MB, free: 15.05 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006756/0.1622, allocations: 5.491 MB / 354.8 MB, free: 9.398 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001809/0.164, allocations: 1.093 MB / 355.9 MB, free: 8.25 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007368/0.1648, allocations: 463.5 kB / 356.3 MB, free: 7.789 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001503/0.165, allocations: 98.11 kB / 356.4 MB, free: 7.676 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00102/0.166, allocations: 0.6308 MB / 357 MB, free: 7.016 MB / 302.1 MB Notification: Performance of pre-optimization done (n=116): time 3.066e-06/0.166, allocations: 0 / 357 MB, free: 7.016 MB / 302.1 MB Notification: Performance of matching and sorting (n=116): time 0.002413/0.1684, allocations: 1.324 MB / 358.4 MB, free: 5.668 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001745/0.1686, allocations: 323.7 kB / 358.7 MB, free: 5.285 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001402/0.17, allocations: 0.9448 MB / 359.6 MB, free: 4.332 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001739/0.1702, allocations: 93.69 kB / 359.7 MB, free: 4.234 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004644/0.1707, allocations: 0.5354 MB / 360.3 MB, free: 3.691 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002674/0.171, allocations: 296.3 kB / 360.5 MB, free: 3.398 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002478/0.1712, allocations: 213.6 kB / 360.8 MB, free: 3.184 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001654/0.1714, allocations: 365.9 kB / 361.1 MB, free: 2.82 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007344/0.1721, allocations: 423.8 kB / 361.5 MB, free: 2.406 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001113/0.1733, allocations: 0.7985 MB / 362.3 MB, free: 1.461 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001656/0.1749, allocations: 1.197 MB / 363.5 MB, free: 92 kB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.248e-06/0.175, allocations: 4 kB / 363.5 MB, free: 88 kB / 302.1 MB Notification: Performance of matching and sorting (n=200) (initialization): time 0.002502/0.1775, allocations: 1.415 MB / 364.9 MB, free: 14.64 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.951e-05/0.1776, allocations: 97.09 kB / 365 MB, free: 14.53 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.06e-05/0.1776, allocations: 8 kB / 365 MB, free: 14.52 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.868e-05/0.1776, allocations: 20 kB / 365.1 MB, free: 14.5 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006023/0.1782, allocations: 179.5 kB / 365.2 MB, free: 14.33 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.438e-05/0.1783, allocations: 23.88 kB / 365.3 MB, free: 14.3 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006889/0.179, allocations: 158.7 kB / 365.4 MB, free: 14.15 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001147/0.1791, allocations: 63.98 kB / 365.5 MB, free: 14.09 MB / 318.1 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,$PRE.shut.table.combiTimeTable.nextTimeEvent,$whenCondition6,$PRE.stop.table.combiTimeTable.nextTimeEvent,$whenCondition5,$PRE.start.table.combiTimeTable.nextTimeEvent,$whenCondition4,stateGraphRoot.activeSteps,valve3.valveControl,valve2.valveControl,shut.table.combiTimeTable.nextTimeEventScaled,$PRE.shut.table.combiTimeTable.nextTimeEventScaled,shut.table.combiTimeTable.nextTimeEvent,shut.table.y,shut.on,$PRE.shut.on,shut.reset[2],$PRE.shut.reset[2],shut.reset[1],$PRE.shut.reset[1],stop.table.combiTimeTable.nextTimeEventScaled,$PRE.stop.table.combiTimeTable.nextTimeEventScaled,stop.table.combiTimeTable.nextTimeEvent,stop.table.y,stop.on,$PRE.stop.on,stop.reset[2],$PRE.stop.reset[2],stop.reset[1],$PRE.stop.reset[1],start.table.combiTimeTable.nextTimeEventScaled,$PRE.start.table.combiTimeTable.nextTimeEventScaled,start.table.combiTimeTable.nextTimeEvent,start.table.y,start.on,$PRE.start.on,start.reset[2],$PRE.start.reset[2],start.reset[1],$PRE.start.reset[1],tankController.T6.enableFire,tankController.T6.condition,tankController.emptyTanks.oldActive,$PRE.tankController.emptyTanks.oldActive,tankController.emptyTanks.newActive,$PRE.tankController.emptyTanks.newActive,tankController.emptyTanks.localActive,$PRE.tankController.emptyTanks.localActive,tankController.emptyTanks.active,tankController.T5.enableFire,tankController.T4.enableFire,tankController.s2.oldActive,$PRE.tankController.s2.oldActive,tankController.s2.newActive,$PRE.tankController.s2.newActive,tankController.s2.outPort[2].available,tankController.s2.localActive,$PRE.tankController.s2.localActive,tankController.s2.active,tankController.T3.enableFire,tankController.T2.enableFire,tankController.T2.condition,tankController.T1.enableFire,tankController.makeProduct.T4.t_start,$PRE.tankController.makeProduct.T4.t_start,tankController.makeProduct.T4.fire,tankController.makeProduct.T4.enableFire,tankController.makeProduct.wait2.oldActive,$PRE.tankController.makeProduct.wait2.oldActive,tankController.makeProduct.wait2.newActive,$PRE.tankController.makeProduct.wait2.newActive,tankController.makeProduct.wait2.localActive,$PRE.tankController.makeProduct.wait2.localActive,tankController.makeProduct.wait2.active,tankController.makeProduct.T2.t_start,$PRE.tankController.makeProduct.T2.t_start,tankController.makeProduct.T2.fire,tankController.makeProduct.T2.enableFire,tankController.makeProduct.wait1.oldActive,$PRE.tankController.makeProduct.wait1.oldActive,tankController.makeProduct.wait1.newActive,$PRE.tankController.makeProduct.wait1.newActive,tankController.makeProduct.wait1.localActive,$PRE.tankController.makeProduct.wait1.localActive,tankController.makeProduct.wait1.active,tankController.makeProduct.emptyTank2.oldActive,$PRE.tankController.makeProduct.emptyTank2.oldActive,tankController.makeProduct.emptyTank2.newActive,$PRE.tankController.makeProduct.emptyTank2.newActive,tankController.makeProduct.emptyTank2.localActive,$PRE.tankController.makeProduct.emptyTank2.localActive,tankController.makeProduct.emptyTank2.active,tankController.makeProduct.T3.enableFire,tankController.makeProduct.T3.condition,tankController.makeProduct.fillTank2.oldActive,$PRE.tankController.makeProduct.fillTank2.oldActive,tankController.makeProduct.fillTank2.newActive,$PRE.tankController.makeProduct.fillTank2.newActive,tankController.makeProduct.fillTank2.localActive,$PRE.tankController.makeProduct.fillTank2.localActive,tankController.makeProduct.fillTank2.active,tankController.makeProduct.T1.enableFire,tankController.makeProduct.T1.condition,tankController.makeProduct.fillTank1.oldActive,$PRE.tankController.makeProduct.fillTank1.oldActive,tankController.makeProduct.fillTank1.newActive,$PRE.tankController.makeProduct.fillTank1.newActive,tankController.makeProduct.fillTank1.localActive,$PRE.tankController.makeProduct.fillTank1.localActive,tankController.makeProduct.fillTank1.active,tankController.makeProduct.activeSteps,tankController.makeProduct.newActive,$PRE.tankController.makeProduct.newActive,tankController.makeProduct.active,tankController.makeProduct.stateGraphRoot.resume,tankController.makeProduct.stateGraphRoot.suspend,tankController.s1.oldActive,$PRE.tankController.s1.oldActive,tankController.s1.newActive,$PRE.tankController.s1.newActive,tankController.s1.inPort[2].occupied,tankController.s1.localActive,$PRE.tankController.s1.localActive,tankController.s1.active,$whenCondition11,$whenCondition12,$whenCondition9,$whenCondition10,$whenCondition7,$whenCondition8,$whenCondition1,$whenCondition2,$whenCondition3,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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001091/0.1802, allocations: 0.5841 MB / 366.1 MB, free: 13.46 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002076/0.1804, allocations: 102.8 kB / 366.2 MB, free: 13.36 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001941/0.1824, allocations: 1.114 MB / 367.3 MB, free: 12.21 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.472e-05/0.1824, allocations: 12 kB / 367.3 MB, free: 12.2 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.664e-06/0.1824, allocations: 0 / 367.3 MB, free: 12.2 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.488e-05/0.1824, allocations: 7.922 kB / 367.3 MB, free: 12.19 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004013/0.1864, allocations: 2.573 MB / 369.9 MB, free: 9.543 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.193e-06/0.1865, allocations: 3.984 kB / 369.9 MB, free: 9.539 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003466/0.1868, allocations: 75.83 kB / 369.9 MB, free: 9.465 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.317e-06/0.1869, allocations: 4 kB / 369.9 MB, free: 9.461 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.771e-05/0.1869, allocations: 31.97 kB / 370 MB, free: 9.43 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.644e-06/0.1869, allocations: 4 kB / 370 MB, free: 9.426 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.503e-06/0.187, allocations: 0 / 370 MB, free: 9.426 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002585/0.1895, allocations: 1.666 MB / 371.6 MB, free: 7.727 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004734/0.19, allocations: 299.5 kB / 371.9 MB, free: 7.414 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001531/0.1902, allocations: 43.92 kB / 372 MB, free: 7.371 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003605/0.1906, allocations: 43.97 kB / 372 MB, free: 7.328 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003069/0.1909, allocations: 132.8 kB / 372.2 MB, free: 7.195 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.849e-05/0.191, allocations: 44.03 kB / 372.2 MB, free: 7.152 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0007723/0.1918, allocations: 0.5928 MB / 372.8 MB, free: 6.562 MB / 318.1 MB Notification: Performance of sort global known variables: time 3.11e-07/0.1918, allocations: 0 / 372.8 MB, free: 6.562 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.00112/0.1929, allocations: 315 kB / 373.1 MB, free: 6.254 MB / 318.1 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,$cse1,$cse2,$cse3,$cse4,$cse5,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,$whenCondition8,$whenCondition7,$whenCondition10,$whenCondition9,$whenCondition12,$whenCondition11,tankController.s1.active,tankController.s1.inPort[2].occupied,tankController.s1.newActive,tankController.s1.oldActive,tankController.makeProduct.stateGraphRoot.resume,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.T3.enableFire,tankController.s2.active,tankController.s2.outPort[2].available,tankController.s2.newActive,tankController.s2.oldActive,tankController.T4.enableFire,tankController.T5.enableFire,tankController.emptyTanks.active,tankController.emptyTanks.newActive,tankController.emptyTanks.oldActive,tankController.T6.condition,tankController.T6.enableFire,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,valve2.valveControl,valve3.valveControl,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 (115): * Single equations (assignments): 96 * Array equations: 0 * Algorithm blocks: 3 * Record equations: 0 * When equations: 16 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001214/0.1941, allocations: 0.5347 MB / 373.6 MB, free: 5.723 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.002135/0.1963, allocations: 1.264 MB / 374.9 MB, free: 4.426 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 3.246e-06/0.1963, allocations: 4 kB / 374.9 MB, free: 4.422 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008636/0.1972, allocations: 0.6716 MB / 375.6 MB, free: 3.719 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001074/0.1982, allocations: 207.2 kB / 375.8 MB, free: 3.516 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004197/0.2025, allocations: 2.542 MB / 378.3 MB, free: 0.9453 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.2149/0.4174, allocations: 1.139 MB / 379.5 MB, free: 51.63 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.001334/0.4188, allocations: 196.5 kB / 379.7 MB, free: 51.62 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004465/0.4193, allocations: 111.4 kB / 379.8 MB, free: 51.61 MB / 318.1 MB Notification: Performance of SimCode: time 3.707e-06/0.4193, allocations: 0 / 379.8 MB, free: 51.61 MB / 318.1 MB Notification: Performance of Templates: time 0.03536/0.4547, allocations: 13.47 MB / 393.2 MB, free: 47.32 MB / 318.1 MB make -j1 -f Modelica_3.2.3_Modelica.StateGraph.Examples.ControlledTanks.makefile (rm -f Modelica_3.2.3_Modelica.StateGraph.Examples.ControlledTanks.pipe ; mkfifo Modelica_3.2.3_Modelica.StateGraph.Examples.ControlledTanks.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.StateGraph.Examples.ControlledTanks.pipe >> ../files/Modelica_3.2.3_Modelica.StateGraph.Examples.ControlledTanks.sim & ./Modelica_3.2.3_Modelica.StateGraph.Examples.ControlledTanks -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.StateGraph.Examples.ControlledTanks.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.StateGraph.Examples.ControlledTanks_res.mat","/var/lib/jenkins/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_Modelica.StateGraph.Examples.ControlledTanks.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches