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.001126/0.001126, allocations: 118.2 kB / 17.79 MB, free: 5.281 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001317/0.001317, allocations: 202 kB / 18.73 MB, free: 4.34 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.401/1.401, allocations: 227.4 MB / 246.9 MB, free: 10.57 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001082/0.001082, allocations: 55.91 kB / 358.7 MB, free: 12.94 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2603/0.2614, allocations: 50.56 MB / 409.2 MB, free: 1.746 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Fluid.Examples.ControlledTankSystem.ControlledTanks): time 0.0259/0.2873, allocations: 27.94 MB / 437.2 MB, free: 5.691 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01165/0.299, allocations: 7.576 MB / 444.8 MB, free: 14.1 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002582/0.3016, allocations: 51.69 kB / 444.8 MB, free: 14.05 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002509/0.3042, allocations: 1.014 MB / 445.8 MB, free: 13.03 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003601/0.3078, allocations: 1.597 MB / 447.4 MB, free: 11.42 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004931/0.3128, allocations: 2.161 MB / 449.6 MB, free: 9.273 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.006626/0.3194, allocations: 5.058 MB / 454.6 MB, free: 4.203 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003388/0.3228, allocations: 2.093 MB / 456.7 MB, free: 2.07 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003354/0.3262, allocations: 1.791 MB / 458.5 MB, free: 280 kB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002465/0.3287, allocations: 1.661 MB / 460.2 MB, free: 14.61 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005373/0.3292, allocations: 308 kB / 460.5 MB, free: 14.3 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00236/0.3316, allocations: 0.9364 MB / 461.4 MB, free: 13.37 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001005/0.3326, allocations: 0.8492 MB / 462.3 MB, free: 12.52 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001967/0.3346, allocations: 1.411 MB / 463.7 MB, free: 11.1 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005488/0.3401, allocations: 4.198 MB / 467.9 MB, free: 6.891 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.38e-06/0.3401, allocations: 0 / 467.9 MB, free: 6.891 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.194e-06/0.3401, allocations: 4 kB / 467.9 MB, free: 6.887 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.559e-05/0.3402, allocations: 0 / 467.9 MB, free: 6.887 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.006598/0.3468, allocations: 3.121 MB / 471 MB, free: 3.625 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.249e-05/0.3469, allocations: 15.97 kB / 471 MB, free: 3.609 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001465/0.3483, allocations: 333.8 kB / 471.4 MB, free: 3.281 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002326/0.3507, allocations: 1.476 MB / 472.8 MB, free: 1.75 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002483/0.3509, allocations: 307.5 kB / 473.1 MB, free: 1.426 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000308/0.3513, allocations: 220 kB / 473.3 MB, free: 1.211 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004558/0.3558, allocations: 2.757 MB / 476.1 MB, free: 14.29 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.592e-05/0.3559, allocations: 3.938 kB / 476.1 MB, free: 14.29 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002182/0.3561, allocations: 88 kB / 476.2 MB, free: 14.2 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001055/0.3562, allocations: 103.7 kB / 476.3 MB, free: 14.1 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003772/0.36, allocations: 2.189 MB / 478.5 MB, free: 11.91 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.01544/0.3755, allocations: 11.2 MB / 489.7 MB, free: 312 kB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003447/0.3789, allocations: 2.024 MB / 491.7 MB, free: 14.13 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001817/0.3808, allocations: 1.079 MB / 492.8 MB, free: 13.03 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.008542/0.3894, allocations: 5.327 MB / 498.1 MB, free: 7.379 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002436/0.3918, allocations: 1.516 MB / 499.6 MB, free: 5.773 MB / 414.1 MB Notification: Performance of pre-optimization done (n=205): time 4.689e-06/0.3919, allocations: 0 / 499.6 MB, free: 5.773 MB / 414.1 MB Notification: Performance of matching and sorting (n=215): time 0.01572/0.4076, allocations: 8.512 MB / 0.4962 GB, free: 13.07 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003606/0.408, allocations: 0.7675 MB / 0.497 GB, free: 12.13 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002143/0.4101, allocations: 1.663 MB / 0.4986 GB, free: 10.45 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002569/0.4104, allocations: 129.7 kB / 0.4987 GB, free: 10.32 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007274/0.4111, allocations: 0.8968 MB / 0.4996 GB, free: 9.41 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005553/0.4117, allocations: 0.6013 MB / 0.5002 GB, free: 8.801 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007812/0.4125, allocations: 0.5562 MB / 0.5007 GB, free: 8.238 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.000119/0.4126, allocations: 301.1 kB / 0.501 GB, free: 7.941 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001707/0.4143, allocations: 0.9618 MB / 0.502 GB, free: 6.977 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002286/0.4166, allocations: 1.674 MB / 0.5036 GB, free: 5.004 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003794/0.4204, allocations: 2.57 MB / 0.5061 GB, free: 2.141 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.469e-05/0.4205, allocations: 12 kB / 0.5061 GB, free: 2.129 MB / 430.1 MB Notification: Performance of matching and sorting (n=350) (initialization): time 0.005697/0.4262, allocations: 3.126 MB / 0.5092 GB, free: 14.96 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001167/0.4263, allocations: 111.9 kB / 0.5093 GB, free: 14.84 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.412e-05/0.4263, allocations: 20 kB / 0.5093 GB, free: 14.82 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001249/0.4276, allocations: 0.5808 MB / 0.5099 GB, free: 14.23 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001373/0.429, allocations: 395.2 kB / 0.5102 GB, free: 13.84 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002211/0.4312, allocations: 2.266 MB / 0.5125 GB, free: 11.5 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001576/0.4328, allocations: 120 kB / 0.5126 GB, free: 11.38 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002158/0.433, allocations: 124 kB / 0.5127 GB, free: 11.26 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.001355/0.4344, allocations: 0.8168 MB / 0.5135 GB, free: 10.41 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004438/0.4348, allocations: 213.5 kB / 0.5137 GB, free: 10.2 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005651/0.4405, allocations: 3.015 MB / 0.5166 GB, free: 7.141 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.121e-05/0.4405, allocations: 27.98 kB / 0.5167 GB, free: 7.113 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.048e-05/0.4406, allocations: 4 kB / 0.5167 GB, free: 7.109 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.092e-05/0.4406, allocations: 7.969 kB / 0.5167 GB, free: 7.102 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008659/0.4492, allocations: 5.403 MB / 0.5219 GB, free: 1.613 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.124e-05/0.4493, allocations: 4 kB / 0.5219 GB, free: 1.609 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001052/0.4503, allocations: 243.6 kB / 0.5222 GB, free: 1.371 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00111/0.4515, allocations: 0.5606 MB / 0.5227 GB, free: 0.8008 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001542/0.4516, allocations: 63.95 kB / 0.5228 GB, free: 0.7383 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002151/0.4538, allocations: 2.227 MB / 0.525 GB, free: 14.43 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.251e-06/0.4538, allocations: 7.969 kB / 0.525 GB, free: 14.43 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006741/0.4606, allocations: 4.187 MB / 0.5291 GB, free: 10.17 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001055/0.4616, allocations: 0.5178 MB / 0.5296 GB, free: 9.629 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00039/0.462, allocations: 79.97 kB / 0.5296 GB, free: 9.551 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001164/0.4632, allocations: 99.92 kB / 0.5297 GB, free: 9.453 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005439/0.4638, allocations: 257.6 kB / 0.53 GB, free: 9.203 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001873/0.464, allocations: 83.95 kB / 0.5301 GB, free: 9.121 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.001478/0.4654, allocations: 1.059 MB / 0.5311 GB, free: 8.066 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.4655, allocations: 0 / 0.5311 GB, free: 8.066 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.002087/0.4675, allocations: 0.6915 MB / 0.5318 GB, free: 7.375 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.001909/0.4695, allocations: 0.8458 MB / 0.5326 GB, free: 6.66 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.005227/0.4747, allocations: 2.814 MB / 0.5353 GB, free: 3.809 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 1.896e-05/0.4747, allocations: 7.766 kB / 0.5354 GB, free: 3.801 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003085/0.4778, allocations: 1.709 MB / 0.537 GB, free: 2.062 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003615/0.4815, allocations: 0.7741 MB / 0.5378 GB, free: 1.305 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2223/0.7037, allocations: 4.44 MB / 0.5421 GB, free: 129.2 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00112/0.7049, allocations: 1.594 MB / 0.5437 GB, free: 128.5 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.001873/0.7068, allocations: 0.5493 MB / 0.5442 GB, free: 128.5 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005189/0.7073, allocations: 216.3 kB / 0.5444 GB, free: 128.5 MB / 462.1 MB Notification: Performance of SimCode: time 6.81e-07/0.7073, allocations: 0 / 0.5444 GB, free: 128.5 MB / 462.1 MB Notification: Performance of Templates: time 0.05244/0.7598, allocations: 43.65 MB / 0.587 GB, free: 91.36 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