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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/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/MEV 1.1.1/package.mo", uses=false) Using package MEV with version 1.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/MEV 1.1.1/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 Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001098/0.001098, allocations: 115.3 kB / 15.34 MB, free: 0.5156 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001086/0.001087, allocations: 191.8 kB / 16.25 MB, free: 6.629 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.284/1.284, allocations: 205.1 MB / 222.1 MB, free: 4.727 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/MEV 1.1.1/package.mo): time 0.009281/0.009281, allocations: 1.931 MB / 271.4 MB, free: 3.484 MB / 222.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001253/0.001254, allocations: 60.12 kB / 329.3 MB, free: 33.17 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06683/0.06809, allocations: 47.14 MB / 376.5 MB, free: 1.984 MB / 270.1 MB Notification: Performance of NFInst.instantiate(MEV.Test.TestSequencer): time 0.002451/0.07057, allocations: 1.495 MB / 378 MB, free: 480 kB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003008/0.07089, allocations: 129 kB / 378.1 MB, free: 348 kB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.318e-05/0.07095, allocations: 0 / 378.1 MB, free: 348 kB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 9.502e-05/0.07108, allocations: 7.922 kB / 378.1 MB, free: 340 kB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001318/0.07122, allocations: 12.31 kB / 378.1 MB, free: 328 kB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001037/0.07133, allocations: 15.98 kB / 378.1 MB, free: 312 kB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006292/0.07197, allocations: 0.741 MB / 378.9 MB, free: 15.56 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004659/0.07245, allocations: 408.6 kB / 379.3 MB, free: 15.16 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003876/0.07284, allocations: 366.9 kB / 379.6 MB, free: 14.8 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005665/0.07341, allocations: 0.5456 MB / 380.2 MB, free: 14.25 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002373/0.07366, allocations: 100 kB / 380.3 MB, free: 14.16 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001829/0.07385, allocations: 92 kB / 380.4 MB, free: 14.07 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002275/0.07409, allocations: 271.4 kB / 380.6 MB, free: 13.8 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000477/0.07457, allocations: 421.9 kB / 381 MB, free: 13.39 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007843/0.07536, allocations: 0.9896 MB / 382 MB, free: 12.39 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.088e-06/0.07537, allocations: 0 / 382 MB, free: 12.39 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.142e-06/0.07538, allocations: 0 / 382 MB, free: 12.39 MB / 286.1 MB Notification: Performance of Transformations before backend: time 2.211e-05/0.07541, allocations: 0 / 382 MB, free: 12.39 MB / 286.1 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.002908/0.07832, allocations: 1.43 MB / 383.5 MB, free: 10.91 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.138e-05/0.07836, allocations: 11.89 kB / 383.5 MB, free: 10.9 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001504/0.07852, allocations: 83.94 kB / 383.5 MB, free: 10.82 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006655/0.07919, allocations: 0.5287 MB / 384.1 MB, free: 10.25 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.158e-05/0.07926, allocations: 57.42 kB / 384.1 MB, free: 10.2 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001013/0.07936, allocations: 63.97 kB / 384.2 MB, free: 10.13 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002054/0.08142, allocations: 1.24 MB / 385.4 MB, free: 8.891 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.367e-05/0.08145, allocations: 0 / 385.4 MB, free: 8.891 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.274e-05/0.08153, allocations: 20 kB / 385.5 MB, free: 8.871 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.487e-05/0.08155, allocations: 16 kB / 385.5 MB, free: 8.855 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005181/0.08673, allocations: 3.169 MB / 388.6 MB, free: 5.68 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00362/0.09037, allocations: 2.419 MB / 391.1 MB, free: 3.203 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002882/0.09327, allocations: 1.701 MB / 392.8 MB, free: 1.5 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003126/0.09641, allocations: 2.098 MB / 394.9 MB, free: 15.4 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.957e-05/0.09649, allocations: 8.656 kB / 394.9 MB, free: 15.39 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00189/0.09838, allocations: 1.296 MB / 396.2 MB, free: 14.08 MB / 302.1 MB Notification: Performance of pre-optimization done (n=99): time 2.645e-06/0.0984, allocations: 0 / 396.2 MB, free: 14.08 MB / 302.1 MB Notification: Performance of matching and sorting (n=99): time 0.004853/0.1033, allocations: 2.857 MB / 399 MB, free: 11.22 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.458e-05/0.1033, allocations: 88.31 kB / 399.1 MB, free: 11.12 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005496/0.1039, allocations: 0.5174 MB / 399.6 MB, free: 10.6 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 9.387e-05/0.104, allocations: 57.69 kB / 399.7 MB, free: 10.54 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001832/0.1042, allocations: 281.1 kB / 400 MB, free: 10.25 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002522/0.1045, allocations: 292 kB / 400.2 MB, free: 9.965 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002729/0.1047, allocations: 162.7 kB / 400.4 MB, free: 9.801 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001788/0.1049, allocations: 394.7 kB / 400.8 MB, free: 9.406 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001298/0.1062, allocations: 0.7318 MB / 401.5 MB, free: 8.672 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001454/0.1077, allocations: 1.036 MB / 402.6 MB, free: 7.512 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00261/0.1103, allocations: 1.78 MB / 404.3 MB, free: 5.602 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.17e-06/0.1103, allocations: 4 kB / 404.3 MB, free: 5.598 MB / 302.1 MB Notification: Performance of matching and sorting (n=119) (initialization): time 0.003169/0.1135, allocations: 1.836 MB / 406.2 MB, free: 3.754 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.171e-05/0.1135, allocations: 8 kB / 406.2 MB, free: 3.746 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.448e-05/0.1136, allocations: 8 kB / 406.2 MB, free: 3.738 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.861e-05/0.1136, allocations: 16 kB / 406.2 MB, free: 3.723 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008807/0.1145, allocations: 239.6 kB / 406.4 MB, free: 3.488 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.142e-05/0.1145, allocations: 19.94 kB / 406.5 MB, free: 3.469 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006551/0.1152, allocations: 159.2 kB / 406.6 MB, free: 3.312 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.292e-05/0.1152, allocations: 40 kB / 406.7 MB, free: 3.273 MB / 302.1 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,sequencer.generators[20].offTime,$PRE.sequencer.generators[20].offTime,sequencer.generators[19].offTime,$PRE.sequencer.generators[19].offTime,sequencer.generators[18].offTime,$PRE.sequencer.generators[18].offTime,sequencer.generators[17].offTime,$PRE.sequencer.generators[17].offTime,sequencer.generators[16].offTime,$PRE.sequencer.generators[16].offTime,sequencer.generators[15].offTime,$PRE.sequencer.generators[15].offTime,sequencer.generators[14].offTime,$PRE.sequencer.generators[14].offTime,sequencer.generators[13].offTime,$PRE.sequencer.generators[13].offTime,sequencer.generators[12].offTime,$PRE.sequencer.generators[12].offTime,sequencer.generators[11].offTime,$PRE.sequencer.generators[11].offTime,sequencer.generators[10].offTime,$PRE.sequencer.generators[10].offTime,sequencer.generators[9].offTime,$PRE.sequencer.generators[9].offTime,sequencer.generators[8].offTime,$PRE.sequencer.generators[8].offTime,sequencer.generators[7].offTime,$PRE.sequencer.generators[7].offTime,sequencer.generators[6].offTime,$PRE.sequencer.generators[6].offTime,sequencer.generators[5].offTime,$PRE.sequencer.generators[5].offTime,sequencer.generators[4].offTime,$PRE.sequencer.generators[4].offTime,sequencer.generators[3].offTime,$PRE.sequencer.generators[3].offTime,sequencer.generators[2].offTime,$PRE.sequencer.generators[2].offTime,sequencer.generators[1].offTime,$PRE.sequencer.generators[1].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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0005159/0.1158, allocations: 397.2 kB / 407 MB, free: 2.875 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001225/0.1159, allocations: 67.16 kB / 407.1 MB, free: 2.809 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002576/0.1162, allocations: 139.2 kB / 407.2 MB, free: 2.672 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.818e-06/0.1162, allocations: 15.94 kB / 407.3 MB, free: 2.656 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.906e-06/0.1162, allocations: 3.938 kB / 407.3 MB, free: 2.652 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.428e-06/0.1162, allocations: 3.984 kB / 407.3 MB, free: 2.648 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001211/0.1174, allocations: 1.094 MB / 408.4 MB, free: 1.504 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.755e-06/0.1174, allocations: 0 / 408.4 MB, free: 1.504 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007082/0.1181, allocations: 191.7 kB / 408.5 MB, free: 1.316 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.002e-06/0.1182, allocations: 4 kB / 408.5 MB, free: 1.312 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.439e-05/0.1182, allocations: 23.98 kB / 408.6 MB, free: 1.289 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.669e-06/0.1182, allocations: 4 kB / 408.6 MB, free: 1.285 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.383e-06/0.1182, allocations: 0 / 408.6 MB, free: 1.285 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003314/0.1216, allocations: 2.058 MB / 410.6 MB, free: 15.2 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001122/0.1217, allocations: 156.1 kB / 410.8 MB, free: 15.03 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001014/0.1218, allocations: 12 kB / 410.8 MB, free: 15.02 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005812/0.1224, allocations: 119.8 kB / 410.9 MB, free: 14.9 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008004/0.1232, allocations: 456.3 kB / 411.4 MB, free: 14.46 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.613e-05/0.1233, allocations: 28 kB / 411.4 MB, free: 14.43 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.000374/0.1237, allocations: 387 kB / 411.8 MB, free: 14.05 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.1237, allocations: 0 / 411.8 MB, free: 14.05 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0006258/0.1243, allocations: 227.5 kB / 412 MB, free: 13.83 MB / 318.1 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 (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.0001769/0.1245, allocations: 147 kB / 412.1 MB, free: 13.68 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.004071/0.1286, allocations: 2.424 MB / 414.6 MB, free: 11.25 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.625e-06/0.1286, allocations: 0 / 414.6 MB, free: 11.25 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001635/0.1302, allocations: 1.064 MB / 415.6 MB, free: 10.19 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003897/0.1306, allocations: 49.95 kB / 415.7 MB, free: 10.14 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003891/0.1345, allocations: 2.704 MB / 418.4 MB, free: 7.406 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007526/0.1353, allocations: 1.063 MB / 419.4 MB, free: 6.316 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0007328/0.136, allocations: 312.7 kB / 419.7 MB, free: 6.008 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002836/0.1363, allocations: 63.44 kB / 419.8 MB, free: 5.945 MB / 318.1 MB Notification: Performance of SimCode: time 2.295e-06/0.1363, allocations: 0 / 419.8 MB, free: 5.945 MB / 318.1 MB Notification: Performance of Templates: time 0.1449/0.2812, allocations: 9.202 MB / 429 MB, free: 53.75 MB / 318.1 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)