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.001291/0.001291, allocations: 115.8 kB / 18.4 MB, free: 4.754 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001213/0.001214, allocations: 203.4 kB / 19.35 MB, free: 3.809 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.338/1.338, allocations: 227.4 MB / 247.5 MB, free: 10.36 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001235/0.001235, allocations: 59.19 kB / 308.4 MB, free: 15.88 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09658/0.09783, allocations: 50.53 MB / 358.9 MB, free: 13.33 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Fluid.Examples.ControlledTankSystem.ControlledTanks): time 0.181/0.2789, allocations: 27.95 MB / 386.8 MB, free: 5.672 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.01024/0.2892, allocations: 7.58 MB / 394.4 MB, free: 400 kB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00166/0.2908, allocations: 52.28 kB / 394.5 MB, free: 380 kB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002409/0.2933, allocations: 1.014 MB / 395.5 MB, free: 15.86 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004098/0.2974, allocations: 1.603 MB / 397.1 MB, free: 14.92 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005439/0.3029, allocations: 2.162 MB / 399.3 MB, free: 13.49 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.006506/0.3094, allocations: 5.041 MB / 404.3 MB, free: 10.49 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003053/0.3125, allocations: 2.109 MB / 406.4 MB, free: 9.121 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003015/0.3155, allocations: 1.774 MB / 408.2 MB, free: 8.078 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002668/0.3182, allocations: 1.659 MB / 409.8 MB, free: 6.984 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004491/0.3186, allocations: 311.8 kB / 410.1 MB, free: 6.984 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002101/0.3208, allocations: 0.9359 MB / 411.1 MB, free: 6.652 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007988/0.3216, allocations: 0.8605 MB / 411.9 MB, free: 5.965 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001431/0.323, allocations: 1.4 MB / 413.3 MB, free: 4.559 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00442/0.3274, allocations: 4.173 MB / 417.5 MB, free: 384 kB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.988e-06/0.3275, allocations: 0 / 417.5 MB, free: 384 kB / 318.1 MB Notification: Performance of FrontEnd: time 2.114e-06/0.3275, allocations: 0 / 417.5 MB, free: 384 kB / 318.1 MB Notification: Performance of Transformations before backend: time 5.475e-05/0.3275, allocations: 0 / 417.5 MB, free: 384 kB / 318.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.005818/0.3333, allocations: 3.125 MB / 420.6 MB, free: 13.11 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.959e-05/0.3334, allocations: 12.03 kB / 420.6 MB, free: 13.1 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001383/0.3348, allocations: 329.7 kB / 421 MB, free: 12.77 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002502/0.3373, allocations: 1.476 MB / 422.4 MB, free: 11.24 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002736/0.3376, allocations: 307.6 kB / 422.7 MB, free: 10.91 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003585/0.338, allocations: 224 kB / 423 MB, free: 10.7 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004465/0.3424, allocations: 2.75 MB / 425.7 MB, free: 7.781 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.792e-05/0.3425, allocations: 11.94 kB / 425.7 MB, free: 7.77 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000206/0.3427, allocations: 95.91 kB / 425.8 MB, free: 7.676 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001026/0.3428, allocations: 99.69 kB / 425.9 MB, free: 7.578 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003626/0.3465, allocations: 2.189 MB / 428.1 MB, free: 5.387 MB / 334.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.0143/0.3608, allocations: 11.18 MB / 439.3 MB, free: 9.797 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002681/0.3635, allocations: 2.033 MB / 441.3 MB, free: 7.629 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001536/0.365, allocations: 1.075 MB / 442.4 MB, free: 6.531 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00728/0.3723, allocations: 5.327 MB / 447.7 MB, free: 0.8711 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002142/0.3745, allocations: 1.523 MB / 449.2 MB, free: 15.26 MB / 366.1 MB Notification: Performance of pre-optimization done (n=205): time 3.507e-06/0.3745, allocations: 3.938 kB / 449.2 MB, free: 15.25 MB / 366.1 MB Notification: Performance of matching and sorting (n=215): time 0.01483/0.3893, allocations: 8.508 MB / 457.8 MB, free: 6.559 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003614/0.3897, allocations: 0.7594 MB / 458.5 MB, free: 5.625 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002089/0.3918, allocations: 1.663 MB / 460.2 MB, free: 3.949 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002446/0.3921, allocations: 129.7 kB / 460.3 MB, free: 3.816 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006868/0.3928, allocations: 0.9008 MB / 461.2 MB, free: 2.902 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000521/0.3933, allocations: 0.6052 MB / 461.8 MB, free: 2.289 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007934/0.3941, allocations: 0.5601 MB / 462.4 MB, free: 1.723 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 9.126e-05/0.3942, allocations: 301.1 kB / 462.7 MB, free: 1.426 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00163/0.3958, allocations: 0.954 MB / 463.6 MB, free: 480 kB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002171/0.398, allocations: 1.682 MB / 465.3 MB, free: 14.49 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003525/0.4015, allocations: 2.567 MB / 467.9 MB, free: 11.63 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.884e-05/0.4016, allocations: 4 kB / 467.9 MB, free: 11.63 MB / 382.1 MB Notification: Performance of matching and sorting (n=350) (initialization): time 0.005395/0.407, allocations: 3.142 MB / 471 MB, free: 8.453 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001075/0.4071, allocations: 109.1 kB / 471.1 MB, free: 8.328 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.002e-05/0.4071, allocations: 16 kB / 471.1 MB, free: 8.312 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001205/0.4083, allocations: 0.5724 MB / 471.7 MB, free: 7.73 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001415/0.4098, allocations: 399.2 kB / 472.1 MB, free: 7.34 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002188/0.412, allocations: 2.266 MB / 474.4 MB, free: 4.996 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001586/0.4136, allocations: 131.9 kB / 474.5 MB, free: 4.867 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002182/0.4138, allocations: 116 kB / 474.6 MB, free: 4.754 MB / 382.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.001258/0.4151, allocations: 0.8013 MB / 475.4 MB, free: 3.914 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004001/0.4155, allocations: 221.5 kB / 475.6 MB, free: 3.695 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005258/0.4207, allocations: 3.019 MB / 478.6 MB, free: 0.6367 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.536e-05/0.4208, allocations: 27.98 kB / 478.7 MB, free: 0.6094 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.869e-06/0.4208, allocations: 4 kB / 478.7 MB, free: 0.6055 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.904e-05/0.4208, allocations: 7.969 kB / 478.7 MB, free: 0.5977 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008557/0.4294, allocations: 5.41 MB / 484.1 MB, free: 11.09 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.937e-06/0.4294, allocations: 0 / 484.1 MB, free: 11.09 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001023/0.4305, allocations: 243.6 kB / 484.3 MB, free: 10.86 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001042/0.4315, allocations: 0.5567 MB / 484.9 MB, free: 10.29 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001525/0.4317, allocations: 67.95 kB / 485 MB, free: 10.22 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001947/0.4336, allocations: 2.239 MB / 487.2 MB, free: 7.906 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.565e-06/0.4337, allocations: 0 / 487.2 MB, free: 7.906 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006272/0.4399, allocations: 4.19 MB / 491.4 MB, free: 3.648 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001119/0.4411, allocations: 0.5101 MB / 491.9 MB, free: 3.117 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000359/0.4414, allocations: 83.88 kB / 492 MB, free: 3.035 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001109/0.4426, allocations: 100.2 kB / 492.1 MB, free: 2.938 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004799/0.4431, allocations: 253.6 kB / 492.3 MB, free: 2.688 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001764/0.4432, allocations: 87.95 kB / 492.4 MB, free: 2.602 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.001329/0.4446, allocations: 1.063 MB / 493.5 MB, free: 1.543 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.8e-07/0.4446, allocations: 0 / 493.5 MB, free: 1.543 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.001849/0.4464, allocations: 0.6834 MB / 494.2 MB, free: 0.8594 MB / 398.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.001706/0.4482, allocations: 0.85 MB / 495 MB, free: 140 kB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.00478/0.453, allocations: 2.814 MB / 497.8 MB, free: 13.29 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 5.891e-06/0.453, allocations: 4.812 kB / 497.8 MB, free: 13.29 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002837/0.4558, allocations: 1.712 MB / 499.5 MB, free: 11.54 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002915/0.4587, allocations: 0.7719 MB / 0.4886 GB, free: 10.79 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007612/0.4664, allocations: 4.449 MB / 0.4929 GB, free: 6.285 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001078/0.4675, allocations: 1.595 MB / 0.4945 GB, free: 4.652 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.001594/0.4691, allocations: 0.5485 MB / 0.495 GB, free: 4.102 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005447/0.4696, allocations: 215.4 kB / 0.4952 GB, free: 3.891 MB / 414.1 MB Notification: Performance of SimCode: time 5.71e-07/0.4696, allocations: 0 / 0.4952 GB, free: 3.891 MB / 414.1 MB Notification: Performance of Templates: time 0.2187/0.6883, allocations: 43.21 MB / 0.5374 GB, free: 146.4 MB / 446.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 -s gbode -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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Fluid/Examples/ControlledTankSystem/ControlledTanks/ControlledTanks.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Fluid.Examples.ControlledTankSystem.ControlledTanks.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches