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.0009164/0.0009163, allocations: 182.5 kB / 7.65 MB, free: 1.43 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/MEV 1.1.1/package.mo): time 0.01015/0.01015, allocations: 1.923 MB / 9.999 MB, free: 0.5859 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.372/1.372, allocations: 205.3 MB / 216.2 MB, free: 15.83 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.000833/0.0008329, allocations: 85.72 kB / 264.8 MB, free: 15.27 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 1.135e-05/1.138e-05, allocations: 0 / 319 MB, free: 19.75 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08341/0.08343, allocations: 48.09 MB / 367.1 MB, free: 3.59 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3012/0.3846, allocations: 74.36 MB / 441.5 MB, free: 3.602 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001527/0.3848, allocations: 61.41 kB / 441.6 MB, free: 3.57 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02317/0.408, allocations: 8.229 MB / 449.8 MB, free: 12.29 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.763e-06/0.4081, allocations: 0 / 449.8 MB, free: 12.29 MB / 330.7 MB Notification: Performance of Transformations before backend: time 5.646e-05/0.4081, allocations: 16 kB / 449.8 MB, free: 12.27 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.004149/0.4123, allocations: 1.836 MB / 451.6 MB, free: 10.41 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.102e-05/0.4124, allocations: 12.03 kB / 451.6 MB, free: 10.4 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003363/0.4127, allocations: 86.95 kB / 451.7 MB, free: 10.31 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001024/0.4137, allocations: 0.5063 MB / 452.2 MB, free: 9.824 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.053e-05/0.4138, allocations: 42.91 kB / 452.3 MB, free: 9.789 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001707/0.414, allocations: 32 kB / 452.3 MB, free: 9.758 MB / 330.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.004467/0.4185, allocations: 2.799 MB / 455.1 MB, free: 7.379 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001611/0.4201, allocations: 0.9853 MB / 456.1 MB, free: 6.66 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.566e-05/0.4202, allocations: 0 / 456.1 MB, free: 6.66 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.436e-05/0.4202, allocations: 11.55 kB / 456.1 MB, free: 6.652 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.235e-05/0.4203, allocations: 12 kB / 456.1 MB, free: 6.641 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005083/0.4254, allocations: 2.924 MB / 459 MB, free: 4.168 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001695/0.4271, allocations: 1.324 MB / 460.4 MB, free: 3.25 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002833/0.4299, allocations: 2.19 MB / 462.6 MB, free: 1.566 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.957e-05/0.43, allocations: 12.78 kB / 462.6 MB, free: 1.555 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001477/0.4315, allocations: 1.092 MB / 463.7 MB, free: 0.543 MB / 330.7 MB Notification: Performance of pre-optimization done (n=99): time 3.397e-06/0.4315, allocations: 4 kB / 463.7 MB, free: 0.5391 MB / 330.7 MB Notification: Performance of matching and sorting (n=99): time 0.002305/0.4338, allocations: 1.601 MB / 465.3 MB, free: 14.93 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.701e-05/0.4339, allocations: 80.7 kB / 465.3 MB, free: 14.84 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006785/0.4346, allocations: 449.2 kB / 465.8 MB, free: 14.4 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 9.432e-05/0.4347, allocations: 43.28 kB / 465.8 MB, free: 14.35 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002745/0.435, allocations: 277.2 kB / 466.1 MB, free: 14.07 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003016/0.4353, allocations: 280.1 kB / 466.4 MB, free: 13.8 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.987e-05/0.4354, allocations: 0 / 466.4 MB, free: 13.8 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0002085/0.4356, allocations: 390.8 kB / 466.7 MB, free: 13.41 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007405/0.4363, allocations: 0.5413 MB / 467.3 MB, free: 12.87 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009594/0.4373, allocations: 0.8261 MB / 468.1 MB, free: 11.92 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007858/0.4381, allocations: 0.6133 MB / 468.7 MB, free: 11.3 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.63e-05/0.4381, allocations: 7.953 kB / 468.7 MB, free: 11.3 MB / 346.7 MB Notification: Performance of matching and sorting (n=119) (initialization): time 0.002066/0.4402, allocations: 1.382 MB / 470.1 MB, free: 9.906 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.819e-05/0.4403, allocations: 12 kB / 470.1 MB, free: 9.895 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.974e-05/0.4403, allocations: 8 kB / 470.1 MB, free: 9.887 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.261e-05/0.4403, allocations: 19.94 kB / 470.2 MB, free: 9.867 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001092/0.4414, allocations: 284.2 kB / 470.4 MB, free: 9.59 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.303e-05/0.4415, allocations: 19.94 kB / 470.5 MB, free: 9.57 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008031/0.4423, allocations: 179.3 kB / 470.6 MB, free: 9.395 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.788e-05/0.4423, allocations: 36 kB / 470.7 MB, free: 9.359 MB / 346.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 () * 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.0003122/0.4427, allocations: 184.6 kB / 470.8 MB, free: 9.172 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000181/0.4429, allocations: 75.11 kB / 470.9 MB, free: 9.098 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004148/0.4433, allocations: 127.2 kB / 471 MB, free: 8.969 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.116e-06/0.4433, allocations: 11.94 kB / 471.1 MB, free: 8.957 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.155e-06/0.4433, allocations: 4 kB / 471.1 MB, free: 8.953 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.188e-06/0.4433, allocations: 7.984 kB / 471.1 MB, free: 8.945 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001364/0.4447, allocations: 0.9888 MB / 472.1 MB, free: 7.918 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.058e-06/0.4447, allocations: 0 / 472.1 MB, free: 7.918 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008702/0.4456, allocations: 231.7 kB / 472.3 MB, free: 7.691 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.584e-05/0.4456, allocations: 4 kB / 472.3 MB, free: 7.688 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.265e-05/0.4457, allocations: 15.98 kB / 472.3 MB, free: 7.672 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.811e-06/0.4457, allocations: 4 kB / 472.3 MB, free: 7.668 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.497e-06/0.4457, allocations: 0 / 472.3 MB, free: 7.668 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0022/0.4479, allocations: 1.661 MB / 474 MB, free: 5.988 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001382/0.4481, allocations: 160 kB / 474.1 MB, free: 5.812 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001089/0.4482, allocations: 4 kB / 474.1 MB, free: 5.809 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007157/0.4489, allocations: 151.8 kB / 474.3 MB, free: 5.66 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008319/0.4498, allocations: 452.6 kB / 474.7 MB, free: 5.219 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.745e-05/0.4498, allocations: 24 kB / 474.7 MB, free: 5.195 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.000401/0.4503, allocations: 358.9 kB / 475.1 MB, free: 4.844 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.91e-07/0.4503, allocations: 4 kB / 475.1 MB, free: 4.84 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0006474/0.4509, allocations: 191.7 kB / 475.3 MB, free: 4.652 MB / 346.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 () * 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.000225/0.4511, allocations: 140.2 kB / 475.4 MB, free: 4.508 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.001993/0.4531, allocations: 1.493 MB / 476.9 MB, free: 3.016 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 5.641e-06/0.4532, allocations: 4 kB / 476.9 MB, free: 3.012 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001105/0.4543, allocations: 0.8678 MB / 477.8 MB, free: 2.145 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002619/0.4546, allocations: 26.02 kB / 477.8 MB, free: 2.121 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003873/0.4584, allocations: 2.091 MB / 479.9 MB, free: 15.99 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006764/0.4591, allocations: 1.071 MB / 481 MB, free: 14.89 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0008749/0.46, allocations: 332.6 kB / 481.3 MB, free: 14.57 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002809/0.4603, allocations: 51.44 kB / 481.3 MB, free: 14.52 MB / 362.7 MB Notification: Performance of SimCode: time 1.052e-06/0.4603, allocations: 4 kB / 481.3 MB, free: 14.51 MB / 362.7 MB Notification: Performance of Templates: time 0.01322/0.4735, allocations: 7.746 MB / 489.1 MB, free: 6.766 MB / 362.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)