Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_cpp_Modelica.StateGraph.Examples.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.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_cpp_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_cpp_Modelica.StateGraph.Examples.ControlledTanks") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001113/0.001113, allocations: 191.5 kB / 17.37 MB, free: 4.406 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.347/1.347, allocations: 226.6 MB / 244.7 MB, free: 6.438 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009202/0.0009202, allocations: 103.7 kB / 296.8 MB, free: 6.699 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003501/0.0003502, allocations: 4 kB / 356.7 MB, free: 10.72 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.287/0.2873, allocations: 51.29 MB / 408 MB, free: 27.72 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.StateGraph.Examples.ControlledTanks): time 0.003151/0.2905, allocations: 3.417 MB / 411.4 MB, free: 24.29 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.003272/0.2938, allocations: 2.692 MB / 414.1 MB, free: 21.59 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003991/0.2943, allocations: 32.47 kB / 414.2 MB, free: 21.56 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0009117/0.2952, allocations: 490.3 kB / 414.7 MB, free: 21.08 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0007086/0.2959, allocations: 380.2 kB / 415 MB, free: 20.71 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001566/0.2975, allocations: 0.7838 MB / 415.8 MB, free: 19.94 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.001386/0.2989, allocations: 1.892 MB / 417.7 MB, free: 18.04 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009174/0.2998, allocations: 1.02 MB / 418.7 MB, free: 17.01 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003827/0.3002, allocations: 0.5135 MB / 419.2 MB, free: 16.49 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004005/0.3006, allocations: 0.5715 MB / 419.8 MB, free: 15.92 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001038/0.3007, allocations: 64 kB / 419.9 MB, free: 15.86 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003697/0.3011, allocations: 131.9 kB / 420 MB, free: 15.73 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003466/0.3015, allocations: 326.9 kB / 420.3 MB, free: 15.41 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0006869/0.3022, allocations: 0.6156 MB / 420.9 MB, free: 14.78 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001839/0.304, allocations: 1.739 MB / 422.7 MB, free: 13.04 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.102e-06/0.3041, allocations: 0 / 422.7 MB, free: 13.04 MB / 298.7 MB Notification: Performance of FrontEnd: time 2.565e-06/0.3041, allocations: 0 / 422.7 MB, free: 13.04 MB / 298.7 MB Notification: Performance of Transformations before backend: time 6.541e-05/0.3041, allocations: 0 / 422.7 MB, free: 13.04 MB / 298.7 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.003647/0.3078, allocations: 1.579 MB / 424.2 MB, free: 11.34 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.392e-05/0.3079, allocations: 12.03 kB / 424.3 MB, free: 11.33 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004948/0.3084, allocations: 167 kB / 424.4 MB, free: 11.16 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001975/0.3104, allocations: 0.9153 MB / 425.3 MB, free: 10.2 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002336/0.3106, allocations: 208.7 kB / 425.5 MB, free: 9.98 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003149/0.311, allocations: 151.9 kB / 425.7 MB, free: 9.832 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00351/0.3145, allocations: 1.472 MB / 427.2 MB, free: 8.238 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.454e-05/0.3145, allocations: 3.938 kB / 427.2 MB, free: 8.234 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001801/0.3147, allocations: 59.98 kB / 427.2 MB, free: 8.176 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.242e-05/0.3148, allocations: 46.19 kB / 427.3 MB, free: 8.129 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002953/0.3178, allocations: 0.9882 MB / 428.3 MB, free: 7.133 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008123/0.3259, allocations: 5.558 MB / 433.8 MB, free: 1.414 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002733/0.3287, allocations: 1.265 MB / 435.1 MB, free: 20 kB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001565/0.3303, allocations: 0.5258 MB / 435.6 MB, free: 15.46 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001915/0.3305, allocations: 94.11 kB / 435.7 MB, free: 15.36 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00214/0.3327, allocations: 0.9089 MB / 436.6 MB, free: 14.37 MB / 314.7 MB Notification: Performance of pre-optimization done (n=133): time 5.65e-06/0.3327, allocations: 0 / 436.6 MB, free: 14.37 MB / 314.7 MB Notification: Performance of matching and sorting (n=133): time 0.004987/0.3377, allocations: 1.473 MB / 438.1 MB, free: 12.88 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0004257/0.3381, allocations: 0.6118 MB / 438.7 MB, free: 12.12 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002382/0.3405, allocations: 0.9566 MB / 439.6 MB, free: 11.16 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003339/0.3409, allocations: 113.7 kB / 439.8 MB, free: 11.04 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007752/0.3417, allocations: 0.5205 MB / 440.3 MB, free: 10.51 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005533/0.3423, allocations: 331.8 kB / 440.6 MB, free: 10.18 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001294/0.3424, allocations: 36 kB / 440.6 MB, free: 10.14 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0002432/0.3427, allocations: 373.9 kB / 441 MB, free: 9.773 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001636/0.3443, allocations: 475.8 kB / 441.5 MB, free: 9.309 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00222/0.3466, allocations: 0.9039 MB / 442.4 MB, free: 8.23 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003437/0.35, allocations: 1.371 MB / 443.7 MB, free: 6.664 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.591e-05/0.3501, allocations: 4 kB / 443.7 MB, free: 6.66 MB / 314.7 MB Notification: Performance of matching and sorting (n=226) (initialization): time 0.004919/0.355, allocations: 1.567 MB / 445.3 MB, free: 5.066 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001195/0.3551, allocations: 102 kB / 445.4 MB, free: 4.949 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.658e-05/0.3552, allocations: 12 kB / 445.4 MB, free: 4.938 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.449e-05/0.3553, allocations: 24 kB / 445.4 MB, free: 4.914 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001146/0.3564, allocations: 191.5 kB / 445.6 MB, free: 4.727 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.925e-05/0.3565, allocations: 31.92 kB / 445.7 MB, free: 4.695 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001061/0.3576, allocations: 154.6 kB / 445.8 MB, free: 4.543 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001726/0.3578, allocations: 75.97 kB / 445.9 MB, free: 4.469 MB / 314.7 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.001245/0.359, allocations: 0.6419 MB / 446.5 MB, free: 3.789 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003359/0.3594, allocations: 114.7 kB / 446.6 MB, free: 3.676 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003346/0.3627, allocations: 1.195 MB / 447.8 MB, free: 2.453 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.939e-05/0.3628, allocations: 12 kB / 447.9 MB, free: 2.441 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.205e-05/0.3628, allocations: 4 kB / 447.9 MB, free: 2.438 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.79e-05/0.3628, allocations: 4.266 kB / 447.9 MB, free: 2.434 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007297/0.3701, allocations: 2.747 MB / 450.6 MB, free: 15.6 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.064e-05/0.3702, allocations: 0 / 450.6 MB, free: 15.6 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005274/0.3707, allocations: 87.7 kB / 450.7 MB, free: 15.52 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.835e-05/0.3708, allocations: 7.938 kB / 450.7 MB, free: 15.51 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001375/0.3709, allocations: 39.97 kB / 450.7 MB, free: 15.47 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.771e-05/0.3709, allocations: 11.98 kB / 450.8 MB, free: 15.46 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.556e-06/0.371, allocations: 4 kB / 450.8 MB, free: 15.45 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004687/0.3757, allocations: 1.902 MB / 452.7 MB, free: 13.5 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00072/0.3764, allocations: 315.4 kB / 453 MB, free: 13.16 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003331/0.3767, allocations: 59.92 kB / 453 MB, free: 13.11 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006823/0.3774, allocations: 55.95 kB / 453.1 MB, free: 13.05 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000462/0.3779, allocations: 164.8 kB / 453.2 MB, free: 12.89 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001579/0.3781, allocations: 55.97 kB / 453.3 MB, free: 12.83 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.001309/0.3794, allocations: 0.5927 MB / 453.9 MB, free: 12.24 MB / 330.7 MB Notification: Performance of sort global known variables: time 3.31e-07/0.3794, allocations: 0 / 453.9 MB, free: 12.24 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.001737/0.3812, allocations: 351 kB / 454.2 MB, free: 11.89 MB / 330.7 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.001847/0.383, allocations: 0.5591 MB / 454.8 MB, free: 11.46 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.003596/0.3867, allocations: 1.471 MB / 456.3 MB, free: 9.961 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.887e-06/0.3867, allocations: 0.8125 kB / 456.3 MB, free: 9.961 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001801/0.3885, allocations: 0.8553 MB / 457.1 MB, free: 9.074 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001789/0.3903, allocations: 211.5 kB / 457.3 MB, free: 8.867 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006397/0.3967, allocations: 2.66 MB / 460 MB, free: 6.137 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001297/0.3981, allocations: 1.159 MB / 461.1 MB, free: 4.945 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006406/0.3987, allocations: 119.4 kB / 461.3 MB, free: 4.828 MB / 330.7 MB Notification: Performance of SimCode: time 1.252e-06/0.3987, allocations: 4 kB / 461.3 MB, free: 4.824 MB / 330.7 MB Notification: Performance of Templates: time 0.04432/0.4431, allocations: 18.19 MB / 479.5 MB, free: 2.656 MB / 346.7 MB make -j1 -f Modelica_trunk_cpp_Modelica.StateGraph.Examples.ControlledTanks.makefile (rm -f Modelica_trunk_cpp_Modelica.StateGraph.Examples.ControlledTanks.pipe ; mkfifo Modelica_trunk_cpp_Modelica.StateGraph.Examples.ControlledTanks.pipe ; head -c 1048576 < Modelica_trunk_cpp_Modelica.StateGraph.Examples.ControlledTanks.pipe >> ../files/Modelica_trunk_cpp_Modelica.StateGraph.Examples.ControlledTanks.sim & ./Modelica_trunk_cpp_Modelica.StateGraph.Examples.ControlledTanks --alarm=480 -emit_protected > Modelica_trunk_cpp_Modelica.StateGraph.Examples.ControlledTanks.pipe 2>&1) diffSimulationResults("Modelica_trunk_cpp_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_trunk_cpp_Modelica.StateGraph.Examples.ControlledTanks.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches