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.001274/0.001274, allocations: 115.8 kB / 18.4 MB, free: 4.621 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001286/0.001286, allocations: 199.5 kB / 19.34 MB, free: 3.68 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.444/1.444, allocations: 227.4 MB / 247.5 MB, free: 10.43 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001206/0.001207, allocations: 59.66 kB / 308.4 MB, free: 15.93 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1261/0.1273, allocations: 50.53 MB / 358.9 MB, free: 13.37 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.StateGraph.Examples.ControlledTanks): time 0.005704/0.1331, allocations: 3.884 MB / 362.8 MB, free: 9.465 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.004576/0.1377, allocations: 2.724 MB / 365.5 MB, free: 6.734 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005698/0.1383, allocations: 23.88 kB / 365.5 MB, free: 6.711 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001403/0.1397, allocations: 0.5709 MB / 366.1 MB, free: 6.141 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001044/0.1408, allocations: 497.5 kB / 366.6 MB, free: 5.652 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002186/0.143, allocations: 0.9789 MB / 367.6 MB, free: 4.676 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.002142/0.1451, allocations: 2.196 MB / 369.7 MB, free: 2.473 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001512/0.1467, allocations: 1.248 MB / 371 MB, free: 1.203 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007684/0.1474, allocations: 0.732 MB / 371.7 MB, free: 480 kB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.2075/0.3549, allocations: 0.7279 MB / 372.5 MB, free: 12.29 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006441/0.3556, allocations: 202.7 kB / 372.7 MB, free: 12.29 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006883/0.3563, allocations: 295.8 kB / 372.9 MB, free: 12.29 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005455/0.3569, allocations: 495.4 kB / 373.4 MB, free: 12.29 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0009042/0.3578, allocations: 0.801 MB / 374.2 MB, free: 12.2 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0029/0.3607, allocations: 2.34 MB / 376.6 MB, free: 11.93 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.112e-06/0.3607, allocations: 0.7969 kB / 376.6 MB, free: 11.93 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.673e-06/0.3607, allocations: 0 / 376.6 MB, free: 11.93 MB / 302.1 MB Notification: Performance of Transformations before backend: time 3.392e-05/0.3608, allocations: 1.969 kB / 376.6 MB, free: 11.93 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.003315/0.3641, allocations: 1.93 MB / 378.5 MB, free: 10.83 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.109e-05/0.3642, allocations: 9.312 kB / 378.5 MB, free: 10.83 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009698/0.3651, allocations: 208 kB / 378.7 MB, free: 10.75 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001382/0.3665, allocations: 0.9102 MB / 379.6 MB, free: 10.42 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001755/0.3667, allocations: 206 kB / 379.8 MB, free: 10.32 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002222/0.3669, allocations: 143.4 kB / 380 MB, free: 10.32 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002526/0.3695, allocations: 1.474 MB / 381.4 MB, free: 9.656 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.314e-05/0.3695, allocations: 6.438 kB / 381.4 MB, free: 9.656 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001271/0.3697, allocations: 57.92 kB / 381.5 MB, free: 9.617 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.398e-05/0.3697, allocations: 49.48 kB / 381.5 MB, free: 9.613 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001779/0.3715, allocations: 0.9769 MB / 382.5 MB, free: 9.242 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006228/0.3777, allocations: 5.814 MB / 388.3 MB, free: 5.219 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001829/0.3796, allocations: 1.227 MB / 389.6 MB, free: 4.391 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008395/0.3805, allocations: 0.5292 MB / 390.1 MB, free: 4.117 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.02e-05/0.3805, allocations: 20.03 kB / 390.1 MB, free: 4.113 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001325/0.3819, allocations: 0.8846 MB / 391 MB, free: 3.574 MB / 302.1 MB Notification: Performance of pre-optimization done (n=131): time 3.196e-06/0.3819, allocations: 0 / 391 MB, free: 3.574 MB / 302.1 MB Notification: Performance of matching and sorting (n=131): time 0.002742/0.3846, allocations: 1.457 MB / 392.5 MB, free: 2.969 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001818/0.3848, allocations: 0.6011 MB / 393.1 MB, free: 2.27 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001381/0.3862, allocations: 0.9689 MB / 394 MB, free: 1.832 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 0.00017/0.3864, allocations: 115.7 kB / 394.1 MB, free: 1.758 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003968/0.3868, allocations: 0.5306 MB / 394.7 MB, free: 1.363 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000283/0.3871, allocations: 328 kB / 395 MB, free: 1.129 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005426/0.3876, allocations: 367.8 kB / 395.3 MB, free: 0.9688 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 6.238e-05/0.3877, allocations: 303.4 kB / 395.6 MB, free: 0.6719 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008663/0.3886, allocations: 465.7 kB / 396.1 MB, free: 476 kB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001326/0.3899, allocations: 0.9157 MB / 397 MB, free: 15.68 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002191/0.3921, allocations: 1.378 MB / 398.4 MB, free: 14.62 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.221e-05/0.3922, allocations: 6.688 kB / 398.4 MB, free: 14.62 MB / 318.1 MB Notification: Performance of matching and sorting (n=224) (initialization): time 0.003205/0.3954, allocations: 1.558 MB / 400 MB, free: 13.88 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001113/0.3955, allocations: 102.6 kB / 400.1 MB, free: 13.77 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.005e-05/0.3955, allocations: 16.48 kB / 400.1 MB, free: 13.77 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.363e-05/0.3956, allocations: 20.62 kB / 400.1 MB, free: 13.77 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006086/0.3962, allocations: 174.9 kB / 400.3 MB, free: 13.74 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.554e-05/0.3962, allocations: 31.27 kB / 400.3 MB, free: 13.73 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007101/0.397, allocations: 149.7 kB / 400.4 MB, free: 13.63 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001009/0.3971, allocations: 65.91 kB / 400.5 MB, free: 13.62 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: 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],$PRE.start.table.combiTimeTable.nextTimeEvent,$whenCondition12,$PRE.stop.table.combiTimeTable.nextTimeEvent,$whenCondition11,$PRE.shut.table.combiTimeTable.nextTimeEvent,$whenCondition10,stateGraphRoot.activeSteps,valve3.valveControl,valve2.valveControl,shut.on,$PRE.shut.on,shut.reset[2],shut.reset[1],stop.on,$PRE.stop.on,stop.reset[2],stop.reset[1],start.on,$PRE.start.on,start.reset[2],start.reset[1],tankController.T6.enableFire,tankController.T6.localCondition,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.localCondition,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.localCondition,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.localCondition,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.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,$whenCondition13,$whenCondition14,$whenCondition15,shut.pre_reset[2],shut.pre_reset[1],shut.table.combiTimeTable.nextTimeEventScaled,$PRE.shut.table.combiTimeTable.nextTimeEventScaled,shut.table.combiTimeTable.nextTimeEvent,shut.table.y,$PRE.shut.table.y,$PRE.shut.reset[2],$PRE.shut.reset[1],$whenCondition9,$whenCondition7,$whenCondition8,stop.pre_reset[2],stop.pre_reset[1],stop.table.combiTimeTable.nextTimeEventScaled,$PRE.stop.table.combiTimeTable.nextTimeEventScaled,stop.table.combiTimeTable.nextTimeEvent,stop.table.y,$PRE.stop.table.y,$PRE.stop.reset[2],$PRE.stop.reset[1],$whenCondition6,$whenCondition4,$whenCondition5,start.pre_reset[2],start.pre_reset[1],start.table.combiTimeTable.nextTimeEventScaled,$PRE.start.table.combiTimeTable.nextTimeEventScaled,start.table.combiTimeTable.nextTimeEvent,start.table.y,$PRE.start.table.y,$PRE.start.reset[2],$PRE.start.reset[1],$whenCondition3,$whenCondition1,$whenCondition2,tankController.makeProduct.T1.t_start,$PRE.tankController.makeProduct.T1.t_start,tankController.makeProduct.T3.t_start,$PRE.tankController.makeProduct.T3.t_start,tankController.T1.t_start,$PRE.tankController.T1.t_start,tankController.T2.t_start,$PRE.tankController.T2.t_start,tankController.T3.t_start,$PRE.tankController.T3.t_start,tankController.T4.t_start,$PRE.tankController.T4.t_start,tankController.T5.t_start,$PRE.tankController.T5.t_start,tankController.T6.t_start,$PRE.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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001052/0.3981, allocations: 0.6458 MB / 401.2 MB, free: 13.16 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002224/0.3984, allocations: 113.6 kB / 401.3 MB, free: 13.1 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002066/0.3986, allocations: 113.3 kB / 401.4 MB, free: 13.02 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.669e-05/0.3986, allocations: 12.03 kB / 401.4 MB, free: 13.02 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.823e-05/0.3986, allocations: 12.08 kB / 401.4 MB, free: 13.01 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.417e-05/0.3986, allocations: 5.578 kB / 401.4 MB, free: 13 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003962/0.4026, allocations: 2.623 MB / 404 MB, free: 11.3 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.302e-06/0.4026, allocations: 2.812 kB / 404 MB, free: 11.3 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003047/0.4029, allocations: 78.33 kB / 404.1 MB, free: 11.28 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.131e-05/0.403, allocations: 12.94 kB / 404.1 MB, free: 11.27 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.333e-05/0.4031, allocations: 34.86 kB / 404.2 MB, free: 11.25 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.997e-06/0.4031, allocations: 7.25 kB / 404.2 MB, free: 11.25 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.34e-06/0.4031, allocations: 5.844 kB / 404.2 MB, free: 11.25 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00295/0.406, allocations: 1.863 MB / 406 MB, free: 10.15 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004455/0.4065, allocations: 289.5 kB / 406.3 MB, free: 9.902 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002001/0.4067, allocations: 59.06 kB / 406.4 MB, free: 9.871 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003765/0.4071, allocations: 54.84 kB / 406.4 MB, free: 9.84 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003411/0.4074, allocations: 140.8 kB / 406.6 MB, free: 9.742 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.85e-05/0.4075, allocations: 43.98 kB / 406.6 MB, free: 9.699 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0008818/0.4084, allocations: 0.6006 MB / 407.2 MB, free: 9.098 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4084, allocations: 0 / 407.2 MB, free: 9.098 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.001456/0.4099, allocations: 343 kB / 407.5 MB, free: 8.762 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.active,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.localActive,tankController.makeProduct.fillTank1.newActive,tankController.makeProduct.fillTank1.oldActive,tankController.makeProduct.T1.localCondition,tankController.makeProduct.T1.enableFire,tankController.makeProduct.fillTank2.active,tankController.makeProduct.fillTank2.newActive,tankController.makeProduct.fillTank2.oldActive,tankController.makeProduct.T3.localCondition,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.localCondition,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.localCondition,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 (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.001501/0.4114, allocations: 0.5502 MB / 408.1 MB, free: 8.371 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.002545/0.414, allocations: 1.457 MB / 409.5 MB, free: 6.934 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 3.387e-06/0.414, allocations: 0 / 409.5 MB, free: 6.934 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001082/0.4151, allocations: 0.8508 MB / 410.4 MB, free: 6.074 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000997/0.4161, allocations: 238.8 kB / 410.6 MB, free: 5.855 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003648/0.4197, allocations: 2.263 MB / 412.9 MB, free: 3.547 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007905/0.4205, allocations: 1.158 MB / 414 MB, free: 2.359 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0006217/0.4212, allocations: 189.6 kB / 414.2 MB, free: 2.172 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002833/0.4215, allocations: 111.3 kB / 414.3 MB, free: 2.062 MB / 318.1 MB Notification: Performance of SimCode: time 8.01e-07/0.4215, allocations: 3.938 kB / 414.3 MB, free: 2.059 MB / 318.1 MB Notification: Performance of Templates: time 0.026/0.4475, allocations: 14.9 MB / 429.2 MB, free: 3.258 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 -s gbode -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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/StateGraph/Examples/ControlledTanks/ControlledTanks.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.StateGraph.Examples.ControlledTanks.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches