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/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 4.0.0+maint.om/package.mo", uses=false) 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) 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_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") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001401/0.001401, allocations: 109.1 kB / 17.06 MB, free: 6.023 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.001542/0.001541, allocations: 191 kB / 17.99 MB, free: 5.109 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.437/1.437, allocations: 222.9 MB / 241.7 MB, free: 15.14 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00108/0.00108, allocations: 43.92 kB / 351.3 MB, free: 3.234 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2723/0.2734, allocations: 49.43 MB / 400.7 MB, free: 8.742 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Fluid.Examples.ControlledTankSystem.ControlledTanks): time 0.03005/0.3034, allocations: 27.77 MB / 428.5 MB, free: 13 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01191/0.3154, allocations: 7.494 MB / 436 MB, free: 5.48 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001598/0.317, allocations: 47.75 kB / 436 MB, free: 5.434 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002408/0.3194, allocations: 1.012 MB / 437 MB, free: 4.418 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003882/0.3233, allocations: 1.578 MB / 438.6 MB, free: 2.832 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005481/0.3288, allocations: 2.249 MB / 440.9 MB, free: 0.6016 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.00609/0.3349, allocations: 5.02 MB / 445.9 MB, free: 11.57 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00318/0.3381, allocations: 2.077 MB / 448 MB, free: 9.449 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003279/0.3414, allocations: 1.779 MB / 449.7 MB, free: 7.664 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002355/0.3438, allocations: 1.646 MB / 451.4 MB, free: 6.012 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004459/0.3442, allocations: 308 kB / 451.7 MB, free: 5.711 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001991/0.3462, allocations: 0.9404 MB / 452.6 MB, free: 4.77 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007911/0.347, allocations: 0.8531 MB / 453.5 MB, free: 3.914 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00156/0.3486, allocations: 1.4 MB / 454.9 MB, free: 2.508 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004721/0.3533, allocations: 4.182 MB / 459.1 MB, free: 14.32 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.499e-06/0.3534, allocations: 0 / 459.1 MB, free: 14.32 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.623e-06/0.3534, allocations: 0 / 459.1 MB, free: 14.32 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.392e-05/0.3534, allocations: 0 / 459.1 MB, free: 14.32 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.006557/0.36, allocations: 3.106 MB / 462.2 MB, free: 11.07 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.835e-05/0.36, allocations: 8.031 kB / 462.2 MB, free: 11.07 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007953/0.3608, allocations: 289.8 kB / 462.5 MB, free: 10.78 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002199/0.3631, allocations: 1.476 MB / 463.9 MB, free: 9.25 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002441/0.3633, allocations: 311.4 kB / 464.2 MB, free: 8.922 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003191/0.3636, allocations: 220 kB / 464.5 MB, free: 8.707 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004792/0.3684, allocations: 2.769 MB / 467.2 MB, free: 5.773 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.745e-05/0.3685, allocations: 7.938 kB / 467.2 MB, free: 5.766 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002435/0.3688, allocations: 91.98 kB / 467.3 MB, free: 5.676 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001134/0.3689, allocations: 99.69 kB / 467.4 MB, free: 5.578 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004101/0.373, allocations: 2.2 MB / 469.6 MB, free: 3.375 MB / 382.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.01466/0.3877, allocations: 10.27 MB / 479.9 MB, free: 8.73 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003058/0.3908, allocations: 2.065 MB / 481.9 MB, free: 6.531 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001712/0.3925, allocations: 1.095 MB / 483 MB, free: 5.414 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.008233/0.4008, allocations: 5.483 MB / 488.5 MB, free: 15.58 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002362/0.4031, allocations: 1.531 MB / 490.1 MB, free: 13.96 MB / 414.1 MB Notification: Performance of pre-optimization done (n=207): time 3.887e-06/0.4032, allocations: 0 / 490.1 MB, free: 13.96 MB / 414.1 MB Notification: Performance of matching and sorting (n=217): time 0.01536/0.4185, allocations: 8.501 MB / 498.6 MB, free: 5.27 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003862/0.4189, allocations: 0.7635 MB / 499.3 MB, free: 4.336 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002211/0.4212, allocations: 1.641 MB / 0.4892 GB, free: 2.68 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002821/0.4215, allocations: 125.7 kB / 0.4893 GB, free: 2.551 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007769/0.4223, allocations: 0.8811 MB / 0.4902 GB, free: 1.656 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006184/0.4229, allocations: 0.6013 MB / 0.4908 GB, free: 1.047 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008112/0.4237, allocations: 0.5679 MB / 0.4913 GB, free: 484 kB / 414.1 MB Notification: Performance of setup shared object (initialization): time 9.905e-05/0.4238, allocations: 301.1 kB / 0.4916 GB, free: 180 kB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001747/0.4256, allocations: 0.9618 MB / 0.4926 GB, free: 15.21 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00228/0.4279, allocations: 1.693 MB / 0.4942 GB, free: 13.22 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003651/0.4315, allocations: 2.575 MB / 0.4967 GB, free: 10.36 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.274e-05/0.4315, allocations: 8 kB / 0.4967 GB, free: 10.35 MB / 430.1 MB Notification: Performance of matching and sorting (n=352) (initialization): time 0.005643/0.4372, allocations: 3.189 MB / 0.4999 GB, free: 7.129 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.03e-05/0.4373, allocations: 109.2 kB / 0.5 GB, free: 7.004 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.019e-05/0.4373, allocations: 24 kB / 0.5 GB, free: 6.98 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001168/0.4385, allocations: 0.584 MB / 0.5006 GB, free: 6.387 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001414/0.4399, allocations: 403.1 kB / 0.5009 GB, free: 5.992 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002214/0.4422, allocations: 2.258 MB / 0.5031 GB, free: 3.656 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001699/0.4439, allocations: 123.9 kB / 0.5033 GB, free: 3.535 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002337/0.4441, allocations: 132 kB / 0.5034 GB, free: 3.406 MB / 430.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: 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],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.start.table.combiTimeTable.nextTimeEvent,$whenCondition12,$PRE.stop.table.combiTimeTable.nextTimeEvent,$whenCondition11,$PRE.shut.table.combiTimeTable.nextTimeEvent,$whenCondition10,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],$whenCondition6,$whenCondition4,$whenCondition5,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],$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 (325): * Single equations (assignments): 319 * 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.001503/0.4456, allocations: 0.8022 MB / 0.5042 GB, free: 2.566 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005104/0.4461, allocations: 209.8 kB / 0.5044 GB, free: 2.359 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005663/0.4518, allocations: 3.078 MB / 0.5074 GB, free: 15.23 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.888e-05/0.4519, allocations: 31.98 kB / 0.5074 GB, free: 15.2 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.12e-05/0.4519, allocations: 7.938 kB / 0.5074 GB, free: 15.2 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.412e-05/0.4519, allocations: 15.89 kB / 0.5074 GB, free: 15.18 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009705/0.4616, allocations: 5.484 MB / 0.5128 GB, free: 9.613 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.246e-05/0.4617, allocations: 3.938 kB / 0.5128 GB, free: 9.609 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001115/0.4628, allocations: 251.6 kB / 0.513 GB, free: 9.363 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001173/0.464, allocations: 0.5684 MB / 0.5136 GB, free: 8.785 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000219/0.4642, allocations: 67.95 kB / 0.5137 GB, free: 8.719 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002667/0.4669, allocations: 2.223 MB / 0.5158 GB, free: 6.418 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.342e-06/0.4669, allocations: 4 kB / 0.5158 GB, free: 6.414 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007864/0.4748, allocations: 4.277 MB / 0.52 GB, free: 2.023 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001261/0.4761, allocations: 0.5294 MB / 0.5205 GB, free: 1.473 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006232/0.4767, allocations: 79.97 kB / 0.5206 GB, free: 1.395 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001453/0.4782, allocations: 103.9 kB / 0.5207 GB, free: 1.293 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005945/0.4788, allocations: 257.7 kB / 0.5209 GB, free: 1.039 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002554/0.4791, allocations: 91.89 kB / 0.521 GB, free: 0.9492 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.001873/0.481, allocations: 1.039 MB / 0.522 GB, free: 15.91 MB / 462.1 MB Notification: Performance of sort global known variables: time 2e-07/0.481, allocations: 4 kB / 0.522 GB, free: 15.91 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.002459/0.4834, allocations: 0.6951 MB / 0.5227 GB, free: 15.21 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: 120 (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,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,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.pre_reset[2],shut.pre_reset[1],shut.reset[1],shut.reset[2],shut.table.y,$whenCondition6,stop.on,$whenCondition5,$whenCondition4,stop.pre_reset[2],stop.pre_reset[1],stop.reset[1],stop.reset[2],stop.table.y,$whenCondition3,start.on,$whenCondition2,$whenCondition1,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 (219): * Single equations (assignments): 183 * 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.002119/0.4856, allocations: 0.8536 MB / 0.5236 GB, free: 14.52 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.005647/0.4912, allocations: 2.85 MB / 0.5263 GB, free: 11.63 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 9.898e-06/0.4913, allocations: 4 kB / 0.5263 GB, free: 11.62 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003337/0.4946, allocations: 1.732 MB / 0.528 GB, free: 9.855 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004062/0.4987, allocations: 0.7675 MB / 0.5288 GB, free: 9.102 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009625/0.5083, allocations: 4.465 MB / 0.5332 GB, free: 4.586 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001673/0.51, allocations: 1.587 MB / 0.5347 GB, free: 2.961 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.002291/0.5124, allocations: 0.5606 MB / 0.5352 GB, free: 2.398 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008521/0.5132, allocations: 231.3 kB / 0.5355 GB, free: 2.172 MB / 462.1 MB Notification: Performance of SimCode: time 9.01e-07/0.5132, allocations: 0 / 0.5355 GB, free: 2.172 MB / 462.1 MB Notification: Performance of Templates: time 0.2535/0.7667, allocations: 44.02 MB / 0.5785 GB, free: 103 MB / 462.1 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Fluid.Examples.ControlledTankSystem.ControlledTanks.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches