Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Fluid.Examples.ControlledTankSystem.ControlledTanks.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica.Fluid.Examples.ControlledTankSystem.ControlledTanks,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|tank1.level|tank1.medium.T|tank2.level|tank2.medium.T|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.normal.T1.enableFire|tankController.normal.T2.enableFire|tankController.normal.T3.enableFire|tankController.normal.T4.enableFire",fileNamePrefix="Modelica_4.0.0_Modelica.Fluid.Examples.ControlledTankSystem.ControlledTanks") translateModel(Modelica.Fluid.Examples.ControlledTankSystem.ControlledTanks,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|tank1.level|tank1.medium.T|tank2.level|tank2.medium.T|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.normal.T1.enableFire|tankController.normal.T2.enableFire|tankController.normal.T3.enableFire|tankController.normal.T4.enableFire",fileNamePrefix="Modelica_4.0.0_Modelica.Fluid.Examples.ControlledTankSystem.ControlledTanks") [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002044/0.002044, allocations: 186.2 kB / 8.14 MB, free: 2.215 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.469/1.469, allocations: 221.4 MB / 229.9 MB, free: 3.074 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001076/0.001076, allocations: 100.2 kB / 280.8 MB, free: 1.27 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 8.616e-06/8.636e-06, allocations: 0 / 336.5 MB, free: 9.523 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3406/0.3406, allocations: 50.39 MB / 386.9 MB, free: 38.02 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.8195/1.16, allocations: 302.3 MB / 0.6731 GB, free: 123.7 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000226/1.16, allocations: 84.17 kB / 0.6732 GB, free: 123.7 MB / 442.7 MB Notification: Performance of FrontEnd: time 0.7176/1.878, allocations: 225.4 MB / 0.8933 GB, free: 83 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0001932/1.878, allocations: 62.69 kB / 0.8934 GB, free: 82.98 MB / 442.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 527 * Number of variables: 527 Notification: Performance of Generate backend data structure: time 0.006276/1.885, allocations: 2.467 MB / 0.8958 GB, free: 81.57 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.567e-05/1.885, allocations: 10.53 kB / 0.8958 GB, free: 81.57 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001138/1.886, allocations: 294.4 kB / 0.8961 GB, free: 81.44 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003114/1.889, allocations: 1.493 MB / 0.8975 GB, free: 81.02 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002012/1.889, allocations: 226.8 kB / 0.8977 GB, free: 80.89 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003288/1.89, allocations: 137.8 kB / 0.8979 GB, free: 80.89 MB / 442.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003387/1.893, allocations: 1.995 MB / 0.8998 GB, free: 80.5 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004439/1.897, allocations: 2.474 MB / 0.9022 GB, free: 79.34 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.709e-05/1.897, allocations: 7.688 kB / 0.9022 GB, free: 79.34 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002279/1.898, allocations: 7.938 kB / 0.9022 GB, free: 79.34 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001098/1.898, allocations: 109.3 kB / 0.9024 GB, free: 79.33 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01324/1.911, allocations: 9.728 MB / 0.9119 GB, free: 72.89 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001835/1.913, allocations: 1.423 MB / 0.9132 GB, free: 72.2 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001279/1.914, allocations: 1.042 MB / 0.9143 GB, free: 71.75 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007542/1.922, allocations: 5.342 MB / 0.9195 GB, free: 68.04 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001747/1.924, allocations: 1.419 MB / 0.9209 GB, free: 67.29 MB / 442.7 MB Notification: Performance of pre-optimization done (n=207): time 3.887e-06/1.924, allocations: 0 / 0.9209 GB, free: 67.29 MB / 442.7 MB Notification: Performance of matching and sorting (n=217): time 0.02362/1.947, allocations: 8.409 MB / 0.9291 GB, free: 61.28 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002045/1.947, allocations: 0.7645 MB / 0.9298 GB, free: 60.35 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001645/1.949, allocations: 1.147 MB / 0.9309 GB, free: 59.19 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003389/1.949, allocations: 81.67 kB / 0.931 GB, free: 59.1 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004805/1.95, allocations: 0.6937 MB / 0.9317 GB, free: 58.42 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004988/1.95, allocations: 0.5686 MB / 0.9323 GB, free: 57.86 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001226/1.951, allocations: 4 kB / 0.9323 GB, free: 57.86 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001314/1.951, allocations: 411.5 kB / 0.9326 GB, free: 57.45 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001289/1.952, allocations: 0.8957 MB / 0.9335 GB, free: 56.55 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001606/1.954, allocations: 1.584 MB / 0.9351 GB, free: 54.69 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005522/1.959, allocations: 1.693 MB / 0.9367 GB, free: 53.05 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.3e-05/1.959, allocations: 7.938 kB / 0.9367 GB, free: 53.04 MB / 442.7 MB Notification: Performance of matching and sorting (n=352) (initialization): time 0.008843/1.968, allocations: 3.499 MB / 0.9401 GB, free: 49.56 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.895e-05/1.968, allocations: 8 kB / 0.9402 GB, free: 49.55 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.187e-05/1.968, allocations: 16 kB / 0.9402 GB, free: 49.54 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009911/1.969, allocations: 0.5697 MB / 0.9407 GB, free: 48.99 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001397/1.971, allocations: 399.2 kB / 0.9411 GB, free: 48.6 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003214/1.974, allocations: 2.643 MB / 0.9437 GB, free: 45.89 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002037/1.976, allocations: 121.2 kB / 0.9438 GB, free: 45.79 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002571/1.976, allocations: 124 kB / 0.9439 GB, free: 45.66 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 83 * Number of states: 0 () * Number of discrete variables: 188 ($PRE.tankController.normal.T1.enableFire,$PRE.tankController.normal.T3.enableFire,$PRE.tankController.normal.T2.enableFire,$PRE.tankController.normal.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.tankController.T6.t_start,tankController.T6.t_start,$PRE.tankController.T5.t_start,tankController.T5.t_start,$PRE.tankController.T4.t_start,tankController.T4.t_start,$PRE.tankController.T3.t_start,tankController.T3.t_start,$PRE.tankController.T2.t_start,tankController.T2.t_start,$PRE.tankController.T1.t_start,tankController.T1.t_start,$PRE.tankController.normal.T3.t_start,tankController.normal.T3.t_start,$PRE.tankController.normal.T1.t_start,tankController.normal.T1.t_start,$whenCondition12,$PRE.start.table.combiTimeTable.nextTimeEvent,$whenCondition11,$PRE.stop.table.combiTimeTable.nextTimeEvent,$whenCondition10,$PRE.shut.table.combiTimeTable.nextTimeEvent,$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],$whenCondition5,$whenCondition4,$whenCondition6,$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],$whenCondition2,$whenCondition1,$whenCondition3,$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],tankController.stateGraphRoot.resume,tankController.stateGraphRoot.suspend,tankController.normal.T4.condition,tankController.normal.T2.condition,$whenCondition15,$whenCondition14,$whenCondition13,$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.normal.stateGraphRoot.suspend,tankController.normal.stateGraphRoot.resume,tankController.normal.active,$PRE.tankController.normal.newActive,tankController.normal.newActive,tankController.normal.activeSteps,$PRE.tankController.normal.fillTank1.localActive,tankController.normal.fillTank1.localActive,$PRE.tankController.normal.fillTank1.newActive,tankController.normal.fillTank1.newActive,$PRE.tankController.normal.fillTank1.oldActive,tankController.normal.fillTank1.oldActive,tankController.normal.fillTank1.active,tankController.normal.T1.enableFire,tankController.normal.T1.condition,$PRE.tankController.normal.fillTank2.localActive,tankController.normal.fillTank2.localActive,$PRE.tankController.normal.fillTank2.newActive,tankController.normal.fillTank2.newActive,$PRE.tankController.normal.fillTank2.oldActive,tankController.normal.fillTank2.oldActive,tankController.normal.fillTank2.active,tankController.normal.T3.enableFire,tankController.normal.T3.condition,$PRE.tankController.normal.emptyTank2.localActive,tankController.normal.emptyTank2.localActive,$PRE.tankController.normal.emptyTank2.newActive,tankController.normal.emptyTank2.newActive,$PRE.tankController.normal.emptyTank2.oldActive,tankController.normal.emptyTank2.oldActive,tankController.normal.emptyTank2.active,$PRE.tankController.normal.wait1.localActive,tankController.normal.wait1.localActive,$PRE.tankController.normal.wait1.newActive,tankController.normal.wait1.newActive,$PRE.tankController.normal.wait1.oldActive,tankController.normal.wait1.oldActive,tankController.normal.wait1.active,tankController.normal.T2.enableFire,tankController.normal.T2.fire,$PRE.tankController.normal.T2.t_start,tankController.normal.T2.t_start,$PRE.tankController.normal.wait2.localActive,tankController.normal.wait2.localActive,$PRE.tankController.normal.wait2.newActive,tankController.normal.wait2.newActive,$PRE.tankController.normal.wait2.oldActive,tankController.normal.wait2.oldActive,tankController.normal.wait2.active,tankController.normal.T4.enableFire,tankController.normal.T4.fire,$PRE.tankController.normal.T4.t_start,tankController.normal.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,tankController.stateGraphRoot.activeSteps,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,tank1.regularFlow[1],tank1.regularFlow[2],tank1.inFlow[1],tank1.inFlow[2],tank2.regularFlow[1],tank2.regularFlow[2],tank2.inFlow[1],tank2.inFlow[2]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (325): * Single equations (assignments): 319 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 3 {2 3,4 4,2 3} Notification: Performance of prepare postOptimizeDAE: time 0.0006241/1.977, allocations: 397.7 kB / 0.9443 GB, free: 45.26 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003714/1.977, allocations: 197.7 kB / 0.9445 GB, free: 45.07 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007532/1.985, allocations: 3.426 MB / 0.9478 GB, free: 41.71 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.852e-05/1.985, allocations: 24 kB / 0.9479 GB, free: 41.68 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.157e-05/1.985, allocations: 4 kB / 0.9479 GB, free: 41.68 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.268e-05/1.985, allocations: 15.14 kB / 0.9479 GB, free: 41.67 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01134/1.996, allocations: 5.52 MB / 0.9533 GB, free: 36.18 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.561e-05/1.996, allocations: 7.906 kB / 0.9533 GB, free: 36.17 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001066/1.997, allocations: 255.5 kB / 0.9535 GB, free: 35.92 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009467/1.998, allocations: 0.5478 MB / 0.9541 GB, free: 35.39 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000177/1.998, allocations: 55.53 kB / 0.9541 GB, free: 35.34 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003192/2.002, allocations: 2.614 MB / 0.9567 GB, free: 32.66 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.572e-06/2.002, allocations: 0 / 0.9567 GB, free: 32.66 MB / 442.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.009475/2.011, allocations: 4.562 MB / 0.9611 GB, free: 27.97 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001552/2.013, allocations: 0.5491 MB / 0.9617 GB, free: 27.4 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004836/2.013, allocations: 39.98 kB / 0.9617 GB, free: 27.36 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001359/2.014, allocations: 113.5 kB / 0.9618 GB, free: 27.26 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005068/2.015, allocations: 257.5 kB / 0.962 GB, free: 27.01 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002049/2.015, allocations: 103.1 kB / 0.9621 GB, free: 26.91 MB / 442.7 MB Notification: Performance of sort global known variables: time 0.001208/2.016, allocations: 0.7795 MB / 0.9629 GB, free: 26.13 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.003424/2.02, allocations: 0.6442 MB / 0.9635 GB, free: 25.48 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * Number of states: 4 (tank1.medium.T,tank1.level,tank2.medium.T,tank2.level) * Number of discrete variables: 120 (tankController.s1.localActive,tankController.normal.fillTank1.localActive,tankController.normal.fillTank2.localActive,tankController.normal.T2.enableFire,tankController.normal.emptyTank2.localActive,tankController.normal.T4.enableFire,tankController.normal.wait1.localActive,tankController.normal.wait2.localActive,tankController.normal.stateGraphRoot.suspend,tankController.s2.localActive,tankController.emptyTanks.localActive,$cse1,$cse2,$cse3,$cse4,$cse5,$whenCondition15,$whenCondition14,$whenCondition13,$whenCondition12,$whenCondition11,$whenCondition10,$whenCondition2,$whenCondition1,$whenCondition3,$whenCondition5,$whenCondition4,$whenCondition6,$whenCondition8,$whenCondition7,$whenCondition9,tankController.s1.inPort[2].occupied,tankController.s1.newActive,tankController.s1.oldActive,tankController.s1.active,tankController.normal.stateGraphRoot.resume,tankController.normal.active,tankController.normal.newActive,tankController.normal.activeSteps,tankController.normal.fillTank1.newActive,tankController.normal.fillTank1.oldActive,tankController.normal.fillTank1.active,tankController.normal.T1.enableFire,tankController.normal.T1.condition,tankController.normal.fillTank2.newActive,tankController.normal.fillTank2.oldActive,tankController.normal.fillTank2.active,tankController.normal.T3.enableFire,tankController.normal.T3.condition,tankController.normal.emptyTank2.newActive,tankController.normal.emptyTank2.oldActive,tankController.normal.emptyTank2.active,tankController.normal.wait1.newActive,tankController.normal.wait1.oldActive,tankController.normal.wait1.active,tankController.normal.T2.fire,tankController.normal.T2.t_start,tankController.normal.wait2.newActive,tankController.normal.wait2.oldActive,tankController.normal.wait2.active,tankController.normal.T4.fire,tankController.normal.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,tankController.stateGraphRoot.activeSteps,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],tank1.regularFlow[1],tank1.regularFlow[2],tank1.inFlow[1],tank1.inFlow[2],tank2.regularFlow[1],tank2.regularFlow[2],tank2.inFlow[1],tank2.inFlow[2],tankController.normal.T1.t_start,tankController.normal.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 discrete states: 50 (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.normal.T3.t_start,tankController.normal.T1.t_start,start.table.combiTimeTable.nextTimeEvent,stop.table.combiTimeTable.nextTimeEvent,shut.table.combiTimeTable.nextTimeEvent,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,$whenCondition6,stop.on,$whenCondition5,$whenCondition4,stop.pre_reset[2],stop.pre_reset[1],stop.reset[1],stop.reset[2],stop.table.y,start.table.combiTimeTable.nextTimeEventScaled,$whenCondition3,start.on,$whenCondition2,$whenCondition1,start.pre_reset[2],start.pre_reset[1],start.reset[1],start.reset[2],start.table.y,tankController.emptyTanks.newActive,tankController.s2.newActive,tankController.normal.newActive,tankController.normal.wait2.newActive,tankController.normal.wait1.newActive,tankController.normal.emptyTank2.newActive,tankController.normal.fillTank2.newActive,tankController.normal.fillTank1.newActive,tankController.s1.newActive) * Top-level inputs: 0 Notification: Strong component statistics for simulation (222): * Single equations (assignments): 186 * Array equations: 0 * Algorithm blocks: 3 * Record equations: 6 * When equations: 24 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 3 {2 3,4 4,2 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.002192/2.022, allocations: 0.8843 MB / 0.9644 GB, free: 24.8 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.004398/2.026, allocations: 2.553 MB / 0.9669 GB, free: 22.24 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 6.893e-06/2.027, allocations: 4 kB / 0.9669 GB, free: 22.23 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002475/2.029, allocations: 1.605 MB / 0.9685 GB, free: 20.62 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002974/2.032, allocations: 0.5563 MB / 0.969 GB, free: 20.09 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008626/2.041, allocations: 3.533 MB / 0.9725 GB, free: 16.66 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001864/2.043, allocations: 1.893 MB / 0.9743 GB, free: 14.73 MB / 442.7 MB Notification: Performance of SimCode: time 2.033e-06/2.043, allocations: 0 / 0.9743 GB, free: 14.73 MB / 442.7 MB Notification: Performance of Templates: time 0.3014/2.344, allocations: 39.97 MB / 1.013 GB, free: 102.9 MB / 442.7 MB make -j1 -f Modelica_4.0.0_Modelica.Fluid.Examples.ControlledTankSystem.ControlledTanks.makefile (rm -f Modelica_4.0.0_Modelica.Fluid.Examples.ControlledTankSystem.ControlledTanks.pipe ; mkfifo Modelica_4.0.0_Modelica.Fluid.Examples.ControlledTankSystem.ControlledTanks.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Fluid.Examples.ControlledTankSystem.ControlledTanks.pipe >> ../files/Modelica_4.0.0_Modelica.Fluid.Examples.ControlledTankSystem.ControlledTanks.sim & ./Modelica_4.0.0_Modelica.Fluid.Examples.ControlledTankSystem.ControlledTanks -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Fluid.Examples.ControlledTankSystem.ControlledTanks.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Fluid.Examples.ControlledTankSystem.ControlledTanks_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Fluid/Examples/ControlledTankSystem/ControlledTanks/ControlledTanks.csv","../files/Modelica_4.0.0_Modelica.Fluid.Examples.ControlledTankSystem.ControlledTanks.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches