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.00135/0.00135, allocations: 175.1 kB / 12.73 MB, free: 2.59 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/MEV 1.1.1/package.mo): time 0.01281/0.01281, allocations: 1.917 MB / 15.18 MB, free: 128 kB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.554/1.554, allocations: 205.2 MB / 221.4 MB, free: 7.281 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.0008467/0.0008469, allocations: 89.89 kB / 270.1 MB, free: 7.121 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 2.941e-05/2.944e-05, allocations: 4 kB / 326 MB, free: 15.07 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2733/0.2733, allocations: 48.06 MB / 374.1 MB, free: 44.28 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.08675/0.3601, allocations: 75.02 MB / 449.1 MB, free: 3.84 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002624/0.3604, allocations: 63.97 kB / 449.2 MB, free: 3.777 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.023/0.3835, allocations: 8.31 MB / 457.5 MB, free: 11.48 MB / 346.7 MB Notification: Performance of FrontEnd: time 4.218e-06/0.3835, allocations: 0 / 457.5 MB, free: 11.48 MB / 346.7 MB Notification: Performance of Transformations before backend: time 2.185e-05/0.3835, allocations: 15.94 kB / 457.5 MB, free: 11.46 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.003402/0.387, allocations: 1.842 MB / 459.3 MB, free: 9.551 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.345e-05/0.387, allocations: 8.031 kB / 459.3 MB, free: 9.543 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000156/0.3872, allocations: 82.97 kB / 459.4 MB, free: 9.461 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007644/0.388, allocations: 0.5006 MB / 459.9 MB, free: 8.914 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.806e-05/0.388, allocations: 69.23 kB / 460 MB, free: 8.848 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001118/0.3882, allocations: 55.98 kB / 460 MB, free: 8.793 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001534/0.3897, allocations: 1.053 MB / 461.1 MB, free: 7.734 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.646e-05/0.3897, allocations: 3.953 kB / 461.1 MB, free: 7.73 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.969e-05/0.3898, allocations: 24 kB / 461.1 MB, free: 7.707 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.418e-05/0.3898, allocations: 16 kB / 461.1 MB, free: 7.691 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004302/0.3941, allocations: 2.826 MB / 464 MB, free: 4.859 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005852/0.4, allocations: 3.029 MB / 467 MB, free: 1.781 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001916/0.402, allocations: 1.363 MB / 468.4 MB, free: 408 kB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003069/0.405, allocations: 2.212 MB / 470.6 MB, free: 14.18 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.907e-05/0.4051, allocations: 8.781 kB / 470.6 MB, free: 14.18 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00148/0.4066, allocations: 1.125 MB / 471.7 MB, free: 13.04 MB / 362.7 MB Notification: Performance of pre-optimization done (n=99): time 3.136e-06/0.4066, allocations: 2.531 kB / 471.7 MB, free: 13.04 MB / 362.7 MB Notification: Performance of matching and sorting (n=99): time 0.002347/0.409, allocations: 1.641 MB / 473.3 MB, free: 11.39 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.86e-05/0.4091, allocations: 88.38 kB / 473.4 MB, free: 11.3 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005147/0.4096, allocations: 455.1 kB / 473.9 MB, free: 10.85 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 8.848e-05/0.4097, allocations: 61.69 kB / 473.9 MB, free: 10.78 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002011/0.4099, allocations: 285.1 kB / 474.2 MB, free: 10.5 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002286/0.4101, allocations: 288.1 kB / 474.5 MB, free: 10.21 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.496e-05/0.4102, allocations: 20 kB / 474.5 MB, free: 10.19 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001724/0.4104, allocations: 390.7 kB / 474.9 MB, free: 9.801 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007172/0.4111, allocations: 0.5603 MB / 475.5 MB, free: 9.238 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009017/0.412, allocations: 0.8529 MB / 476.3 MB, free: 8.262 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007907/0.4128, allocations: 0.6422 MB / 477 MB, free: 7.621 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.559e-06/0.4128, allocations: 0 / 477 MB, free: 7.621 MB / 362.7 MB Notification: Performance of matching and sorting (n=119) (initialization): time 0.001922/0.4147, allocations: 1.472 MB / 478.4 MB, free: 6.141 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.064e-05/0.4148, allocations: 12.06 kB / 478.4 MB, free: 6.129 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.219e-05/0.4148, allocations: 12 kB / 478.4 MB, free: 6.117 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.013e-05/0.4148, allocations: 16 kB / 478.5 MB, free: 6.102 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009912/0.4158, allocations: 283.5 kB / 478.7 MB, free: 5.824 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.096e-05/0.4158, allocations: 19.94 kB / 478.8 MB, free: 5.805 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006975/0.4165, allocations: 195.3 kB / 478.9 MB, free: 5.613 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.779e-05/0.4166, allocations: 44 kB / 479 MB, free: 5.57 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 () * 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.0002551/0.4169, allocations: 216.5 kB / 479.2 MB, free: 5.352 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001149/0.417, allocations: 71.16 kB / 479.3 MB, free: 5.281 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000345/0.4174, allocations: 135.2 kB / 479.4 MB, free: 5.145 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.438e-06/0.4174, allocations: 12 kB / 479.4 MB, free: 5.133 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.287e-06/0.4174, allocations: 0 / 479.4 MB, free: 5.133 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.576e-06/0.4174, allocations: 3.984 kB / 479.4 MB, free: 5.129 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001325/0.4187, allocations: 1.098 MB / 480.5 MB, free: 3.98 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.222e-06/0.4188, allocations: 8 kB / 480.5 MB, free: 3.973 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008024/0.4196, allocations: 231.7 kB / 480.8 MB, free: 3.746 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.036e-06/0.4196, allocations: 7.984 kB / 480.8 MB, free: 3.738 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.187e-05/0.4197, allocations: 19.98 kB / 480.8 MB, free: 3.719 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.111e-06/0.4197, allocations: 7.953 kB / 480.8 MB, free: 3.711 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.643e-06/0.4197, allocations: 0 / 480.8 MB, free: 3.711 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00215/0.4218, allocations: 1.711 MB / 482.5 MB, free: 1.98 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001252/0.422, allocations: 152.1 kB / 482.6 MB, free: 1.812 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.431e-05/0.4221, allocations: 19.98 kB / 482.7 MB, free: 1.793 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006669/0.4227, allocations: 161.2 kB / 482.8 MB, free: 1.637 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008319/0.4236, allocations: 456.2 kB / 483.3 MB, free: 1.191 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.76e-05/0.4237, allocations: 27.98 kB / 483.3 MB, free: 1.164 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.000364/0.424, allocations: 377.1 kB / 483.7 MB, free: 0.7969 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.7e-07/0.424, allocations: 0 / 483.7 MB, free: 0.7969 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0005327/0.4246, allocations: 223.7 kB / 483.9 MB, free: 0.5781 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 () * 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.0001886/0.4248, allocations: 135.1 kB / 484 MB, free: 448 kB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.001936/0.4267, allocations: 1.544 MB / 485.6 MB, free: 14.9 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.484e-06/0.4267, allocations: 320 / 485.6 MB, free: 14.9 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001129/0.4279, allocations: 0.9035 MB / 486.5 MB, free: 13.99 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002557/0.4281, allocations: 43.31 kB / 486.5 MB, free: 13.95 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003647/0.4318, allocations: 2.142 MB / 488.6 MB, free: 11.79 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005778/0.4324, allocations: 1.075 MB / 489.7 MB, free: 10.68 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0008149/0.4332, allocations: 332.6 kB / 490 MB, free: 10.36 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002778/0.4335, allocations: 55.42 kB / 490.1 MB, free: 10.3 MB / 378.7 MB Notification: Performance of SimCode: time 9.32e-07/0.4335, allocations: 0 / 490.1 MB, free: 10.3 MB / 378.7 MB Notification: Performance of Templates: time 0.0144/0.4479, allocations: 8.394 MB / 498.5 MB, free: 1.941 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)