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/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/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.008492/0.008492, allocations: 172 kB / 15.11 MB, free: 5.969 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/MEV 1.1.1/package.mo): time 0.01036/0.01036, allocations: 1.935 MB / 17.78 MB, free: 4.168 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.411/1.411, allocations: 205.4 MB / 224.4 MB, free: 11.98 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.000942/0.000942, allocations: 90.17 kB / 273.3 MB, free: 11 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003284/0.0003285, allocations: 8 kB / 331.8 MB, free: 10.89 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1115/0.1119, allocations: 48.09 MB / 379.9 MB, free: 10.71 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3271/0.439, allocations: 75.12 MB / 455 MB, free: 12.43 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002307/0.4393, allocations: 59.98 kB / 455.1 MB, free: 12.37 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02227/0.4616, allocations: 8.288 MB / 463.4 MB, free: 4.086 MB / 330.7 MB Notification: Performance of FrontEnd: time 3.096e-06/0.4616, allocations: 4 kB / 463.4 MB, free: 4.082 MB / 330.7 MB Notification: Performance of Transformations before backend: time 2.168e-05/0.4617, allocations: 12 kB / 463.4 MB, free: 4.07 MB / 330.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.0034/0.4651, allocations: 1.924 MB / 465.3 MB, free: 2.074 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.275e-05/0.4651, allocations: 8.031 kB / 465.3 MB, free: 2.066 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001582/0.4653, allocations: 90.89 kB / 465.4 MB, free: 1.977 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008624/0.4662, allocations: 0.5045 MB / 465.9 MB, free: 1.43 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.793e-05/0.4663, allocations: 57.3 kB / 466 MB, free: 1.371 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001024/0.4664, allocations: 59.98 kB / 466 MB, free: 1.312 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002118/0.4685, allocations: 1.306 MB / 467.3 MB, free: 0 / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.517e-05/0.4685, allocations: 192 / 467.3 MB, free: 16 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.98e-05/0.4686, allocations: 31.94 kB / 467.4 MB, free: 15.96 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.248e-05/0.4686, allocations: 12 kB / 467.4 MB, free: 15.95 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005246/0.4739, allocations: 3.341 MB / 470.7 MB, free: 12.61 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004904/0.4788, allocations: 3.021 MB / 473.8 MB, free: 9.531 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00309/0.4819, allocations: 1.87 MB / 475.6 MB, free: 7.656 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.652e-05/0.482, allocations: 12.64 kB / 475.6 MB, free: 7.645 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002067/0.484, allocations: 1.369 MB / 477 MB, free: 6.266 MB / 346.7 MB Notification: Performance of pre-optimization done (n=99): time 3.396e-06/0.4841, allocations: 4 kB / 477 MB, free: 6.262 MB / 346.7 MB Notification: Performance of matching and sorting (n=99): time 0.005338/0.4894, allocations: 3.111 MB / 480.1 MB, free: 3.148 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.902e-05/0.4895, allocations: 84.38 kB / 480.2 MB, free: 3.055 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005626/0.4901, allocations: 465 kB / 480.7 MB, free: 2.594 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 9.175e-05/0.4902, allocations: 61.67 kB / 480.7 MB, free: 2.527 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002453/0.4904, allocations: 281.1 kB / 481 MB, free: 2.246 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002825/0.4907, allocations: 296.1 kB / 481.3 MB, free: 1.953 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.098e-05/0.4908, allocations: 20 kB / 481.3 MB, free: 1.934 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001884/0.491, allocations: 390.7 kB / 481.7 MB, free: 1.543 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001369/0.4923, allocations: 0.8138 MB / 482.5 MB, free: 0.7266 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001594/0.4939, allocations: 1.099 MB / 483.6 MB, free: 15.5 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00151/0.4955, allocations: 0.8853 MB / 484.5 MB, free: 14.62 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.818e-06/0.4955, allocations: 4 kB / 484.5 MB, free: 14.61 MB / 362.7 MB Notification: Performance of matching and sorting (n=119) (initialization): time 0.003376/0.4989, allocations: 1.988 MB / 486.5 MB, free: 12.62 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.81e-05/0.4989, allocations: 8 kB / 486.5 MB, free: 12.61 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.587e-05/0.4989, allocations: 16 kB / 486.5 MB, free: 12.59 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.057e-05/0.499, allocations: 16 kB / 486.5 MB, free: 12.58 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001025/0.5, allocations: 283.5 kB / 486.8 MB, free: 12.3 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.769e-05/0.5001, allocations: 19.94 kB / 486.8 MB, free: 12.28 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007248/0.5008, allocations: 195.2 kB / 487 MB, free: 12.09 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001117/0.5009, allocations: 40 kB / 487 MB, free: 12.05 MB / 362.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.0006362/0.5016, allocations: 393.3 kB / 487.4 MB, free: 11.66 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001436/0.5017, allocations: 71.16 kB / 487.5 MB, free: 11.59 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003357/0.502, allocations: 139.2 kB / 487.6 MB, free: 11.45 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.566e-06/0.5021, allocations: 8 kB / 487.6 MB, free: 11.44 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.13e-05/0.5021, allocations: 3.953 kB / 487.6 MB, free: 11.44 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.804e-06/0.5021, allocations: 3.984 kB / 487.6 MB, free: 11.43 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001323/0.5034, allocations: 1.113 MB / 488.8 MB, free: 10.27 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.381e-06/0.5034, allocations: 0 / 488.8 MB, free: 10.27 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007725/0.5042, allocations: 235.7 kB / 489 MB, free: 10.04 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.189e-05/0.5042, allocations: 7.938 kB / 489 MB, free: 10.03 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.122e-05/0.5043, allocations: 16 kB / 489 MB, free: 10.02 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.427e-06/0.5043, allocations: 4 kB / 489 MB, free: 10.01 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.841e-06/0.5044, allocations: 7.969 kB / 489 MB, free: 10 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003624/0.508, allocations: 2.226 MB / 491.2 MB, free: 7.758 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001253/0.5081, allocations: 148.1 kB / 491.4 MB, free: 7.594 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001005/0.5082, allocations: 23.98 kB / 491.4 MB, free: 7.57 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006334/0.5089, allocations: 163.8 kB / 491.6 MB, free: 7.41 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000853/0.5097, allocations: 444.3 kB / 492 MB, free: 6.977 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.089e-05/0.5098, allocations: 27.98 kB / 492 MB, free: 6.949 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.000395/0.5102, allocations: 387 kB / 492.4 MB, free: 6.57 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.5102, allocations: 0 / 492.4 MB, free: 6.57 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0006058/0.5108, allocations: 219.7 kB / 492.6 MB, free: 6.355 MB / 362.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.0001815/0.511, allocations: 139 kB / 492.8 MB, free: 6.211 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.003383/0.5144, allocations: 2.058 MB / 494.8 MB, free: 4.152 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.435e-06/0.5144, allocations: 0.5 kB / 494.8 MB, free: 4.152 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001704/0.5161, allocations: 1.153 MB / 496 MB, free: 3 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002291/0.5164, allocations: 33.95 kB / 496 MB, free: 2.969 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004021/0.5204, allocations: 2.613 MB / 498.6 MB, free: 332 kB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005758/0.521, allocations: 1.075 MB / 499.7 MB, free: 15.22 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.00079/0.5218, allocations: 328.6 kB / 0.4883 GB, free: 14.9 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002833/0.5221, allocations: 55.42 kB / 0.4883 GB, free: 14.84 MB / 378.7 MB Notification: Performance of SimCode: time 2.505e-06/0.5221, allocations: 4 kB / 0.4884 GB, free: 14.84 MB / 378.7 MB Notification: Performance of Templates: time 0.01368/0.5358, allocations: 8.378 MB / 0.4965 GB, free: 6.449 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)