Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_Modelica.StateGraph.Examples.ControlledTanks.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) 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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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_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_3.2.3_cpp_Modelica.StateGraph.Examples.ControlledTanks") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001007/0.001008, allocations: 173.7 kB / 16.72 MB, free: 5.086 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.363/1.363, allocations: 205.4 MB / 222.9 MB, free: 9.039 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008107/0.0008108, allocations: 78.44 kB / 271.2 MB, free: 8.266 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000306/0.0003061, allocations: 8 kB / 327.5 MB, free: 15.91 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2129/0.2133, allocations: 47.57 MB / 375.1 MB, free: 45.41 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.StateGraph.Examples.ControlledTanks): time 0.003281/0.2166, allocations: 3.35 MB / 378.4 MB, free: 42.79 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.003392/0.22, allocations: 2.416 MB / 380.8 MB, free: 40.85 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005021/0.2205, allocations: 27.44 kB / 380.9 MB, free: 40.84 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0009484/0.2215, allocations: 491.2 kB / 381.3 MB, free: 40.55 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0009852/0.2225, allocations: 318.9 kB / 381.7 MB, free: 40.34 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00164/0.2241, allocations: 0.7477 MB / 382.4 MB, free: 39.8 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.001958/0.2261, allocations: 1.826 MB / 384.2 MB, free: 38.67 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0012/0.2273, allocations: 1.004 MB / 385.2 MB, free: 38.06 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004994/0.2278, allocations: 0.4895 MB / 385.7 MB, free: 37.79 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000616/0.2285, allocations: 0.5417 MB / 386.3 MB, free: 37.41 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001632/0.2286, allocations: 55.59 kB / 386.3 MB, free: 37.41 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004622/0.2291, allocations: 136.6 kB / 386.5 MB, free: 37.32 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002918/0.2294, allocations: 310.9 kB / 386.8 MB, free: 37.01 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004788/0.2299, allocations: 0.5845 MB / 387.3 MB, free: 36.42 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001093/0.231, allocations: 1.673 MB / 389 MB, free: 34.74 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.969e-06/0.231, allocations: 0 / 389 MB, free: 34.74 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.633e-06/0.231, allocations: 4 kB / 389 MB, free: 34.74 MB / 298.7 MB Notification: Performance of Transformations before backend: time 1.877e-05/0.2311, allocations: 0 / 389 MB, free: 34.74 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: 313 * Number of variables: 313 Notification: Performance of Generate backend data structure: time 0.001829/0.2329, allocations: 1.513 MB / 390.5 MB, free: 33.12 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.809e-05/0.2329, allocations: 8.031 kB / 390.5 MB, free: 33.11 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002138/0.2332, allocations: 159.1 kB / 390.7 MB, free: 32.95 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009272/0.2341, allocations: 0.888 MB / 391.6 MB, free: 32.02 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001326/0.2342, allocations: 192.5 kB / 391.8 MB, free: 31.82 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001415/0.2344, allocations: 151.8 kB / 391.9 MB, free: 31.67 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001793/0.2362, allocations: 1.437 MB / 393.4 MB, free: 30.11 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.545e-05/0.2362, allocations: 7.938 kB / 393.4 MB, free: 30.1 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.399e-05/0.2363, allocations: 52 kB / 393.4 MB, free: 30.05 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.096e-05/0.2364, allocations: 50.17 kB / 393.5 MB, free: 30 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001431/0.2378, allocations: 0.9609 MB / 394.4 MB, free: 29.03 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004184/0.242, allocations: 5.48 MB / 399.9 MB, free: 23.39 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001338/0.2434, allocations: 1.083 MB / 401 MB, free: 22.25 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005704/0.2439, allocations: 455.6 kB / 401.4 MB, free: 21.8 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000115/0.2441, allocations: 102.1 kB / 401.5 MB, free: 21.68 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000779/0.2449, allocations: 0.6308 MB / 402.2 MB, free: 21.02 MB / 298.7 MB Notification: Performance of pre-optimization done (n=116): time 4.358e-06/0.2449, allocations: 4 kB / 402.2 MB, free: 21.02 MB / 298.7 MB Notification: Performance of matching and sorting (n=116): time 0.001832/0.2467, allocations: 1.316 MB / 403.5 MB, free: 19.68 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.118e-05/0.2468, allocations: 311.7 kB / 403.8 MB, free: 19.3 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008329/0.2476, allocations: 0.9486 MB / 404.7 MB, free: 18.35 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 9.91e-05/0.2478, allocations: 93.69 kB / 404.8 MB, free: 18.25 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002516/0.248, allocations: 0.5354 MB / 405.4 MB, free: 17.71 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001617/0.2482, allocations: 300.2 kB / 405.7 MB, free: 17.41 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.616e-05/0.2482, allocations: 32 kB / 405.7 MB, free: 17.38 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001049/0.2484, allocations: 434.6 kB / 406.1 MB, free: 16.95 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005968/0.249, allocations: 407.8 kB / 406.5 MB, free: 16.55 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007487/0.2497, allocations: 0.7946 MB / 407.3 MB, free: 15.61 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001161/0.2509, allocations: 1.185 MB / 408.5 MB, free: 14.25 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.511e-06/0.2509, allocations: 4 kB / 408.5 MB, free: 14.24 MB / 298.7 MB Notification: Performance of matching and sorting (n=200) (initialization): time 0.001737/0.2526, allocations: 1.403 MB / 409.9 MB, free: 12.81 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.439e-05/0.2527, allocations: 98.19 kB / 410 MB, free: 12.7 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.099e-05/0.2527, allocations: 8 kB / 410 MB, free: 12.69 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.198e-05/0.2527, allocations: 20 kB / 410 MB, free: 12.67 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005017/0.2533, allocations: 179.5 kB / 410.2 MB, free: 12.5 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.84e-05/0.2533, allocations: 19.94 kB / 410.2 MB, free: 12.48 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004653/0.2538, allocations: 159 kB / 410.4 MB, free: 12.32 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.273e-05/0.2538, allocations: 63.98 kB / 410.4 MB, free: 12.26 MB / 298.7 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,$whenCondition6,$PRE.shut.table.combiTimeTable.nextTimeEvent,$whenCondition5,$PRE.stop.table.combiTimeTable.nextTimeEvent,$whenCondition4,$PRE.start.table.combiTimeTable.nextTimeEvent,$whenCondition3,$whenCondition2,$whenCondition1,$whenCondition8,$whenCondition7,$whenCondition10,$whenCondition9,$whenCondition12,$whenCondition11,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,$PRE.start.reset[1],start.reset[1],$PRE.start.reset[2],start.reset[2],$PRE.start.on,start.on,start.table.y,start.table.combiTimeTable.nextTimeEvent,$PRE.start.table.combiTimeTable.nextTimeEventScaled,start.table.combiTimeTable.nextTimeEventScaled,$PRE.stop.reset[1],stop.reset[1],$PRE.stop.reset[2],stop.reset[2],$PRE.stop.on,stop.on,stop.table.y,stop.table.combiTimeTable.nextTimeEvent,$PRE.stop.table.combiTimeTable.nextTimeEventScaled,stop.table.combiTimeTable.nextTimeEventScaled,$PRE.shut.reset[1],shut.reset[1],$PRE.shut.reset[2],shut.reset[2],$PRE.shut.on,shut.on,shut.table.y,shut.table.combiTimeTable.nextTimeEvent,$PRE.shut.table.combiTimeTable.nextTimeEventScaled,shut.table.combiTimeTable.nextTimeEventScaled,valve2.valveControl,valve3.valveControl,stateGraphRoot.activeSteps,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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0005366/0.2544, allocations: 0.5803 MB / 411 MB, free: 11.64 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001069/0.2545, allocations: 98.78 kB / 411.1 MB, free: 11.54 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001436/0.2559, allocations: 1.114 MB / 412.2 MB, free: 10.39 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.474e-06/0.256, allocations: 12 kB / 412.2 MB, free: 10.38 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.581e-06/0.256, allocations: 4 kB / 412.2 MB, free: 10.38 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.159e-05/0.256, allocations: 11.91 kB / 412.2 MB, free: 10.37 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002829/0.2588, allocations: 2.554 MB / 414.8 MB, free: 7.734 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.847e-06/0.2588, allocations: 3.938 kB / 414.8 MB, free: 7.73 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002871/0.2591, allocations: 79.75 kB / 414.9 MB, free: 7.652 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.951e-06/0.2592, allocations: 4 kB / 414.9 MB, free: 7.648 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.854e-05/0.2592, allocations: 27.98 kB / 414.9 MB, free: 7.621 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.049e-06/0.2592, allocations: 4 kB / 414.9 MB, free: 7.617 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.034e-06/0.2592, allocations: 11.97 kB / 414.9 MB, free: 7.605 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001932/0.2612, allocations: 1.654 MB / 416.6 MB, free: 5.918 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002843/0.2615, allocations: 295.5 kB / 416.9 MB, free: 5.609 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001263/0.2616, allocations: 40 kB / 416.9 MB, free: 5.57 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003179/0.2619, allocations: 52.02 kB / 417 MB, free: 5.52 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002405/0.2622, allocations: 140.8 kB / 417.1 MB, free: 5.379 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.006e-05/0.2623, allocations: 47.97 kB / 417.1 MB, free: 5.332 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0005447/0.2628, allocations: 0.5888 MB / 417.7 MB, free: 4.746 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.2628, allocations: 0 / 417.7 MB, free: 4.746 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0007637/0.2636, allocations: 315 kB / 418 MB, free: 4.438 MB / 298.7 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 (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.0008629/0.2645, allocations: 0.5265 MB / 418.6 MB, free: 3.918 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0015/0.266, allocations: 1.255 MB / 419.8 MB, free: 2.633 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.775e-06/0.266, allocations: 0 / 419.8 MB, free: 2.633 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006375/0.2666, allocations: 0.6729 MB / 420.5 MB, free: 1.926 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007786/0.2674, allocations: 204.3 kB / 420.7 MB, free: 1.727 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002777/0.2702, allocations: 2.446 MB / 423.1 MB, free: 15.25 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006569/0.2709, allocations: 1.146 MB / 424.3 MB, free: 14.07 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003482/0.2712, allocations: 115.4 kB / 424.4 MB, free: 13.95 MB / 314.7 MB Notification: Performance of SimCode: time 5.91e-07/0.2712, allocations: 0 / 424.4 MB, free: 13.95 MB / 314.7 MB Notification: Performance of Templates: time 0.02213/0.2934, allocations: 17.15 MB / 441.6 MB, free: 12.76 MB / 330.7 MB make -j1 -f Modelica_3.2.3_cpp_Modelica.StateGraph.Examples.ControlledTanks.makefile (rm -f Modelica_3.2.3_cpp_Modelica.StateGraph.Examples.ControlledTanks.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.StateGraph.Examples.ControlledTanks.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.StateGraph.Examples.ControlledTanks.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.StateGraph.Examples.ControlledTanks.sim & ./Modelica_3.2.3_cpp_Modelica.StateGraph.Examples.ControlledTanks --alarm=480 -emit_protected > Modelica_3.2.3_cpp_Modelica.StateGraph.Examples.ControlledTanks.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_cpp_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_cpp_Modelica.StateGraph.Examples.ControlledTanks.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches