Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_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 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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_4.0.0_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_4.0.0_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.001626/0.001626, allocations: 94.14 kB / 16.3 MB, free: 5.996 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.001565/0.001565, allocations: 178.7 kB / 17.2 MB, free: 5.914 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.494/1.494, allocations: 223.2 MB / 241.1 MB, free: 5.445 MB / 190.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003541/0.0003541, allocations: 10.06 kB / 300.7 MB, free: 5.953 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1094/0.1098, allocations: 50.42 MB / 351.1 MB, free: 11.75 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.StateGraph.Examples.ControlledTanks): time 0.004476/0.1143, allocations: 3.328 MB / 354.5 MB, free: 8.398 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.005019/0.1194, allocations: 2.495 MB / 357 MB, free: 5.895 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008962/0.1203, allocations: 27.88 kB / 357 MB, free: 5.867 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001463/0.1218, allocations: 474.2 kB / 357.4 MB, free: 5.402 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000875/0.1227, allocations: 342.1 kB / 357.8 MB, free: 5.07 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002293/0.125, allocations: 0.7493 MB / 358.5 MB, free: 4.328 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.001932/0.1269, allocations: 1.159 MB / 359.7 MB, free: 3.164 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001204/0.1281, allocations: 0.9481 MB / 360.6 MB, free: 2.195 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005367/0.1287, allocations: 0.502 MB / 361.1 MB, free: 1.691 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000521/0.1292, allocations: 0.5365 MB / 361.7 MB, free: 1.152 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001008/0.1293, allocations: 56 kB / 361.7 MB, free: 1.098 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002886/0.1296, allocations: 119.9 kB / 361.8 MB, free: 0.9805 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002982/0.1299, allocations: 330.9 kB / 362.2 MB, free: 0.6562 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002176/0.1301, allocations: 284.9 kB / 362.4 MB, free: 380 kB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001374/0.1315, allocations: 1.722 MB / 364.2 MB, free: 14.64 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.206e-06/0.1315, allocations: 0 / 364.2 MB, free: 14.64 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.764e-06/0.1315, allocations: 0 / 364.2 MB, free: 14.64 MB / 302.1 MB Notification: Performance of Transformations before backend: time 2.787e-05/0.1316, allocations: 0 / 364.2 MB, free: 14.64 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.002319/0.1339, allocations: 1.575 MB / 365.7 MB, free: 12.95 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.582e-05/0.1339, allocations: 12.03 kB / 365.8 MB, free: 12.94 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002448/0.1342, allocations: 166.1 kB / 365.9 MB, free: 12.78 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00118/0.1354, allocations: 0.8679 MB / 366.8 MB, free: 11.86 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001767/0.1356, allocations: 204.1 kB / 367 MB, free: 11.64 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001853/0.1358, allocations: 148 kB / 367.1 MB, free: 11.5 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002151/0.1379, allocations: 1.472 MB / 368.6 MB, free: 9.906 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.409e-05/0.138, allocations: 4 kB / 368.6 MB, free: 9.902 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001131/0.1381, allocations: 55.98 kB / 368.7 MB, free: 9.848 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.921e-05/0.1381, allocations: 62.06 kB / 368.7 MB, free: 9.785 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001593/0.1397, allocations: 0.9726 MB / 369.7 MB, free: 8.805 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005713/0.1455, allocations: 5.543 MB / 375.2 MB, free: 3.105 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002016/0.1475, allocations: 1.262 MB / 376.5 MB, free: 1.707 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001722/0.1477, allocations: 106.1 kB / 376.6 MB, free: 1.586 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001238/0.149, allocations: 0.8971 MB / 377.5 MB, free: 0.6133 MB / 302.1 MB Notification: Performance of pre-optimization done (n=133): time 3.336e-06/0.149, allocations: 0 / 377.5 MB, free: 0.6133 MB / 302.1 MB Notification: Performance of matching and sorting (n=133): time 0.002943/0.1519, allocations: 1.71 MB / 379.2 MB, free: 14.82 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0004064/0.1523, allocations: 0.6039 MB / 379.8 MB, free: 14.09 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001442/0.1538, allocations: 0.9291 MB / 380.7 MB, free: 13.15 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000216/0.154, allocations: 113.7 kB / 380.8 MB, free: 13.03 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005376/0.1546, allocations: 0.5205 MB / 381.4 MB, free: 12.5 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003784/0.155, allocations: 343.9 kB / 381.7 MB, free: 12.16 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.878e-05/0.155, allocations: 36 kB / 381.7 MB, free: 12.12 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0002621/0.1553, allocations: 430.7 kB / 382.2 MB, free: 11.7 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008153/0.1561, allocations: 467.8 kB / 382.6 MB, free: 11.24 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001143/0.1573, allocations: 0.9038 MB / 383.5 MB, free: 10.16 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009128/0.1582, allocations: 0.5859 MB / 384.1 MB, free: 9.555 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.546e-06/0.1582, allocations: 0 / 384.1 MB, free: 9.555 MB / 318.1 MB Notification: Performance of matching and sorting (n=226) (initialization): time 0.002487/0.1607, allocations: 1.566 MB / 385.7 MB, free: 7.965 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001043/0.1608, allocations: 101.1 kB / 385.8 MB, free: 7.848 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.168e-05/0.1609, allocations: 12 kB / 385.8 MB, free: 7.836 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.931e-05/0.1609, allocations: 24 kB / 385.8 MB, free: 7.812 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006114/0.1615, allocations: 183.5 kB / 386 MB, free: 7.633 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.379e-05/0.1616, allocations: 31.86 kB / 386 MB, free: 7.602 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006476/0.1622, allocations: 163 kB / 386.2 MB, free: 7.441 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001303/0.1624, allocations: 71.98 kB / 386.2 MB, free: 7.371 MB / 318.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: 180 ($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],$whenCondition6,$PRE.shut.table.combiTimeTable.nextTimeEvent,$whenCondition5,$PRE.stop.table.combiTimeTable.nextTimeEvent,$whenCondition4,$PRE.start.table.combiTimeTable.nextTimeEvent,$whenCondition3,$whenCondition2,$whenCondition1,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.stateGraphRoot.suspend,tankController.makeProduct.stateGraphRoot.resume,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],$whenCondition11,$whenCondition10,$whenCondition12,$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],$whenCondition14,$whenCondition13,$whenCondition15,$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 (214): * Single equations (assignments): 211 * 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.001043/0.1634, allocations: 0.6304 MB / 386.9 MB, free: 6.703 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002068/0.1636, allocations: 106.8 kB / 387 MB, free: 6.598 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002078/0.1657, allocations: 1.21 MB / 388.2 MB, free: 5.363 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.532e-05/0.1657, allocations: 12 kB / 388.2 MB, free: 5.352 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.124e-05/0.1658, allocations: 4 kB / 388.2 MB, free: 5.348 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.956e-05/0.1658, allocations: 7.984 kB / 388.2 MB, free: 5.34 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004213/0.17, allocations: 2.727 MB / 390.9 MB, free: 2.531 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.704e-06/0.17, allocations: 3.984 kB / 390.9 MB, free: 2.527 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003384/0.1704, allocations: 87.77 kB / 391 MB, free: 2.441 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.297e-05/0.1704, allocations: 4 kB / 391 MB, free: 2.438 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.375e-05/0.1705, allocations: 39.97 kB / 391.1 MB, free: 2.398 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.448e-05/0.1705, allocations: 12 kB / 391.1 MB, free: 2.387 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.759e-06/0.1705, allocations: 7.938 kB / 391.1 MB, free: 2.379 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003034/0.1736, allocations: 1.99 MB / 393.1 MB, free: 288 kB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005005/0.1741, allocations: 315.8 kB / 393.4 MB, free: 15.95 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001925/0.1743, allocations: 59.97 kB / 393.5 MB, free: 15.89 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003863/0.1747, allocations: 52.03 kB / 393.5 MB, free: 15.84 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000314/0.175, allocations: 172.5 kB / 393.7 MB, free: 15.67 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000101/0.1751, allocations: 55.97 kB / 393.7 MB, free: 15.62 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0008456/0.176, allocations: 0.5732 MB / 394.3 MB, free: 15.05 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.176, allocations: 0 / 394.3 MB, free: 15.05 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.001296/0.1773, allocations: 347 kB / 394.6 MB, free: 14.71 MB / 334.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: 112 (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.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,$whenCondition9,$whenCondition11,$whenCondition10,$whenCondition12,$whenCondition14,$whenCondition13,$whenCondition15,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,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 (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,$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,$whenCondition12,stop.on,$whenCondition11,$whenCondition10,stop.pre_reset[2],stop.pre_reset[1],stop.reset[1],stop.reset[2],stop.table.y,start.table.combiTimeTable.nextTimeEventScaled,$whenCondition15,start.on,$whenCondition14,$whenCondition13,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 (123): * Single equations (assignments): 96 * 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.001226/0.1785, allocations: 0.5669 MB / 395.2 MB, free: 14.29 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.002754/0.1813, allocations: 1.468 MB / 396.7 MB, free: 12.79 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 6.242e-06/0.1813, allocations: 192 / 396.7 MB, free: 12.79 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001273/0.1826, allocations: 0.8632 MB / 397.5 MB, free: 11.89 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0012/0.1838, allocations: 183.6 kB / 397.7 MB, free: 11.71 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004338/0.1882, allocations: 2.572 MB / 400.3 MB, free: 9.078 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001024/0.1892, allocations: 1.19 MB / 401.5 MB, free: 7.855 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0009702/0.1902, allocations: 201.6 kB / 401.7 MB, free: 7.656 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003096/0.1905, allocations: 111.4 kB / 401.8 MB, free: 7.547 MB / 334.1 MB Notification: Performance of SimCode: time 1.493e-06/0.1905, allocations: 0 / 401.8 MB, free: 7.547 MB / 334.1 MB Notification: Performance of Templates: time 0.02393/0.2145, allocations: 13.93 MB / 415.7 MB, free: 9.672 MB / 350.1 MB make -j1 -f Modelica_4.0.0_Modelica.StateGraph.Examples.ControlledTanks.makefile (rm -f Modelica_4.0.0_Modelica.StateGraph.Examples.ControlledTanks.pipe ; mkfifo Modelica_4.0.0_Modelica.StateGraph.Examples.ControlledTanks.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.StateGraph.Examples.ControlledTanks.pipe >> ../files/Modelica_4.0.0_Modelica.StateGraph.Examples.ControlledTanks.sim & ./Modelica_4.0.0_Modelica.StateGraph.Examples.ControlledTanks -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.StateGraph.Examples.ControlledTanks.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_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","../files/Modelica_4.0.0_Modelica.StateGraph.Examples.ControlledTanks.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches