Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr MEV_MEV.Test.TestSequencer.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/MEV 1.1.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package MEV with version 1.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/MEV 1.1.1-master/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(MEV.Test.TestSequencer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="MEV_MEV.Test.TestSequencer") translateModel(MEV.Test.TestSequencer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="MEV_MEV.Test.TestSequencer") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001186/0.001186, allocations: 175.4 kB / 16.11 MB, free: 5.57 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/MEV 1.1.1-master/package.mo): time 0.006555/0.006555, allocations: 1.92 MB / 18.79 MB, free: 2.922 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.225/1.225, allocations: 205.4 MB / 225.4 MB, free: 5.293 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007581/0.000758, allocations: 88.8 kB / 274.3 MB, free: 5.879 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003262/0.0003262, allocations: 8 kB / 333.1 MB, free: 11.04 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2027/0.2031, allocations: 48.08 MB / 381.1 MB, free: 44.36 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.07973/0.2828, allocations: 75.14 MB / 456.3 MB, free: 2.531 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001813/0.2831, allocations: 59.97 kB / 456.3 MB, free: 2.473 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02166/0.3047, allocations: 8.31 MB / 464.6 MB, free: 10.15 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.694e-06/0.3048, allocations: 3.938 kB / 464.6 MB, free: 10.15 MB / 346.7 MB Notification: Performance of Transformations before backend: time 2.649e-05/0.3048, allocations: 16 kB / 464.7 MB, free: 10.13 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 140 * Number of variables: 140 Notification: Performance of Generate backend data structure: time 0.003607/0.3084, allocations: 1.916 MB / 466.6 MB, free: 8.141 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.853e-05/0.3085, allocations: 12.03 kB / 466.6 MB, free: 8.129 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002462/0.3087, allocations: 87.89 kB / 466.7 MB, free: 8.043 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007772/0.3095, allocations: 0.517 MB / 467.2 MB, free: 7.484 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.144e-05/0.3096, allocations: 61.66 kB / 467.2 MB, free: 7.426 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001353/0.3097, allocations: 52.38 kB / 467.3 MB, free: 7.375 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002257/0.312, allocations: 1.326 MB / 468.6 MB, free: 6.043 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.458e-05/0.312, allocations: 192 / 468.6 MB, free: 6.043 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.521e-05/0.3121, allocations: 27.92 kB / 468.7 MB, free: 6.016 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.438e-05/0.3121, allocations: 16 kB / 468.7 MB, free: 6 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005589/0.3177, allocations: 3.341 MB / 472 MB, free: 2.652 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004821/0.3226, allocations: 3.012 MB / 475 MB, free: 15.58 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003185/0.3258, allocations: 1.873 MB / 476.9 MB, free: 13.7 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00373/0.3295, allocations: 2.464 MB / 479.4 MB, free: 11.24 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.801e-05/0.3296, allocations: 12.59 kB / 479.4 MB, free: 11.22 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002233/0.3318, allocations: 1.388 MB / 480.8 MB, free: 9.824 MB / 362.7 MB Notification: Performance of pre-optimization done (n=99): time 3.867e-06/0.3318, allocations: 0 / 480.8 MB, free: 9.824 MB / 362.7 MB Notification: Performance of matching and sorting (n=99): time 0.005595/0.3374, allocations: 3.107 MB / 483.9 MB, free: 6.715 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.241e-05/0.3375, allocations: 96.3 kB / 484 MB, free: 6.609 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006585/0.3382, allocations: 0.5057 MB / 484.5 MB, free: 6.098 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001022/0.3383, allocations: 57.69 kB / 484.5 MB, free: 6.035 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002334/0.3386, allocations: 281.2 kB / 484.8 MB, free: 5.754 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000278/0.3388, allocations: 292 kB / 485.1 MB, free: 5.465 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.857e-05/0.3389, allocations: 16 kB / 485.1 MB, free: 5.449 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001941/0.3391, allocations: 390.8 kB / 485.5 MB, free: 5.059 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001493/0.3406, allocations: 0.8177 MB / 486.3 MB, free: 4.238 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00179/0.3424, allocations: 1.102 MB / 487.4 MB, free: 3.012 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003225/0.3456, allocations: 1.944 MB / 489.3 MB, free: 0.9375 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.538e-06/0.3457, allocations: 4 kB / 489.3 MB, free: 0.9336 MB / 362.7 MB Notification: Performance of matching and sorting (n=119) (initialization): time 0.003728/0.3494, allocations: 1.988 MB / 491.3 MB, free: 14.94 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.876e-05/0.3494, allocations: 8 kB / 491.3 MB, free: 14.93 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.486e-05/0.3495, allocations: 16 kB / 491.4 MB, free: 14.91 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.799e-05/0.3495, allocations: 12 kB / 491.4 MB, free: 14.9 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001015/0.3505, allocations: 283.6 kB / 491.6 MB, free: 14.62 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.629e-05/0.3506, allocations: 15.94 kB / 491.7 MB, free: 14.61 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000741/0.3513, allocations: 203.2 kB / 491.9 MB, free: 14.41 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.792e-05/0.3514, allocations: 43.94 kB / 491.9 MB, free: 14.37 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 41 * Number of states: 0 () * Number of discrete variables: 60 ($whenCondition20,$whenCondition19,$whenCondition18,$whenCondition17,$whenCondition16,$whenCondition15,$whenCondition14,$whenCondition13,$whenCondition12,$whenCondition11,$whenCondition10,$whenCondition9,$whenCondition8,$whenCondition7,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,$PRE.sequencer.generators[1].offTime,sequencer.generators[1].offTime,$PRE.sequencer.generators[2].offTime,sequencer.generators[2].offTime,$PRE.sequencer.generators[3].offTime,sequencer.generators[3].offTime,$PRE.sequencer.generators[4].offTime,sequencer.generators[4].offTime,$PRE.sequencer.generators[5].offTime,sequencer.generators[5].offTime,$PRE.sequencer.generators[6].offTime,sequencer.generators[6].offTime,$PRE.sequencer.generators[7].offTime,sequencer.generators[7].offTime,$PRE.sequencer.generators[8].offTime,sequencer.generators[8].offTime,$PRE.sequencer.generators[9].offTime,sequencer.generators[9].offTime,$PRE.sequencer.generators[10].offTime,sequencer.generators[10].offTime,$PRE.sequencer.generators[11].offTime,sequencer.generators[11].offTime,$PRE.sequencer.generators[12].offTime,sequencer.generators[12].offTime,$PRE.sequencer.generators[13].offTime,sequencer.generators[13].offTime,$PRE.sequencer.generators[14].offTime,sequencer.generators[14].offTime,$PRE.sequencer.generators[15].offTime,sequencer.generators[15].offTime,$PRE.sequencer.generators[16].offTime,sequencer.generators[16].offTime,$PRE.sequencer.generators[17].offTime,sequencer.generators[17].offTime,$PRE.sequencer.generators[18].offTime,sequencer.generators[18].offTime,$PRE.sequencer.generators[19].offTime,sequencer.generators[19].offTime,$PRE.sequencer.generators[20].offTime,sequencer.generators[20].offTime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (119): * Single equations (assignments): 119 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0007162/0.3521, allocations: 389.4 kB / 492.3 MB, free: 13.98 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001913/0.3523, allocations: 71.09 kB / 492.4 MB, free: 13.91 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003745/0.3527, allocations: 135.2 kB / 492.5 MB, free: 13.77 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.332e-05/0.3527, allocations: 15.98 kB / 492.5 MB, free: 13.76 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.025e-05/0.3528, allocations: 0 / 492.5 MB, free: 13.76 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.116e-05/0.3528, allocations: 3.984 kB / 492.5 MB, free: 13.75 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001554/0.3543, allocations: 1.105 MB / 493.6 MB, free: 12.6 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.823e-06/0.3544, allocations: 11.86 kB / 493.6 MB, free: 12.59 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008084/0.3552, allocations: 235.8 kB / 493.8 MB, free: 12.36 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.193e-05/0.3552, allocations: 4 kB / 493.9 MB, free: 12.36 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.869e-05/0.3553, allocations: 19.98 kB / 493.9 MB, free: 12.34 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.141e-06/0.3553, allocations: 7.938 kB / 493.9 MB, free: 12.33 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.328e-06/0.3553, allocations: 3.984 kB / 493.9 MB, free: 12.32 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003905/0.3592, allocations: 2.222 MB / 496.1 MB, free: 10.08 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001439/0.3594, allocations: 152.1 kB / 496.3 MB, free: 9.914 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001025/0.3595, allocations: 19.98 kB / 496.3 MB, free: 9.895 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006363/0.3601, allocations: 159.9 kB / 496.4 MB, free: 9.738 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008945/0.361, allocations: 452.3 kB / 496.9 MB, free: 9.297 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.451e-05/0.3611, allocations: 28 kB / 496.9 MB, free: 9.27 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0004317/0.3616, allocations: 387 kB / 497.3 MB, free: 8.891 MB / 378.7 MB Notification: Performance of sort global known variables: time 2.61e-07/0.3616, allocations: 0 / 497.3 MB, free: 8.891 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0006347/0.3622, allocations: 231.6 kB / 497.5 MB, free: 8.664 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 40 ($whenCondition20,$whenCondition19,$whenCondition18,$whenCondition17,$whenCondition16,$whenCondition15,$whenCondition14,$whenCondition13,$whenCondition12,$whenCondition11,$whenCondition10,$whenCondition9,$whenCondition8,$whenCondition7,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,sequencer.generators[1].offTime,sequencer.generators[2].offTime,sequencer.generators[3].offTime,sequencer.generators[4].offTime,sequencer.generators[5].offTime,sequencer.generators[6].offTime,sequencer.generators[7].offTime,sequencer.generators[8].offTime,sequencer.generators[9].offTime,sequencer.generators[10].offTime,sequencer.generators[11].offTime,sequencer.generators[12].offTime,sequencer.generators[13].offTime,sequencer.generators[14].offTime,sequencer.generators[15].offTime,sequencer.generators[16].offTime,sequencer.generators[17].offTime,sequencer.generators[18].offTime,sequencer.generators[19].offTime,sequencer.generators[20].offTime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (99): * Single equations (assignments): 79 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 20 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002004/0.3624, allocations: 135 kB / 497.6 MB, free: 8.527 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.003556/0.366, allocations: 2.058 MB / 499.7 MB, free: 6.473 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.357e-06/0.366, allocations: 0.5 kB / 499.7 MB, free: 6.473 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001863/0.3679, allocations: 1.149 MB / 0.4891 GB, free: 5.324 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003711/0.3683, allocations: 53.89 kB / 0.4892 GB, free: 5.266 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004256/0.3725, allocations: 2.621 MB / 0.4917 GB, free: 2.613 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006372/0.3732, allocations: 1.064 MB / 0.4928 GB, free: 1.523 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0008629/0.374, allocations: 332.6 kB / 0.4931 GB, free: 1.195 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002738/0.3743, allocations: 51.44 kB / 0.4931 GB, free: 1.145 MB / 378.7 MB Notification: Performance of SimCode: time 4.01e-07/0.3743, allocations: 4 kB / 0.4931 GB, free: 1.141 MB / 378.7 MB Notification: Performance of Templates: time 0.1511/0.5254, allocations: 8.397 MB / 0.5013 GB, free: 112 MB / 378.7 MB make -j1 -f MEV_MEV.Test.TestSequencer.makefile (rm -f MEV_MEV.Test.TestSequencer.pipe ; mkfifo MEV_MEV.Test.TestSequencer.pipe ; head -c 1048576 < MEV_MEV.Test.TestSequencer.pipe >> ../files/MEV_MEV.Test.TestSequencer.sim & ./MEV_MEV.Test.TestSequencer -abortSlowSimulation -alarm=480 -lv LOG_STATS > MEV_MEV.Test.TestSequencer.pipe 2>&1)