Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.StateGraph.Examples.ControlledTanks.conf.json 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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) 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) Running command: translateModel(Modelica.StateGraph.Examples.ControlledTanks,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|tank1.level|tank2.level|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.makeProduct.T1.enableFire|tankController.makeProduct.T2.enableFire|tankController.makeProduct.T3.enableFire|tankController.makeProduct.T4.enableFire",fileNamePrefix="Modelica_trunk_Modelica.StateGraph.Examples.ControlledTanks") translateModel(Modelica.StateGraph.Examples.ControlledTanks,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|tank1.level|tank2.level|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.makeProduct.T1.enableFire|tankController.makeProduct.T2.enableFire|tankController.makeProduct.T3.enableFire|tankController.makeProduct.T4.enableFire",fileNamePrefix="Modelica_trunk_Modelica.StateGraph.Examples.ControlledTanks") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001771/0.001771, allocations: 207.3 kB / 17.99 MB, free: 3.777 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.68/1.68, allocations: 226.7 MB / 245.5 MB, free: 6.977 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001083/0.001083, allocations: 110.2 kB / 296.7 MB, free: 6.453 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001674/0.001674, allocations: 52.06 kB / 356.6 MB, free: 10.6 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3244/0.3261, allocations: 50.46 MB / 407 MB, free: 27.81 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.StateGraph.Examples.ControlledTanks): time 0.005404/0.3316, allocations: 4.021 MB / 411.1 MB, free: 23.78 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.004835/0.3364, allocations: 2.812 MB / 413.9 MB, free: 20.96 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009567/0.3375, allocations: 27.88 kB / 413.9 MB, free: 20.93 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001284/0.3388, allocations: 0.4983 MB / 414.4 MB, free: 20.43 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001094/0.3399, allocations: 420 kB / 414.8 MB, free: 20.02 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002577/0.3425, allocations: 1.003 MB / 415.8 MB, free: 19.03 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.00243/0.3449, allocations: 2.032 MB / 417.8 MB, free: 16.99 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001339/0.3463, allocations: 1.089 MB / 418.9 MB, free: 15.88 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006144/0.3469, allocations: 0.607 MB / 419.5 MB, free: 15.27 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006129/0.3475, allocations: 0.6726 MB / 420.2 MB, free: 14.59 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001498/0.3477, allocations: 92 kB / 420.3 MB, free: 14.5 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004124/0.3481, allocations: 175.9 kB / 420.5 MB, free: 14.33 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002987/0.3484, allocations: 390.6 kB / 420.9 MB, free: 13.95 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0005638/0.349, allocations: 0.6838 MB / 421.5 MB, free: 13.26 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001813/0.3508, allocations: 2.136 MB / 423.7 MB, free: 11.12 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 9.087e-06/0.3509, allocations: 0 / 423.7 MB, free: 11.12 MB / 298.7 MB Notification: Performance of FrontEnd: time 2.134e-06/0.3509, allocations: 3.938 kB / 423.7 MB, free: 11.12 MB / 298.7 MB Notification: Performance of Transformations before backend: time 2.91e-05/0.3509, allocations: 0 / 423.7 MB, free: 11.12 MB / 298.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 319 * Number of variables: 319 Notification: Performance of Generate backend data structure: time 0.00351/0.3544, allocations: 1.925 MB / 425.6 MB, free: 9.074 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.111e-05/0.3545, allocations: 8.031 kB / 425.6 MB, free: 9.066 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003162/0.3548, allocations: 163.1 kB / 425.8 MB, free: 8.906 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001243/0.3561, allocations: 0.9114 MB / 426.7 MB, free: 7.953 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001621/0.3563, allocations: 208.7 kB / 426.9 MB, free: 7.73 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001734/0.3564, allocations: 147.9 kB / 427 MB, free: 7.586 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002172/0.3586, allocations: 1.48 MB / 428.5 MB, free: 5.984 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.982e-05/0.3587, allocations: 7.938 kB / 428.5 MB, free: 5.977 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001099/0.3588, allocations: 63.97 kB / 428.6 MB, free: 5.914 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.888e-05/0.3589, allocations: 46.19 kB / 428.6 MB, free: 5.867 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001557/0.3604, allocations: 0.9921 MB / 429.6 MB, free: 4.867 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005915/0.3664, allocations: 5.55 MB / 435.2 MB, free: 15.15 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002174/0.3686, allocations: 1.266 MB / 436.4 MB, free: 13.75 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009029/0.3695, allocations: 0.538 MB / 437 MB, free: 13.18 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001855/0.3697, allocations: 94.11 kB / 437.1 MB, free: 13.07 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001418/0.3711, allocations: 0.905 MB / 438 MB, free: 12.09 MB / 314.7 MB Notification: Performance of pre-optimization done (n=133): time 3.146e-06/0.3711, allocations: 4 kB / 438 MB, free: 12.09 MB / 314.7 MB Notification: Performance of matching and sorting (n=133): time 0.003253/0.3744, allocations: 1.484 MB / 439.5 MB, free: 10.58 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0004798/0.3749, allocations: 0.6049 MB / 440.1 MB, free: 9.84 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001999/0.3769, allocations: 0.9683 MB / 441 MB, free: 8.863 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003489/0.3773, allocations: 109.7 kB / 441.1 MB, free: 8.75 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007353/0.378, allocations: 0.5205 MB / 441.7 MB, free: 8.219 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004717/0.3785, allocations: 339.7 kB / 442 MB, free: 7.883 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005986/0.3791, allocations: 379.4 kB / 442.4 MB, free: 7.508 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001504/0.3793, allocations: 305.1 kB / 442.7 MB, free: 7.207 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000967/0.3802, allocations: 475.7 kB / 443.1 MB, free: 6.742 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001227/0.3815, allocations: 0.9195 MB / 444 MB, free: 5.641 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002198/0.3837, allocations: 1.381 MB / 445.4 MB, free: 4.07 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.271e-05/0.3837, allocations: 4 kB / 445.4 MB, free: 4.066 MB / 314.7 MB Notification: Performance of matching and sorting (n=226) (initialization): time 0.002981/0.3867, allocations: 1.575 MB / 447 MB, free: 2.465 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001328/0.3869, allocations: 111.9 kB / 447.1 MB, free: 2.34 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.695e-05/0.3869, allocations: 12 kB / 447.1 MB, free: 2.328 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.268e-05/0.3869, allocations: 20 kB / 447.1 MB, free: 2.309 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006123/0.3876, allocations: 188.2 kB / 447.3 MB, free: 2.125 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.547e-05/0.3876, allocations: 27.88 kB / 447.3 MB, free: 2.098 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008523/0.3885, allocations: 150.9 kB / 447.5 MB, free: 1.949 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001341/0.3886, allocations: 75.98 kB / 447.6 MB, free: 1.875 MB / 314.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 53 * Number of states: 0 () * Number of discrete variables: 180 ($PRE.tankController.makeProduct.T1.enableFire,$PRE.tankController.makeProduct.T3.enableFire,$PRE.tankController.makeProduct.T2.enableFire,$PRE.tankController.makeProduct.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],$PRE.shut.table.combiTimeTable.nextTimeEvent,$whenCondition6,$PRE.stop.table.combiTimeTable.nextTimeEvent,$whenCondition5,$PRE.start.table.combiTimeTable.nextTimeEvent,$whenCondition4,stateGraphRoot.activeSteps,valve3.valveControl,valve2.valveControl,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.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.makeProduct.T4.t_start,$PRE.tankController.makeProduct.T4.t_start,tankController.makeProduct.T4.fire,tankController.makeProduct.T4.enableFire,tankController.makeProduct.wait2.oldActive,$PRE.tankController.makeProduct.wait2.oldActive,tankController.makeProduct.wait2.newActive,$PRE.tankController.makeProduct.wait2.newActive,tankController.makeProduct.wait2.localActive,$PRE.tankController.makeProduct.wait2.localActive,tankController.makeProduct.wait2.active,tankController.makeProduct.T2.t_start,$PRE.tankController.makeProduct.T2.t_start,tankController.makeProduct.T2.fire,tankController.makeProduct.T2.enableFire,tankController.makeProduct.wait1.oldActive,$PRE.tankController.makeProduct.wait1.oldActive,tankController.makeProduct.wait1.newActive,$PRE.tankController.makeProduct.wait1.newActive,tankController.makeProduct.wait1.localActive,$PRE.tankController.makeProduct.wait1.localActive,tankController.makeProduct.wait1.active,tankController.makeProduct.emptyTank2.oldActive,$PRE.tankController.makeProduct.emptyTank2.oldActive,tankController.makeProduct.emptyTank2.newActive,$PRE.tankController.makeProduct.emptyTank2.newActive,tankController.makeProduct.emptyTank2.localActive,$PRE.tankController.makeProduct.emptyTank2.localActive,tankController.makeProduct.emptyTank2.active,tankController.makeProduct.T3.enableFire,tankController.makeProduct.T3.condition,tankController.makeProduct.fillTank2.oldActive,$PRE.tankController.makeProduct.fillTank2.oldActive,tankController.makeProduct.fillTank2.newActive,$PRE.tankController.makeProduct.fillTank2.newActive,tankController.makeProduct.fillTank2.localActive,$PRE.tankController.makeProduct.fillTank2.localActive,tankController.makeProduct.fillTank2.active,tankController.makeProduct.T1.enableFire,tankController.makeProduct.T1.condition,tankController.makeProduct.fillTank1.oldActive,$PRE.tankController.makeProduct.fillTank1.oldActive,tankController.makeProduct.fillTank1.newActive,$PRE.tankController.makeProduct.fillTank1.newActive,tankController.makeProduct.fillTank1.localActive,$PRE.tankController.makeProduct.fillTank1.localActive,tankController.makeProduct.fillTank1.active,tankController.makeProduct.activeSteps,tankController.makeProduct.newActive,$PRE.tankController.makeProduct.newActive,tankController.makeProduct.active,tankController.makeProduct.stateGraphRoot.resume,tankController.makeProduct.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,$whenCondition1,$whenCondition2,$whenCondition3,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.makeProduct.T1.t_start,$PRE.tankController.makeProduct.T1.t_start,tankController.makeProduct.T3.t_start,$PRE.tankController.makeProduct.T3.t_start,tankController.T1.t_start,$PRE.tankController.T1.t_start,tankController.T2.t_start,$PRE.tankController.T2.t_start,tankController.T3.t_start,$PRE.tankController.T3.t_start,tankController.T4.t_start,$PRE.tankController.T4.t_start,tankController.T5.t_start,$PRE.tankController.T5.t_start,tankController.T6.t_start,$PRE.tankController.T6.t_start,stateGraphRoot.resume,stateGraphRoot.suspend,tankController.makeProduct.T4.condition,tankController.makeProduct.T2.condition) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (214): * Single equations (assignments): 211 * Array equations: 0 * Algorithm blocks: 3 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001168/0.3898, allocations: 0.6434 MB / 448.2 MB, free: 1.195 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003078/0.3901, allocations: 118.6 kB / 448.3 MB, free: 1.078 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002311/0.3924, allocations: 1.199 MB / 449.5 MB, free: 15.85 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.497e-05/0.3925, allocations: 16 kB / 449.5 MB, free: 15.83 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.041e-05/0.3925, allocations: 3.938 kB / 449.5 MB, free: 15.83 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.1e-05/0.3925, allocations: 15.95 kB / 449.6 MB, free: 15.81 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005044/0.3976, allocations: 2.739 MB / 452.3 MB, free: 13 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.211e-05/0.3976, allocations: 4 kB / 452.3 MB, free: 12.99 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003853/0.398, allocations: 79.75 kB / 452.4 MB, free: 12.91 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.121e-05/0.398, allocations: 15.94 kB / 452.4 MB, free: 12.9 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.086e-05/0.3981, allocations: 43.97 kB / 452.4 MB, free: 12.86 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.09e-05/0.3982, allocations: 8 kB / 452.5 MB, free: 12.85 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.274e-06/0.3982, allocations: 0 / 452.5 MB, free: 12.85 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008935/0.4071, allocations: 4.286 MB / 456.7 MB, free: 8.363 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007622/0.4079, allocations: 311.4 kB / 457 MB, free: 8.039 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003195/0.4083, allocations: 51.98 kB / 457.1 MB, free: 7.988 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000501/0.4088, allocations: 47.97 kB / 457.1 MB, free: 7.941 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004067/0.4092, allocations: 156.8 kB / 457.3 MB, free: 7.789 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001405/0.4094, allocations: 51.97 kB / 457.3 MB, free: 7.738 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.001117/0.4105, allocations: 0.6006 MB / 457.9 MB, free: 7.141 MB / 330.7 MB Notification: Performance of sort global known variables: time 1.9e-07/0.4105, allocations: 0 / 457.9 MB, free: 7.141 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.002133/0.4127, allocations: 383 kB / 458.3 MB, free: 6.766 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * Number of states: 2 (tank1.level,tank2.level) * Number of discrete variables: 112 (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.makeProduct.T3.t_start,tankController.makeProduct.T1.t_start,tankController.makeProduct.stateGraphRoot.suspend,tankController.emptyTanks.localActive,tankController.s2.localActive,tankController.makeProduct.T4.enableFire,tankController.makeProduct.wait2.localActive,tankController.makeProduct.T2.enableFire,tankController.makeProduct.wait1.localActive,tankController.makeProduct.emptyTank2.localActive,tankController.makeProduct.fillTank2.localActive,tankController.makeProduct.fillTank1.localActive,tankController.s1.localActive,$cse1,$cse2,$cse3,$cse4,$cse5,$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.makeProduct.stateGraphRoot.resume,tankController.makeProduct.active,tankController.makeProduct.newActive,tankController.makeProduct.activeSteps,tankController.makeProduct.fillTank1.active,tankController.makeProduct.fillTank1.newActive,tankController.makeProduct.fillTank1.oldActive,tankController.makeProduct.T1.condition,tankController.makeProduct.T1.enableFire,tankController.makeProduct.fillTank2.active,tankController.makeProduct.fillTank2.newActive,tankController.makeProduct.fillTank2.oldActive,tankController.makeProduct.T3.condition,tankController.makeProduct.T3.enableFire,tankController.makeProduct.emptyTank2.active,tankController.makeProduct.emptyTank2.newActive,tankController.makeProduct.emptyTank2.oldActive,tankController.makeProduct.wait1.active,tankController.makeProduct.wait1.newActive,tankController.makeProduct.wait1.oldActive,tankController.makeProduct.T2.fire,tankController.makeProduct.T2.t_start,tankController.makeProduct.wait2.active,tankController.makeProduct.wait2.newActive,tankController.makeProduct.wait2.oldActive,tankController.makeProduct.T4.fire,tankController.makeProduct.T4.t_start,tankController.T1.enableFire,tankController.T2.condition,tankController.T2.enableFire,tankController.T3.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,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],valve2.valveControl,valve3.valveControl,stateGraphRoot.activeSteps) * Number of discrete states: 50 (shut.table.combiTimeTable.nextTimeEvent,stop.table.combiTimeTable.nextTimeEvent,start.table.combiTimeTable.nextTimeEvent,tankController.s1.newActive,tankController.makeProduct.fillTank1.newActive,tankController.makeProduct.fillTank2.newActive,tankController.makeProduct.emptyTank2.newActive,tankController.makeProduct.wait1.newActive,tankController.makeProduct.wait2.newActive,tankController.makeProduct.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,tankController.makeProduct.T1.t_start,tankController.makeProduct.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 clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (123): * Single equations (assignments): 96 * Array equations: 0 * Algorithm blocks: 3 * Record equations: 0 * When equations: 24 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001543/0.4142, allocations: 0.5515 MB / 458.9 MB, free: 6.344 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.003114/0.4173, allocations: 1.48 MB / 460.3 MB, free: 4.832 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 7.504e-06/0.4174, allocations: 4.062 kB / 460.4 MB, free: 4.828 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00143/0.4188, allocations: 0.8709 MB / 461.2 MB, free: 3.922 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001698/0.4205, allocations: 221.9 kB / 461.4 MB, free: 3.711 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007945/0.4285, allocations: 3.424 MB / 464.9 MB, free: 220 kB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001713/0.4303, allocations: 1.212 MB / 466.1 MB, free: 14.97 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.001264/0.4316, allocations: 205.8 kB / 466.3 MB, free: 14.77 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006307/0.4322, allocations: 119.4 kB / 466.4 MB, free: 14.65 MB / 346.7 MB Notification: Performance of SimCode: time 1.673e-06/0.4322, allocations: 0 / 466.4 MB, free: 14.65 MB / 346.7 MB Notification: Performance of Templates: time 0.03886/0.4711, allocations: 15.63 MB / 482 MB, free: 15.06 MB / 362.7 MB make -j1 -f Modelica_trunk_Modelica.StateGraph.Examples.ControlledTanks.makefile (rm -f Modelica_trunk_Modelica.StateGraph.Examples.ControlledTanks.pipe ; mkfifo Modelica_trunk_Modelica.StateGraph.Examples.ControlledTanks.pipe ; head -c 1048576 < Modelica_trunk_Modelica.StateGraph.Examples.ControlledTanks.pipe >> ../files/Modelica_trunk_Modelica.StateGraph.Examples.ControlledTanks.sim & ./Modelica_trunk_Modelica.StateGraph.Examples.ControlledTanks -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.StateGraph.Examples.ControlledTanks.pipe 2>&1)