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.001255/0.001255, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001519/0.001519, allocations: 197.7 kB / 16.14 MB, free: 6.703 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.308/1.308, allocations: 205.1 MB / 222 MB, free: 4.996 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/MEV 1.1.1/package.mo): time 0.008588/0.008588, allocations: 1.932 MB / 271.3 MB, free: 3.785 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.001249/0.001249, allocations: 68.23 kB / 329.1 MB, free: 33.3 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07887/0.08013, allocations: 47.15 MB / 376.3 MB, free: 2.105 MB / 270.1 MB Notification: Performance of NFInst.instantiate(MEV.Test.TestSequencer): time 0.002443/0.08262, allocations: 1.479 MB / 377.8 MB, free: 0.6055 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002883/0.08293, allocations: 125 kB / 377.9 MB, free: 492 kB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.369e-05/0.08298, allocations: 3.938 kB / 377.9 MB, free: 488 kB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 9.593e-05/0.08309, allocations: 0 / 377.9 MB, free: 488 kB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001246/0.08322, allocations: 20.28 kB / 377.9 MB, free: 468 kB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 9.674e-05/0.08333, allocations: 23.92 kB / 377.9 MB, free: 444 kB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005618/0.0839, allocations: 0.694 MB / 378.6 MB, free: 15.74 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004382/0.08435, allocations: 392.6 kB / 379 MB, free: 15.35 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002105/0.08457, allocations: 298.9 kB / 379.3 MB, free: 15.06 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000489/0.08506, allocations: 0.5338 MB / 379.8 MB, free: 14.52 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001146/0.08518, allocations: 64 kB / 379.9 MB, free: 14.46 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001083/0.0853, allocations: 60 kB / 380 MB, free: 14.4 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001933/0.0855, allocations: 227.5 kB / 380.2 MB, free: 14.18 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003153/0.08582, allocations: 381.8 kB / 380.6 MB, free: 13.8 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006771/0.0865, allocations: 0.9506 MB / 381.5 MB, free: 12.85 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.246e-06/0.08651, allocations: 0 / 381.5 MB, free: 12.85 MB / 286.1 MB Notification: Performance of FrontEnd: time 9.82e-07/0.08652, allocations: 0 / 381.5 MB, free: 12.85 MB / 286.1 MB Notification: Performance of Transformations before backend: time 7.805e-06/0.08654, allocations: 4 kB / 381.5 MB, free: 12.85 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.002822/0.08936, allocations: 1.43 MB / 382.9 MB, free: 11.37 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.593e-05/0.08941, allocations: 8.031 kB / 383 MB, free: 11.36 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001604/0.08957, allocations: 80 kB / 383 MB, free: 11.28 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006564/0.09024, allocations: 0.5286 MB / 383.6 MB, free: 10.71 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.059e-05/0.09031, allocations: 65.41 kB / 383.6 MB, free: 10.65 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001033/0.09041, allocations: 52 kB / 383.7 MB, free: 10.6 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002078/0.0925, allocations: 1.244 MB / 384.9 MB, free: 9.352 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.387e-05/0.09253, allocations: 4 kB / 384.9 MB, free: 9.348 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.434e-05/0.09261, allocations: 20 kB / 384.9 MB, free: 9.328 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.529e-05/0.09263, allocations: 12 kB / 385 MB, free: 9.316 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005293/0.09792, allocations: 3.181 MB / 388.1 MB, free: 6.129 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00364/0.1016, allocations: 2.404 MB / 390.5 MB, free: 3.668 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002975/0.1046, allocations: 1.701 MB / 392.2 MB, free: 1.965 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00324/0.1078, allocations: 2.102 MB / 394.3 MB, free: 15.86 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.379e-05/0.1079, allocations: 8.656 kB / 394.4 MB, free: 15.85 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002073/0.11, allocations: 1.296 MB / 395.6 MB, free: 14.54 MB / 302.1 MB Notification: Performance of pre-optimization done (n=99): time 2.795e-06/0.11, allocations: 0 / 395.6 MB, free: 14.54 MB / 302.1 MB Notification: Performance of matching and sorting (n=99): time 0.00489/0.1149, allocations: 2.861 MB / 398.5 MB, free: 11.68 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.993e-05/0.115, allocations: 80.39 kB / 398.6 MB, free: 11.59 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005307/0.1155, allocations: 0.5174 MB / 399.1 MB, free: 11.06 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 7.612e-05/0.1156, allocations: 57.69 kB / 399.2 MB, free: 11 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001789/0.1158, allocations: 281.1 kB / 399.4 MB, free: 10.72 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002339/0.116, allocations: 292 kB / 399.7 MB, free: 10.43 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002571/0.1163, allocations: 162.7 kB / 399.9 MB, free: 10.27 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001478/0.1164, allocations: 390.7 kB / 400.3 MB, free: 9.875 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001334/0.1178, allocations: 0.7474 MB / 401 MB, free: 9.125 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001486/0.1193, allocations: 1.028 MB / 402 MB, free: 7.973 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00278/0.1221, allocations: 1.78 MB / 403.8 MB, free: 6.062 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.875e-06/0.1221, allocations: 11.94 kB / 403.8 MB, free: 6.051 MB / 302.1 MB Notification: Performance of matching and sorting (n=119) (initialization): time 0.003162/0.1252, allocations: 1.836 MB / 405.7 MB, free: 4.207 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.489e-05/0.1253, allocations: 8 kB / 405.7 MB, free: 4.199 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.61e-05/0.1253, allocations: 11.94 kB / 405.7 MB, free: 4.188 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.396e-05/0.1253, allocations: 16 kB / 405.7 MB, free: 4.172 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009382/0.1263, allocations: 235.6 kB / 405.9 MB, free: 3.941 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.162e-05/0.1263, allocations: 19.92 kB / 405.9 MB, free: 3.922 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006069/0.1269, allocations: 159.2 kB / 406.1 MB, free: 3.766 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.627e-05/0.127, allocations: 36 kB / 406.1 MB, free: 3.73 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.0005037/0.1275, allocations: 401.2 kB / 406.5 MB, free: 3.328 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001147/0.1276, allocations: 71.14 kB / 406.6 MB, free: 3.258 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002354/0.1279, allocations: 135.2 kB / 406.7 MB, free: 3.125 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.804e-06/0.1279, allocations: 8 kB / 406.7 MB, free: 3.117 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.107e-06/0.1279, allocations: 0 / 406.7 MB, free: 3.117 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.958e-06/0.1279, allocations: 11.97 kB / 406.8 MB, free: 3.105 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001356/0.1293, allocations: 1.093 MB / 407.8 MB, free: 1.961 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.685e-06/0.1293, allocations: 4 kB / 407.8 MB, free: 1.957 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007146/0.13, allocations: 191.7 kB / 408 MB, free: 1.77 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.641e-06/0.13, allocations: 4 kB / 408 MB, free: 1.766 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.493e-05/0.1301, allocations: 20 kB / 408.1 MB, free: 1.746 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.44e-06/0.1301, allocations: 4 kB / 408.1 MB, free: 1.742 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.777e-06/0.1301, allocations: 0 / 408.1 MB, free: 1.742 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003421/0.1335, allocations: 2.066 MB / 410.1 MB, free: 15.65 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001376/0.1337, allocations: 152.1 kB / 410.3 MB, free: 15.48 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001076/0.1338, allocations: 15.98 kB / 410.3 MB, free: 15.47 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005698/0.1344, allocations: 119.8 kB / 410.4 MB, free: 15.35 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008168/0.1352, allocations: 452.3 kB / 410.9 MB, free: 14.91 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.791e-05/0.1353, allocations: 31.97 kB / 410.9 MB, free: 14.88 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0003884/0.1357, allocations: 387 kB / 411.3 MB, free: 14.5 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1357, allocations: 0 / 411.3 MB, free: 14.5 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0005946/0.1363, allocations: 223.6 kB / 411.5 MB, free: 14.28 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.0001781/0.1365, allocations: 139.1 kB / 411.6 MB, free: 14.14 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.00316/0.1396, allocations: 1.901 MB / 413.5 MB, free: 12.24 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 1.733e-06/0.1397, allocations: 0 / 413.5 MB, free: 12.24 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001617/0.1413, allocations: 1.073 MB / 414.6 MB, free: 11.17 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003521/0.1416, allocations: 53.89 kB / 414.6 MB, free: 11.11 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003682/0.1453, allocations: 2.694 MB / 417.3 MB, free: 8.387 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000498/0.1458, allocations: 1.068 MB / 418.4 MB, free: 7.293 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0007383/0.1466, allocations: 328.7 kB / 418.7 MB, free: 6.969 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002813/0.1469, allocations: 59.36 kB / 418.8 MB, free: 6.91 MB / 318.1 MB Notification: Performance of SimCode: time 3.21e-07/0.1469, allocations: 0 / 418.8 MB, free: 6.91 MB / 318.1 MB Notification: Performance of Templates: time 0.1475/0.2944, allocations: 8.814 MB / 427.6 MB, free: 53.79 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)