Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Fluid.Examples.ControlledTankSystem.ControlledTanks.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(Modelica.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_trunk_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_trunk_Modelica.Fluid.Examples.ControlledTankSystem.ControlledTanks") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001444/0.001444, allocations: 122.8 kB / 17.79 MB, free: 5.258 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001768/0.001768, allocations: 202 kB / 18.73 MB, free: 4.32 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.376/1.376, allocations: 227.4 MB / 246.9 MB, free: 10.51 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001145/0.001145, allocations: 63.89 kB / 358.7 MB, free: 12.93 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2702/0.2714, allocations: 50.54 MB / 409.2 MB, free: 1.598 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Fluid.Examples.ControlledTankSystem.ControlledTanks): time 0.02772/0.2991, allocations: 27.94 MB / 437.2 MB, free: 5.543 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01182/0.311, allocations: 7.58 MB / 444.8 MB, free: 13.95 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001833/0.3129, allocations: 59.56 kB / 444.8 MB, free: 13.89 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003136/0.3161, allocations: 1.018 MB / 445.8 MB, free: 12.87 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005426/0.3215, allocations: 1.636 MB / 447.5 MB, free: 11.22 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.006147/0.3277, allocations: 2.157 MB / 449.6 MB, free: 9.078 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.007296/0.335, allocations: 5.055 MB / 454.7 MB, free: 4.008 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004122/0.3391, allocations: 2.099 MB / 456.8 MB, free: 1.871 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003651/0.3428, allocations: 1.791 MB / 458.6 MB, free: 76 kB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003083/0.3459, allocations: 1.658 MB / 460.2 MB, free: 14.41 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0013/0.3472, allocations: 315.9 kB / 460.5 MB, free: 14.1 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003239/0.3505, allocations: 0.9324 MB / 461.5 MB, free: 13.17 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001475/0.3519, allocations: 0.8531 MB / 462.3 MB, free: 12.31 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00286/0.3548, allocations: 1.408 MB / 463.7 MB, free: 10.9 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006507/0.3613, allocations: 4.196 MB / 467.9 MB, free: 6.691 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.959e-06/0.3614, allocations: 0 / 467.9 MB, free: 6.691 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.874e-06/0.3614, allocations: 4 kB / 467.9 MB, free: 6.688 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0001513/0.3615, allocations: 0 / 467.9 MB, free: 6.688 MB / 382.1 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.007441/0.369, allocations: 3.125 MB / 471.1 MB, free: 3.422 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.006e-05/0.369, allocations: 12.03 kB / 471.1 MB, free: 3.41 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001761/0.3708, allocations: 333.8 kB / 471.4 MB, free: 3.082 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002677/0.3735, allocations: 1.472 MB / 472.9 MB, free: 1.555 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000277/0.3738, allocations: 311.5 kB / 473.2 MB, free: 1.227 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004096/0.3742, allocations: 227.9 kB / 473.4 MB, free: 1.004 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004609/0.3788, allocations: 2.746 MB / 476.1 MB, free: 14.09 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.629e-05/0.3789, allocations: 7.938 kB / 476.2 MB, free: 14.09 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000209/0.3791, allocations: 91.97 kB / 476.2 MB, free: 14 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001089/0.3792, allocations: 99.69 kB / 476.3 MB, free: 13.9 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003698/0.3829, allocations: 2.196 MB / 478.5 MB, free: 11.7 MB / 398.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.01407/0.397, allocations: 11.19 MB / 489.7 MB, free: 108 kB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002865/0.3999, allocations: 2.024 MB / 491.7 MB, free: 13.94 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001594/0.4015, allocations: 1.075 MB / 492.8 MB, free: 12.84 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007925/0.4095, allocations: 5.327 MB / 498.1 MB, free: 7.184 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0024/0.4119, allocations: 1.519 MB / 499.7 MB, free: 5.574 MB / 414.1 MB Notification: Performance of pre-optimization done (n=205): time 5.069e-06/0.4119, allocations: 0 / 499.7 MB, free: 5.574 MB / 414.1 MB Notification: Performance of matching and sorting (n=215): time 0.01706/0.429, allocations: 8.512 MB / 0.4963 GB, free: 12.87 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0004347/0.4294, allocations: 0.7713 MB / 0.497 GB, free: 11.93 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002538/0.432, allocations: 1.663 MB / 0.4986 GB, free: 10.25 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002779/0.4323, allocations: 129.7 kB / 0.4988 GB, free: 10.12 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007912/0.4331, allocations: 0.8968 MB / 0.4996 GB, free: 9.207 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006366/0.4337, allocations: 0.6013 MB / 0.5002 GB, free: 8.598 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008892/0.4346, allocations: 0.5563 MB / 0.5008 GB, free: 8.035 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001022/0.4348, allocations: 301.1 kB / 0.5011 GB, free: 7.738 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001788/0.4365, allocations: 0.9579 MB / 0.502 GB, free: 6.777 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002244/0.4388, allocations: 1.682 MB / 0.5036 GB, free: 4.797 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00372/0.4425, allocations: 2.57 MB / 0.5062 GB, free: 1.938 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.689e-05/0.4426, allocations: 8 kB / 0.5062 GB, free: 1.93 MB / 430.1 MB Notification: Performance of matching and sorting (n=350) (initialization): time 0.005471/0.448, allocations: 3.13 MB / 0.5092 GB, free: 14.76 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.668e-05/0.4482, allocations: 113 kB / 0.5093 GB, free: 14.63 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.9e-05/0.4482, allocations: 24 kB / 0.5093 GB, free: 14.61 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001245/0.4494, allocations: 0.5808 MB / 0.5099 GB, free: 14.02 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001417/0.4509, allocations: 395.2 kB / 0.5103 GB, free: 13.63 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002331/0.4532, allocations: 2.262 MB / 0.5125 GB, free: 11.29 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001606/0.4548, allocations: 119.8 kB / 0.5126 GB, free: 11.18 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000298/0.4552, allocations: 120 kB / 0.5127 GB, free: 11.06 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 83 * Number of states: 0 () * Number of discrete variables: 186 ($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],tankController.T6.t_start,$PRE.tankController.T6.t_start,tankController.T5.t_start,$PRE.tankController.T5.t_start,tankController.T4.t_start,$PRE.tankController.T4.t_start,tankController.T3.t_start,$PRE.tankController.T3.t_start,tankController.T2.t_start,$PRE.tankController.T2.t_start,tankController.T1.t_start,$PRE.tankController.T1.t_start,tankController.normal.T3.t_start,$PRE.tankController.normal.T3.t_start,tankController.normal.T1.t_start,$PRE.tankController.normal.T1.t_start,$PRE.shut.table.combiTimeTable.nextTimeEvent,$whenCondition6,$PRE.stop.table.combiTimeTable.nextTimeEvent,$whenCondition5,$PRE.start.table.combiTimeTable.nextTimeEvent,$whenCondition4,shut.pre_reset[2],shut.pre_reset[1],shut.table.combiTimeTable.nextTimeEventScaled,$PRE.shut.table.combiTimeTable.nextTimeEventScaled,shut.table.combiTimeTable.nextTimeEvent,shut.table.y,$PRE.shut.table.y,$PRE.shut.reset[2],$PRE.shut.reset[1],$whenCondition9,$whenCondition7,$whenCondition8,stop.pre_reset[2],stop.pre_reset[1],stop.table.combiTimeTable.nextTimeEventScaled,$PRE.stop.table.combiTimeTable.nextTimeEventScaled,stop.table.combiTimeTable.nextTimeEvent,stop.table.y,$PRE.stop.table.y,$PRE.stop.reset[2],$PRE.stop.reset[1],$whenCondition12,$whenCondition10,$whenCondition11,start.pre_reset[2],start.pre_reset[1],start.table.combiTimeTable.nextTimeEventScaled,$PRE.start.table.combiTimeTable.nextTimeEventScaled,start.table.combiTimeTable.nextTimeEvent,start.table.y,$PRE.start.table.y,$PRE.start.reset[2],$PRE.start.reset[1],$whenCondition15,$whenCondition13,$whenCondition14,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.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,$whenCondition1,$whenCondition2,$whenCondition3) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (323): * Single equations (assignments): 317 * 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.001361/0.4565, allocations: 0.8092 MB / 0.5135 GB, free: 10.21 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005517/0.4571, allocations: 213.4 kB / 0.5137 GB, free: 10 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00654/0.4636, allocations: 3.019 MB / 0.5167 GB, free: 6.941 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.146e-05/0.4637, allocations: 27.98 kB / 0.5167 GB, free: 6.914 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.032e-05/0.4637, allocations: 0 / 0.5167 GB, free: 6.914 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.22e-05/0.4637, allocations: 11.97 kB / 0.5167 GB, free: 6.902 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009522/0.4733, allocations: 5.399 MB / 0.522 GB, free: 1.418 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.138e-05/0.4733, allocations: 4 kB / 0.522 GB, free: 1.414 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001107/0.4744, allocations: 239.6 kB / 0.5222 GB, free: 1.18 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001279/0.4757, allocations: 0.5684 MB / 0.5228 GB, free: 0.6016 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002111/0.4759, allocations: 63.95 kB / 0.5228 GB, free: 0.5391 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002393/0.4783, allocations: 2.227 MB / 0.525 GB, free: 14.23 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.16e-06/0.4784, allocations: 4 kB / 0.525 GB, free: 14.23 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007674/0.486, allocations: 4.191 MB / 0.5291 GB, free: 9.969 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00134/0.4874, allocations: 0.5216 MB / 0.5296 GB, free: 9.426 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000523/0.488, allocations: 75.97 kB / 0.5297 GB, free: 9.352 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001298/0.4893, allocations: 99.92 kB / 0.5298 GB, free: 9.254 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005946/0.4899, allocations: 249.6 kB / 0.53 GB, free: 9.012 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002485/0.4901, allocations: 87.95 kB / 0.5301 GB, free: 8.926 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.00196/0.4921, allocations: 1.059 MB / 0.5311 GB, free: 7.871 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.623e-06/0.4921, allocations: 0 / 0.5311 GB, free: 7.871 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.002415/0.4946, allocations: 0.6912 MB / 0.5318 GB, free: 7.18 MB / 462.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * Number of states: 4 (tank1.level,tank1.medium.T,tank2.level,tank2.medium.T) * Number of discrete variables: 113 (tankController.T3.enableFire,tankController.emptyTanks.localActive,tankController.s2.localActive,tankController.normal.T4.enableFire,tankController.normal.wait2.localActive,tankController.normal.T2.enableFire,tankController.normal.wait1.localActive,tankController.normal.emptyTank2.localActive,tankController.normal.fillTank2.localActive,tankController.normal.fillTank1.active,tankController.s1.localActive,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,$whenCondition8,$whenCondition7,$whenCondition9,$whenCondition11,$whenCondition10,$whenCondition12,$whenCondition14,$whenCondition13,$whenCondition15,tankController.s1.active,tankController.s1.inPort[2].occupied,tankController.s1.newActive,tankController.s1.oldActive,tankController.normal.active,tankController.normal.newActive,tankController.normal.activeSteps,tankController.normal.fillTank1.localActive,tankController.normal.fillTank1.newActive,tankController.normal.fillTank1.oldActive,tankController.normal.T1.localCondition,tankController.normal.T1.enableFire,tankController.normal.fillTank2.active,tankController.normal.fillTank2.newActive,tankController.normal.fillTank2.oldActive,tankController.normal.T3.localCondition,tankController.normal.T3.enableFire,tankController.normal.emptyTank2.active,tankController.normal.emptyTank2.newActive,tankController.normal.emptyTank2.oldActive,tankController.normal.wait1.active,tankController.normal.wait1.newActive,tankController.normal.wait1.oldActive,tankController.normal.T2.fire,tankController.normal.T2.t_start,tankController.normal.wait2.active,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.s2.active,tankController.s2.outPort[2].available,tankController.s2.newActive,tankController.s2.oldActive,tankController.T4.enableFire,tankController.T5.enableFire,tankController.emptyTanks.active,tankController.emptyTanks.newActive,tankController.emptyTanks.oldActive,tankController.T6.localCondition,tankController.T6.enableFire,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,shut.table.combiTimeTable.nextTimeEvent,stop.table.combiTimeTable.nextTimeEvent,start.table.combiTimeTable.nextTimeEvent,tankController.s1.newActive,tankController.normal.fillTank1.newActive,tankController.normal.fillTank2.newActive,tankController.normal.emptyTank2.newActive,tankController.normal.wait1.newActive,tankController.normal.wait2.newActive,tankController.normal.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) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (212): * Single equations (assignments): 176 * Array equations: 0 * Algorithm blocks: 3 * Record equations: 6 * When equations: 24 * 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.002071/0.4966, allocations: 0.8513 MB / 0.5326 GB, free: 6.465 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.005595/0.5022, allocations: 2.822 MB / 0.5354 GB, free: 3.605 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 9.668e-06/0.5023, allocations: 7.766 kB / 0.5354 GB, free: 3.598 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003139/0.5054, allocations: 1.709 MB / 0.5371 GB, free: 1.859 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003304/0.5087, allocations: 0.7752 MB / 0.5378 GB, free: 1.102 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1874/0.6962, allocations: 4.441 MB / 0.5422 GB, free: 128.8 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001057/0.6973, allocations: 1.587 MB / 0.5437 GB, free: 128.1 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.001731/0.699, allocations: 0.5408 MB / 0.5442 GB, free: 128 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005205/0.6995, allocations: 223.4 kB / 0.5445 GB, free: 128 MB / 462.1 MB Notification: Performance of SimCode: time 7.42e-07/0.6995, allocations: 0 / 0.5445 GB, free: 128 MB / 462.1 MB Notification: Performance of Templates: time 0.05744/0.757, allocations: 43.66 MB / 0.5871 GB, free: 90.55 MB / 462.1 MB make -j1 -f Modelica_trunk_Modelica.Fluid.Examples.ControlledTankSystem.ControlledTanks.makefile (rm -f Modelica_trunk_Modelica.Fluid.Examples.ControlledTankSystem.ControlledTanks.pipe ; mkfifo Modelica_trunk_Modelica.Fluid.Examples.ControlledTankSystem.ControlledTanks.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Fluid.Examples.ControlledTankSystem.ControlledTanks.pipe >> ../files/Modelica_trunk_Modelica.Fluid.Examples.ControlledTankSystem.ControlledTanks.sim & ./Modelica_trunk_Modelica.Fluid.Examples.ControlledTankSystem.ControlledTanks -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Fluid.Examples.ControlledTankSystem.ControlledTanks.pipe 2>&1) diffSimulationResults("Modelica_trunk_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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Fluid.Examples.ControlledTankSystem.ControlledTanks.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches