Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Fluid.Examples.ControlledTankSystem.ControlledTanks.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) 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 3.2.3+maint.om/package.mo", uses=false) 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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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_3.2.3_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_3.2.3_Modelica.Fluid.Examples.ControlledTankSystem.ControlledTanks") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001111/0.001111, allocations: 107.5 kB / 18.39 MB, free: 4.703 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001238/0.001238, allocations: 191 kB / 19.33 MB, free: 3.781 MB / 14.72 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.1 MB / 225.2 MB, free: 12.23 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001253/0.001253, allocations: 47.94 kB / 329.2 MB, free: 3.316 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08911/0.09037, allocations: 46.62 MB / 375.8 MB, free: 4.586 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Fluid.Examples.ControlledTankSystem.ControlledTanks): time 0.2152/0.3056, allocations: 27.73 MB / 403.5 MB, free: 11.77 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.01218/0.3178, allocations: 7.313 MB / 410.9 MB, free: 6.59 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002576/0.3205, allocations: 51.31 kB / 410.9 MB, free: 6.57 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003306/0.3238, allocations: 1.009 MB / 411.9 MB, free: 6.062 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005486/0.3293, allocations: 1.544 MB / 413.5 MB, free: 4.855 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.006715/0.336, allocations: 2.203 MB / 415.7 MB, free: 3.141 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.008083/0.3441, allocations: 4.978 MB / 420.6 MB, free: 184 kB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004419/0.3486, allocations: 2.061 MB / 422.7 MB, free: 14.84 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004444/0.3531, allocations: 1.753 MB / 424.5 MB, free: 13.81 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003447/0.3565, allocations: 1.626 MB / 426.1 MB, free: 12.74 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001301/0.3579, allocations: 305.2 kB / 426.4 MB, free: 12.74 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003561/0.3615, allocations: 0.9343 MB / 427.3 MB, free: 12.08 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001589/0.3631, allocations: 0.8297 MB / 428.1 MB, free: 11.25 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003188/0.3663, allocations: 1.365 MB / 429.5 MB, free: 9.879 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007568/0.3739, allocations: 4.147 MB / 433.7 MB, free: 5.723 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.346e-06/0.3739, allocations: 4 kB / 433.7 MB, free: 5.719 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.713e-06/0.3739, allocations: 0 / 433.7 MB, free: 5.719 MB / 350.1 MB Notification: Performance of Transformations before backend: time 0.0001612/0.3741, allocations: 0 / 433.7 MB, free: 5.719 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 521 * Number of variables: 521 Notification: Performance of Generate backend data structure: time 0.009125/0.3832, allocations: 2.997 MB / 436.7 MB, free: 2.602 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.983e-05/0.3833, allocations: 12.03 kB / 436.7 MB, free: 2.59 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001552/0.3849, allocations: 285.8 kB / 436.9 MB, free: 2.309 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003565/0.3884, allocations: 1.456 MB / 438.4 MB, free: 0.7969 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003033/0.3888, allocations: 299.3 kB / 438.7 MB, free: 488 kB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005633/0.3893, allocations: 219.9 kB / 438.9 MB, free: 268 kB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005738/0.3951, allocations: 2.741 MB / 441.7 MB, free: 13.36 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.846e-05/0.3952, allocations: 4 kB / 441.7 MB, free: 13.35 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003178/0.3955, allocations: 87.94 kB / 441.7 MB, free: 13.27 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001272/0.3957, allocations: 103.7 kB / 441.8 MB, free: 13.16 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004721/0.4004, allocations: 2.185 MB / 444 MB, free: 10.98 MB / 366.1 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01489/0.4153, allocations: 10.19 MB / 454.2 MB, free: 420 kB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003025/0.4184, allocations: 1.899 MB / 456.1 MB, free: 14.45 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001689/0.4201, allocations: 1.018 MB / 457.1 MB, free: 13.44 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00804/0.4281, allocations: 4.708 MB / 461.8 MB, free: 8.387 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002319/0.4305, allocations: 1.438 MB / 463.3 MB, free: 6.883 MB / 382.1 MB Notification: Performance of pre-optimization done (n=193): time 4.338e-06/0.4305, allocations: 0 / 463.3 MB, free: 6.883 MB / 382.1 MB Notification: Performance of matching and sorting (n=203): time 0.01376/0.4443, allocations: 6.202 MB / 469.5 MB, free: 0.5273 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003043/0.4447, allocations: 0.543 MB / 470 MB, free: 15.86 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002608/0.4473, allocations: 1.646 MB / 471.7 MB, free: 14.2 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002832/0.4476, allocations: 109.7 kB / 471.8 MB, free: 14.09 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009129/0.4485, allocations: 0.8961 MB / 472.7 MB, free: 13.18 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006589/0.4492, allocations: 0.5782 MB / 473.3 MB, free: 12.6 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009467/0.4501, allocations: 0.5479 MB / 473.8 MB, free: 12.04 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001332/0.4503, allocations: 313.1 kB / 474.1 MB, free: 11.73 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001749/0.452, allocations: 0.9108 MB / 475 MB, free: 10.82 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002288/0.4543, allocations: 1.593 MB / 476.6 MB, free: 8.945 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00373/0.4581, allocations: 2.429 MB / 479 MB, free: 6.246 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.697e-05/0.4581, allocations: 4 kB / 479 MB, free: 6.242 MB / 398.1 MB Notification: Performance of matching and sorting (n=332) (initialization): time 0.005992/0.4641, allocations: 3.049 MB / 482.1 MB, free: 3.156 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.79e-05/0.4642, allocations: 101.3 kB / 482.2 MB, free: 3.039 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.444e-05/0.4643, allocations: 20 kB / 482.2 MB, free: 3.02 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001251/0.4656, allocations: 0.5801 MB / 482.8 MB, free: 2.43 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001463/0.467, allocations: 391.2 kB / 483.2 MB, free: 2.047 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002331/0.4694, allocations: 2.258 MB / 485.4 MB, free: 15.71 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001748/0.4711, allocations: 124 kB / 485.6 MB, free: 15.59 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003135/0.4715, allocations: 116 kB / 485.7 MB, free: 15.48 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 77 * Number of states: 0 () * Number of discrete variables: 160 ($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.table.combiTimeTable.nextTimeEvent,$whenCondition12,$PRE.stop.table.combiTimeTable.nextTimeEvent,$whenCondition11,$PRE.shut.table.combiTimeTable.nextTimeEvent,$whenCondition10,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.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.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.stateGraphRoot.resume,tankController.stateGraphRoot.suspend,tankController.normal.T4.condition,tankController.normal.T2.condition,tank2.inFlow[2],tank2.inFlow[1],tank2.regularFlow[2],tank2.regularFlow[1],tank1.inFlow[2],tank1.inFlow[1],tank1.regularFlow[2],tank1.regularFlow[1],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.stateGraphRoot.activeSteps,tankController.valve3,tankController.valve2,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.normal.T4.t_start,$PRE.tankController.normal.T4.t_start,tankController.normal.T4.fire,tankController.normal.T4.enableFire,tankController.normal.wait2.oldActive,$PRE.tankController.normal.wait2.oldActive,tankController.normal.wait2.newActive,$PRE.tankController.normal.wait2.newActive,tankController.normal.wait2.localActive,$PRE.tankController.normal.wait2.localActive,tankController.normal.wait2.active,tankController.normal.T2.t_start,$PRE.tankController.normal.T2.t_start,tankController.normal.T2.fire,tankController.normal.T2.enableFire,tankController.normal.wait1.oldActive,$PRE.tankController.normal.wait1.oldActive,tankController.normal.wait1.newActive,$PRE.tankController.normal.wait1.newActive,tankController.normal.wait1.localActive,$PRE.tankController.normal.wait1.localActive,tankController.normal.wait1.active,tankController.normal.emptyTank2.oldActive,$PRE.tankController.normal.emptyTank2.oldActive,tankController.normal.emptyTank2.newActive,$PRE.tankController.normal.emptyTank2.newActive,tankController.normal.emptyTank2.localActive,$PRE.tankController.normal.emptyTank2.localActive,tankController.normal.emptyTank2.active,tankController.normal.T3.enableFire,tankController.normal.T3.localCondition,tankController.normal.fillTank2.oldActive,$PRE.tankController.normal.fillTank2.oldActive,tankController.normal.fillTank2.newActive,$PRE.tankController.normal.fillTank2.newActive,tankController.normal.fillTank2.localActive,$PRE.tankController.normal.fillTank2.localActive,tankController.normal.fillTank2.active,tankController.normal.T1.enableFire,tankController.normal.T1.localCondition,tankController.normal.fillTank1.oldActive,$PRE.tankController.normal.fillTank1.oldActive,tankController.normal.fillTank1.newActive,$PRE.tankController.normal.fillTank1.newActive,tankController.normal.fillTank1.localActive,$PRE.tankController.normal.fillTank1.localActive,tankController.normal.fillTank1.active,tankController.normal.activeSteps,tankController.normal.newActive,$PRE.tankController.normal.newActive,tankController.normal.active,tankController.normal.stateGraphRoot.resume,tankController.normal.stateGraphRoot.suspend,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) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (311): * Single equations (assignments): 305 * Array equations: 0 * Algorithm blocks: 3 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 3 systems {(2,3), (4,4), (2,3)} Notification: Performance of prepare postOptimizeDAE: time 0.001449/0.4729, allocations: 0.7598 MB / 486.4 MB, free: 14.68 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006547/0.4736, allocations: 209.5 kB / 486.6 MB, free: 14.47 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006047/0.4797, allocations: 3.019 MB / 489.7 MB, free: 11.4 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.429e-05/0.4797, allocations: 31.98 kB / 489.7 MB, free: 11.37 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.44e-05/0.4797, allocations: 3.938 kB / 489.7 MB, free: 11.37 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.542e-05/0.4798, allocations: 11.95 kB / 489.7 MB, free: 11.36 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009964/0.4898, allocations: 5.356 MB / 495.1 MB, free: 5.914 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.13e-05/0.4898, allocations: 3.984 kB / 495.1 MB, free: 5.91 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001046/0.4909, allocations: 239.6 kB / 495.3 MB, free: 5.676 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001146/0.492, allocations: 0.5645 MB / 495.9 MB, free: 5.102 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001932/0.4922, allocations: 59.95 kB / 495.9 MB, free: 5.043 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002167/0.4944, allocations: 2.235 MB / 498.1 MB, free: 2.73 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.405e-06/0.4944, allocations: 4.031 kB / 498.2 MB, free: 2.727 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007149/0.5016, allocations: 4.051 MB / 0.4904 GB, free: 14.62 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001229/0.5029, allocations: 0.5139 MB / 0.4909 GB, free: 14.09 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005706/0.5035, allocations: 59.98 kB / 0.491 GB, free: 14.03 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001391/0.5049, allocations: 95.92 kB / 0.4911 GB, free: 13.94 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005493/0.5054, allocations: 253.6 kB / 0.4913 GB, free: 13.7 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002283/0.5057, allocations: 88.06 kB / 0.4914 GB, free: 13.61 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.001752/0.5074, allocations: 1.043 MB / 0.4924 GB, free: 12.57 MB / 430.1 MB Notification: Performance of sort global known variables: time 2.51e-07/0.5074, allocations: 0 / 0.4924 GB, free: 12.57 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.002426/0.5099, allocations: 0.6716 MB / 0.4931 GB, free: 11.9 MB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (tank1.level,tank1.medium.T,tank2.level,tank2.medium.T) * Number of discrete variables: 106 (tankController.normal.stateGraphRoot.suspend,tankController.s1.active,tankController.normal.fillTank1.localActive,tankController.normal.fillTank2.active,tankController.normal.T2.enableFire,tankController.normal.emptyTank2.active,tankController.normal.T4.enableFire,tankController.normal.wait1.active,tankController.normal.wait2.active,tankController.s2.active,tankController.emptyTanks.active,$cse1,$cse2,$cse5,$cse6,$cse7,$whenCondition15,$whenCondition14,$whenCondition13,$whenCondition12,$whenCondition11,$whenCondition10,$whenCondition2,$whenCondition1,$whenCondition3,$whenCondition5,$whenCondition4,$whenCondition6,$whenCondition8,$whenCondition7,$whenCondition9,tankController.s1.localActive,tankController.s1.inPort[2].occupied,tankController.s1.newActive,tankController.s1.oldActive,tankController.normal.stateGraphRoot.resume,tankController.normal.active,tankController.normal.newActive,tankController.normal.activeSteps,tankController.normal.fillTank1.active,tankController.normal.fillTank1.newActive,tankController.normal.fillTank1.oldActive,tankController.normal.T1.localCondition,tankController.normal.T1.enableFire,tankController.normal.fillTank2.localActive,tankController.normal.fillTank2.newActive,tankController.normal.fillTank2.oldActive,tankController.normal.T3.localCondition,tankController.normal.T3.enableFire,tankController.normal.emptyTank2.localActive,tankController.normal.emptyTank2.newActive,tankController.normal.emptyTank2.oldActive,tankController.normal.wait1.localActive,tankController.normal.wait1.newActive,tankController.normal.wait1.oldActive,tankController.normal.T2.fire,tankController.normal.T2.t_start,tankController.normal.wait2.localActive,tankController.normal.wait2.newActive,tankController.normal.wait2.oldActive,tankController.normal.T4.fire,tankController.normal.T4.t_start,tankController.T1.enableFire,tankController.T2.localCondition,tankController.T2.enableFire,tankController.T3.enableFire,tankController.s2.localActive,tankController.s2.outPort[2].available,tankController.s2.newActive,tankController.s2.oldActive,tankController.T4.enableFire,tankController.T5.enableFire,tankController.emptyTanks.localActive,tankController.emptyTanks.newActive,tankController.emptyTanks.oldActive,tankController.T6.localCondition,tankController.T6.enableFire,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,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,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: 36 (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.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,$whenCondition9,shut.on,$whenCondition8,$whenCondition7,shut.reset[1],shut.reset[2],shut.table.y,$whenCondition6,stop.on,$whenCondition5,$whenCondition4,stop.reset[1],stop.reset[2],stop.table.y,$whenCondition3,start.on,$whenCondition2,$whenCondition1,start.reset[1],start.reset[2],start.table.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (211): * Single equations (assignments): 183 * Array equations: 0 * Algorithm blocks: 3 * Record equations: 6 * When equations: 16 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 3 systems {(2,3), (4,4), (2,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001988/0.5119, allocations: 0.8413 MB / 0.4939 GB, free: 11.05 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.005381/0.5173, allocations: 2.655 MB / 0.4965 GB, free: 8.355 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 8.035e-06/0.5173, allocations: 3.859 kB / 0.4965 GB, free: 8.352 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002965/0.5203, allocations: 1.439 MB / 0.4979 GB, free: 6.879 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003943/0.5243, allocations: 0.7692 MB / 0.4987 GB, free: 6.105 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009409/0.5337, allocations: 4.368 MB / 0.5029 GB, free: 1.695 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001368/0.5351, allocations: 1.56 MB / 0.5044 GB, free: 104 kB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001022/0.5362, allocations: 251.2 kB / 0.5047 GB, free: 15.86 MB / 446.1 MB Notification: Performance of SimCode: time 1.192e-06/0.5362, allocations: 0 / 0.5047 GB, free: 15.86 MB / 446.1 MB Notification: Performance of Templates: time 0.2675/0.8037, allocations: 67.8 MB / 0.5709 GB, free: 152.1 MB / 478.1 MB make -j1 -f Modelica_3.2.3_Modelica.Fluid.Examples.ControlledTankSystem.ControlledTanks.makefile (rm -f Modelica_3.2.3_Modelica.Fluid.Examples.ControlledTankSystem.ControlledTanks.pipe ; mkfifo Modelica_3.2.3_Modelica.Fluid.Examples.ControlledTankSystem.ControlledTanks.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Fluid.Examples.ControlledTankSystem.ControlledTanks.pipe >> ../files/Modelica_3.2.3_Modelica.Fluid.Examples.ControlledTankSystem.ControlledTanks.sim & ./Modelica_3.2.3_Modelica.Fluid.Examples.ControlledTankSystem.ControlledTanks -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Fluid.Examples.ControlledTankSystem.ControlledTanks.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Fluid.Examples.ControlledTankSystem.ControlledTanks_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Fluid/Examples/ControlledTankSystem/ControlledTanks/ControlledTanks.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Fluid.Examples.ControlledTankSystem.ControlledTanks.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches