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.0009262/0.0009262, allocations: 195.3 kB / 18.06 MB, free: 3.527 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.212/1.212, allocations: 226.5 MB / 245.4 MB, free: 8.059 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007575/0.0007575, allocations: 92.36 kB / 297.4 MB, free: 6.836 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002058/0.0002059, allocations: 4 kB / 357.4 MB, free: 10.91 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1732/0.1734, allocations: 51.29 MB / 408.6 MB, free: 27.67 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.08794/0.2614, allocations: 85.66 MB / 494.3 MB, free: 5.891 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001889/0.2616, allocations: 71.97 kB / 494.4 MB, free: 5.82 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.243/0.5047, allocations: 43.9 MB / 0.5257 GB, free: 84.7 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.704e-06/0.5047, allocations: 0 / 0.5257 GB, free: 84.7 MB / 378.7 MB Notification: Performance of Transformations before backend: time 7.418e-05/0.5048, allocations: 40.05 kB / 0.5257 GB, free: 84.7 MB / 378.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.002053/0.5068, allocations: 1.651 MB / 0.5273 GB, free: 83.33 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.07e-05/0.5069, allocations: 7.312 kB / 0.5273 GB, free: 83.33 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002416/0.5071, allocations: 163.5 kB / 0.5275 GB, free: 83.25 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001224/0.5084, allocations: 0.9616 MB / 0.5284 GB, free: 82.49 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001279/0.5085, allocations: 207.9 kB / 0.5286 GB, free: 82.33 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001646/0.5087, allocations: 147 kB / 0.5288 GB, free: 82.2 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001901/0.5106, allocations: 1.484 MB / 0.5302 GB, free: 80.6 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.722e-05/0.5106, allocations: 7.875 kB / 0.5302 GB, free: 80.59 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001051/0.5107, allocations: 54.5 kB / 0.5303 GB, free: 80.54 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.008e-05/0.5108, allocations: 50.17 kB / 0.5303 GB, free: 80.49 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001501/0.5123, allocations: 0.9921 MB / 0.5313 GB, free: 79.49 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004548/0.5168, allocations: 5.522 MB / 0.5367 GB, free: 73.86 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001476/0.5183, allocations: 1.269 MB / 0.5379 GB, free: 72.46 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006496/0.519, allocations: 0.5291 MB / 0.5384 GB, free: 71.91 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001107/0.5191, allocations: 96.69 kB / 0.5385 GB, free: 71.8 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009454/0.5201, allocations: 0.9026 MB / 0.5394 GB, free: 70.82 MB / 378.7 MB Notification: Performance of pre-optimization done (n=133): time 3.276e-06/0.5201, allocations: 0 / 0.5394 GB, free: 70.82 MB / 378.7 MB Notification: Performance of matching and sorting (n=133): time 0.00227/0.5224, allocations: 1.504 MB / 0.5409 GB, free: 69.3 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001246/0.5225, allocations: 0.5997 MB / 0.5415 GB, free: 68.57 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001041/0.5236, allocations: 0.9683 MB / 0.5424 GB, free: 67.59 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001536/0.5237, allocations: 109.7 kB / 0.5425 GB, free: 67.47 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002913/0.524, allocations: 0.525 MB / 0.543 GB, free: 66.96 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002104/0.5242, allocations: 332.8 kB / 0.5433 GB, free: 66.66 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.497e-05/0.5243, allocations: 32.16 kB / 0.5434 GB, free: 66.62 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 7.736e-05/0.5244, allocations: 377.9 kB / 0.5437 GB, free: 66.25 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007031/0.5251, allocations: 467.8 kB / 0.5442 GB, free: 65.79 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008602/0.526, allocations: 0.9117 MB / 0.5451 GB, free: 64.71 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001376/0.5274, allocations: 1.373 MB / 0.5464 GB, free: 63.14 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.232e-06/0.5274, allocations: 0 / 0.5464 GB, free: 63.14 MB / 378.7 MB Notification: Performance of matching and sorting (n=226) (initialization): time 0.002069/0.5294, allocations: 1.568 MB / 0.5479 GB, free: 61.55 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.478e-05/0.5295, allocations: 118.1 kB / 0.548 GB, free: 61.42 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.391e-05/0.5295, allocations: 12 kB / 0.5481 GB, free: 61.41 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.659e-05/0.5296, allocations: 23.98 kB / 0.5481 GB, free: 61.38 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005387/0.5301, allocations: 187.5 kB / 0.5483 GB, free: 61.2 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.19e-05/0.5301, allocations: 27.88 kB / 0.5483 GB, free: 61.17 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005817/0.5307, allocations: 103.4 kB / 0.5484 GB, free: 61.07 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001096/0.5308, allocations: 79.98 kB / 0.5485 GB, free: 60.99 MB / 378.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,$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.s1.active,tankController.makeProduct.stateGraphRoot.suspend,tankController.makeProduct.stateGraphRoot.resume,tankController.makeProduct.active,$PRE.tankController.makeProduct.newActive,tankController.makeProduct.newActive,tankController.makeProduct.activeSteps,$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.fillTank1.active,tankController.makeProduct.T1.enableFire,tankController.makeProduct.T1.condition,$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.fillTank2.active,tankController.makeProduct.T3.enableFire,tankController.makeProduct.T3.condition,$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.emptyTank2.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.wait1.active,tankController.makeProduct.T2.enableFire,tankController.makeProduct.T2.fire,$PRE.tankController.makeProduct.T2.t_start,tankController.makeProduct.T2.t_start,$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.wait2.active,tankController.makeProduct.T4.enableFire,tankController.makeProduct.T4.fire,$PRE.tankController.makeProduct.T4.t_start,tankController.makeProduct.T4.t_start,tankController.T1.enableFire,tankController.T2.enableFire,tankController.T2.condition,tankController.T3.enableFire,$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.s2.active,tankController.T4.enableFire,tankController.T5.enableFire,$PRE.tankController.emptyTanks.localActive,tankController.emptyTanks.localActive,$PRE.tankController.emptyTanks.newActive,tankController.emptyTanks.newActive,$PRE.tankController.emptyTanks.oldActive,tankController.emptyTanks.oldActive,tankController.emptyTanks.active,tankController.T6.enableFire,tankController.T6.condition,tankController.valve2,tankController.valve3,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,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.0007054/0.5316, allocations: 0.6366 MB / 0.5491 GB, free: 60.32 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001641/0.5317, allocations: 118.6 kB / 0.5492 GB, free: 60.2 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001664/0.5334, allocations: 1.226 MB / 0.5504 GB, free: 58.95 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.015e-05/0.5334, allocations: 16 kB / 0.5504 GB, free: 58.93 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.493e-06/0.5334, allocations: 8 kB / 0.5504 GB, free: 58.93 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.104e-05/0.5335, allocations: 3.984 kB / 0.5504 GB, free: 58.92 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003341/0.5368, allocations: 2.832 MB / 0.5532 GB, free: 56.05 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.21e-06/0.5368, allocations: 0 / 0.5532 GB, free: 56.05 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003152/0.5371, allocations: 83.77 kB / 0.5533 GB, free: 55.96 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.325e-06/0.5372, allocations: 8 kB / 0.5533 GB, free: 55.96 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.473e-05/0.5372, allocations: 39.97 kB / 0.5533 GB, free: 55.92 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.424e-06/0.5373, allocations: 15.08 kB / 0.5533 GB, free: 55.91 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.755e-06/0.5373, allocations: 7.938 kB / 0.5533 GB, free: 55.9 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00233/0.5396, allocations: 1.937 MB / 0.5552 GB, free: 53.9 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003642/0.54, allocations: 327.5 kB / 0.5555 GB, free: 53.56 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001734/0.5402, allocations: 63.97 kB / 0.5556 GB, free: 53.5 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003737/0.5405, allocations: 52.03 kB / 0.5556 GB, free: 53.45 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002672/0.5408, allocations: 172.6 kB / 0.5558 GB, free: 53.28 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.46e-05/0.5409, allocations: 51.97 kB / 0.5559 GB, free: 53.23 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0006362/0.5416, allocations: 0.5927 MB / 0.5564 GB, free: 52.63 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.5416, allocations: 0 / 0.5564 GB, free: 52.63 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0009748/0.5425, allocations: 311.8 kB / 0.5567 GB, free: 52.33 MB / 378.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,$cse4,$cse5,$cse7,$cse9,$cse10,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,$whenCondition8,$whenCondition7,$whenCondition9,$whenCondition11,$whenCondition10,$whenCondition12,$whenCondition14,$whenCondition13,$whenCondition15,tankController.s1.inPort[2].occupied,tankController.s1.newActive,tankController.s1.oldActive,tankController.s1.active,tankController.makeProduct.stateGraphRoot.resume,tankController.makeProduct.active,tankController.makeProduct.newActive,tankController.makeProduct.activeSteps,tankController.makeProduct.fillTank1.newActive,tankController.makeProduct.fillTank1.oldActive,tankController.makeProduct.fillTank1.active,tankController.makeProduct.T1.enableFire,tankController.makeProduct.T1.condition,tankController.makeProduct.fillTank2.newActive,tankController.makeProduct.fillTank2.oldActive,tankController.makeProduct.fillTank2.active,tankController.makeProduct.T3.enableFire,tankController.makeProduct.T3.condition,tankController.makeProduct.emptyTank2.newActive,tankController.makeProduct.emptyTank2.oldActive,tankController.makeProduct.emptyTank2.active,tankController.makeProduct.wait1.newActive,tankController.makeProduct.wait1.oldActive,tankController.makeProduct.wait1.active,tankController.makeProduct.T2.fire,tankController.makeProduct.T2.t_start,tankController.makeProduct.wait2.newActive,tankController.makeProduct.wait2.oldActive,tankController.makeProduct.wait2.active,tankController.makeProduct.T4.fire,tankController.makeProduct.T4.t_start,tankController.T1.enableFire,tankController.T2.enableFire,tankController.T2.condition,tankController.T3.enableFire,tankController.s2.outPort[2].available,tankController.s2.newActive,tankController.s2.oldActive,tankController.s2.active,tankController.T4.enableFire,tankController.T5.enableFire,tankController.emptyTanks.newActive,tankController.emptyTanks.oldActive,tankController.emptyTanks.active,tankController.T6.enableFire,tankController.T6.condition,tankController.valve2,tankController.valve3,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],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 (126): * Single equations (assignments): 99 * 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.0009576/0.5435, allocations: 0.5762 MB / 0.5573 GB, free: 51.9 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001777/0.5453, allocations: 1.495 MB / 0.5588 GB, free: 50.38 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.845e-06/0.5453, allocations: 0 / 0.5588 GB, free: 50.38 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008229/0.5461, allocations: 0.867 MB / 0.5596 GB, free: 49.47 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001047/0.5472, allocations: 218.4 kB / 0.5598 GB, free: 49.26 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003078/0.5503, allocations: 2.696 MB / 0.5624 GB, free: 46.51 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005111/0.5508, allocations: 1.166 MB / 0.5636 GB, free: 45.31 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003661/0.5512, allocations: 119.4 kB / 0.5637 GB, free: 45.19 MB / 378.7 MB Notification: Performance of SimCode: time 5.51e-07/0.5512, allocations: 0 / 0.5637 GB, free: 45.19 MB / 378.7 MB Notification: Performance of Templates: time 0.01905/0.5703, allocations: 18.52 MB / 0.5818 GB, free: 26.69 MB / 378.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/jenkins1/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