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.000845/0.000845, allocations: 94 kB / 17.35 MB, free: 6.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009327/0.000933, allocations: 200.6 kB / 18.28 MB, free: 5.477 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.335/1.335, allocations: 227.7 MB / 246.8 MB, free: 11.39 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002209/0.0002209, allocations: 8 kB / 307.7 MB, free: 0.8164 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1076/0.1078, allocations: 51.52 MB / 359.3 MB, free: 13.3 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Fluid.Examples.ControlledTankSystem.ControlledTanks): time 0.2072/0.3151, allocations: 28.15 MB / 387.4 MB, free: 5.684 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.01054/0.3256, allocations: 7.781 MB / 395.2 MB, free: 0.707 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001844/0.3275, allocations: 64.38 kB / 395.2 MB, free: 0.6758 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002542/0.3301, allocations: 0.8828 MB / 396.1 MB, free: 288 kB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004132/0.3342, allocations: 1.471 MB / 397.6 MB, free: 15.45 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005271/0.3395, allocations: 1.964 MB / 399.6 MB, free: 14.31 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.007762/0.3473, allocations: 6.03 MB / 405.6 MB, free: 11.02 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00293/0.3502, allocations: 1.766 MB / 407.4 MB, free: 9.938 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002523/0.3528, allocations: 1.456 MB / 408.8 MB, free: 9.168 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001907/0.3547, allocations: 1.525 MB / 410.3 MB, free: 8.223 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002996/0.355, allocations: 119.5 kB / 410.5 MB, free: 8.223 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001997/0.357, allocations: 0.7579 MB / 411.2 MB, free: 7.746 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007365/0.3578, allocations: 0.6617 MB / 411.9 MB, free: 7.082 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001475/0.3592, allocations: 1.202 MB / 413.1 MB, free: 5.867 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004541/0.3638, allocations: 3.833 MB / 416.9 MB, free: 2.023 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.929e-06/0.3638, allocations: 0 / 416.9 MB, free: 2.023 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.734e-06/0.3638, allocations: 0 / 416.9 MB, free: 2.023 MB / 318.1 MB Notification: Performance of Transformations before backend: time 7.405e-05/0.3639, allocations: 0 / 416.9 MB, free: 2.023 MB / 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.004965/0.3689, allocations: 2.565 MB / 419.5 MB, free: 15.32 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.801e-05/0.3689, allocations: 12.03 kB / 419.5 MB, free: 15.31 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001361/0.3703, allocations: 329.7 kB / 419.8 MB, free: 14.99 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00209/0.3724, allocations: 1.425 MB / 421.2 MB, free: 13.5 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002468/0.3727, allocations: 311.6 kB / 421.5 MB, free: 13.17 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003334/0.373, allocations: 224 kB / 421.8 MB, free: 12.95 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004442/0.3775, allocations: 2.749 MB / 424.5 MB, free: 10.04 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.887e-05/0.3775, allocations: 7.938 kB / 424.5 MB, free: 10.04 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000234/0.3778, allocations: 99.97 kB / 424.6 MB, free: 9.938 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001095/0.3779, allocations: 99.69 kB / 424.7 MB, free: 9.84 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003758/0.3816, allocations: 2.189 MB / 426.9 MB, free: 7.648 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.01408/0.3957, allocations: 11.29 MB / 438.2 MB, free: 11.95 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002857/0.3986, allocations: 2.028 MB / 440.2 MB, free: 9.781 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001647/0.4003, allocations: 1.087 MB / 441.3 MB, free: 8.676 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007414/0.4077, allocations: 5.354 MB / 446.7 MB, free: 2.992 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002168/0.4099, allocations: 1.512 MB / 448.2 MB, free: 1.391 MB / 350.1 MB Notification: Performance of pre-optimization done (n=205): time 3.246e-06/0.4099, allocations: 0 / 448.2 MB, free: 1.391 MB / 350.1 MB Notification: Performance of matching and sorting (n=215): time 0.01504/0.4249, allocations: 8.55 MB / 456.7 MB, free: 8.652 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003448/0.4253, allocations: 0.7633 MB / 457.5 MB, free: 7.719 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002156/0.4275, allocations: 1.663 MB / 459.1 MB, free: 6.043 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002816/0.4278, allocations: 129.7 kB / 459.3 MB, free: 5.91 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007165/0.4285, allocations: 0.8968 MB / 460.2 MB, free: 5 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005467/0.4291, allocations: 0.613 MB / 460.8 MB, free: 4.379 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003781/0.4294, allocations: 311.2 kB / 461.1 MB, free: 4.07 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 9.013e-05/0.4295, allocations: 301.1 kB / 461.4 MB, free: 3.773 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001693/0.4312, allocations: 0.954 MB / 462.3 MB, free: 2.816 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002195/0.4334, allocations: 1.678 MB / 464 MB, free: 0.8438 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003633/0.4371, allocations: 2.578 MB / 466.6 MB, free: 13.97 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.788e-06/0.4371, allocations: 4 kB / 466.6 MB, free: 13.97 MB / 382.1 MB Notification: Performance of matching and sorting (n=350) (initialization): time 0.005395/0.4425, allocations: 3.131 MB / 469.7 MB, free: 10.8 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.103e-05/0.4426, allocations: 109.2 kB / 469.8 MB, free: 10.68 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.416e-05/0.4427, allocations: 20 kB / 469.9 MB, free: 10.66 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001205/0.4439, allocations: 0.5801 MB / 470.4 MB, free: 10.07 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001381/0.4453, allocations: 387.2 kB / 470.8 MB, free: 9.688 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002137/0.4474, allocations: 2.262 MB / 473.1 MB, free: 7.348 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00157/0.449, allocations: 171.7 kB / 473.2 MB, free: 7.18 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002105/0.4492, allocations: 120 kB / 473.4 MB, free: 7.062 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.condition,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.condition,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.condition,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.condition,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.001249/0.4505, allocations: 0.8093 MB / 474.2 MB, free: 6.215 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003319/0.4508, allocations: 205.6 kB / 474.4 MB, free: 6.012 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005378/0.4562, allocations: 3.027 MB / 477.4 MB, free: 2.945 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.023e-05/0.4562, allocations: 39.92 kB / 477.4 MB, free: 2.906 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.027e-06/0.4563, allocations: 0 / 477.4 MB, free: 2.906 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.338e-05/0.4563, allocations: 11.97 kB / 477.4 MB, free: 2.895 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008777/0.4651, allocations: 5.444 MB / 482.9 MB, free: 13.36 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.099e-05/0.4651, allocations: 0 / 482.9 MB, free: 13.36 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001062/0.4662, allocations: 239.6 kB / 483.1 MB, free: 13.12 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001139/0.4673, allocations: 0.5644 MB / 483.7 MB, free: 12.55 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001547/0.4675, allocations: 63.95 kB / 483.8 MB, free: 12.49 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002064/0.4696, allocations: 2.231 MB / 486 MB, free: 10.18 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.655e-06/0.4696, allocations: 4.125 kB / 486 MB, free: 10.18 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006707/0.4763, allocations: 4.188 MB / 490.2 MB, free: 5.922 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00107/0.4774, allocations: 0.5373 MB / 490.7 MB, free: 5.363 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003849/0.4778, allocations: 71.98 kB / 490.8 MB, free: 5.293 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001267/0.4791, allocations: 143.8 kB / 490.9 MB, free: 5.152 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005213/0.4796, allocations: 253.8 kB / 491.2 MB, free: 4.902 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001804/0.4798, allocations: 87.95 kB / 491.3 MB, free: 4.816 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.001479/0.4813, allocations: 1.055 MB / 492.3 MB, free: 3.766 MB / 398.1 MB Notification: Performance of sort global known variables: time 2.4e-07/0.4813, allocations: 4 kB / 492.3 MB, free: 3.762 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.002137/0.4835, allocations: 0.6873 MB / 493 MB, free: 3.074 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.localActive,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.active,tankController.normal.fillTank1.newActive,tankController.normal.fillTank1.oldActive,tankController.normal.T1.condition,tankController.normal.T1.enableFire,tankController.normal.fillTank2.active,tankController.normal.fillTank2.newActive,tankController.normal.fillTank2.oldActive,tankController.normal.T3.condition,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.condition,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.condition,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.001964/0.4854, allocations: 0.8484 MB / 493.9 MB, free: 2.359 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.005329/0.4908, allocations: 2.802 MB / 496.7 MB, free: 15.52 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 8.035e-06/0.4908, allocations: 5.812 kB / 496.7 MB, free: 15.52 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003226/0.494, allocations: 1.697 MB / 498.4 MB, free: 13.79 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004282/0.4983, allocations: 0.7235 MB / 499.1 MB, free: 13.07 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009159/0.5075, allocations: 5.416 MB / 0.4927 GB, free: 7.602 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001382/0.5089, allocations: 1.587 MB / 0.4942 GB, free: 5.977 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.001994/0.5109, allocations: 0.537 MB / 0.4947 GB, free: 5.438 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008308/0.5118, allocations: 219.4 kB / 0.495 GB, free: 5.223 MB / 414.1 MB Notification: Performance of SimCode: time 2.815e-06/0.5118, allocations: 0 / 0.495 GB, free: 5.223 MB / 414.1 MB Notification: Performance of Templates: time 0.2172/0.729, allocations: 40.45 MB / 0.5345 GB, free: 149.5 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 -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