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.005778/0.005778, allocations: 101.3 kB / 15.88 MB, free: 5.867 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.001347/0.001347, allocations: 192.9 kB / 16.79 MB, free: 5.809 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.302/1.302, allocations: 205.1 MB / 222.6 MB, free: 4.715 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/MEV 1.1.1/package.mo): time 0.008048/0.008048, allocations: 1.935 MB / 271.9 MB, free: 3.535 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.001435/0.001435, allocations: 63.91 kB / 329.8 MB, free: 33.25 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06527/0.06672, allocations: 47.14 MB / 376.9 MB, free: 2.066 MB / 270.1 MB Notification: Performance of NFInst.instantiate(MEV.Test.TestSequencer): time 0.002511/0.06926, allocations: 1.485 MB / 378.4 MB, free: 0.5625 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002987/0.06959, allocations: 127.8 kB / 378.6 MB, free: 444 kB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.962e-05/0.06964, allocations: 3.938 kB / 378.6 MB, free: 440 kB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 9.482e-05/0.06975, allocations: 3.984 kB / 378.6 MB, free: 436 kB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001184/0.06988, allocations: 12.31 kB / 378.6 MB, free: 424 kB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001001/0.06998, allocations: 19.92 kB / 378.6 MB, free: 404 kB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005942/0.07059, allocations: 0.6979 MB / 379.3 MB, free: 15.7 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004687/0.07107, allocations: 396.6 kB / 379.7 MB, free: 15.3 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000233/0.07131, allocations: 298.9 kB / 380 MB, free: 15.01 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004919/0.07181, allocations: 0.526 MB / 380.5 MB, free: 14.48 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001206/0.07194, allocations: 64 kB / 380.6 MB, free: 14.42 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001141/0.07206, allocations: 60 kB / 380.6 MB, free: 14.36 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001924/0.07225, allocations: 227.4 kB / 380.8 MB, free: 14.14 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003512/0.07261, allocations: 385.8 kB / 381.2 MB, free: 13.76 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005413/0.07316, allocations: 0.7256 MB / 381.9 MB, free: 13.04 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.489e-06/0.07317, allocations: 4 kB / 381.9 MB, free: 13.03 MB / 286.1 MB Notification: Performance of FrontEnd: time 9.21e-07/0.07318, allocations: 3.938 kB / 382 MB, free: 13.03 MB / 286.1 MB Notification: Performance of Transformations before backend: time 8.316e-06/0.07319, allocations: 4 kB / 382 MB, free: 13.02 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.002912/0.07611, allocations: 1.426 MB / 383.4 MB, free: 11.55 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.288e-05/0.07615, allocations: 8.031 kB / 383.4 MB, free: 11.54 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001558/0.07631, allocations: 87.98 kB / 383.5 MB, free: 11.45 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006611/0.07698, allocations: 0.5132 MB / 384 MB, free: 10.9 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.042e-05/0.07706, allocations: 65.41 kB / 384.1 MB, free: 10.84 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001075/0.07717, allocations: 60 kB / 384.1 MB, free: 10.78 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0022/0.07938, allocations: 1.244 MB / 385.4 MB, free: 9.531 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.295e-05/0.07941, allocations: 0 / 385.4 MB, free: 9.531 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.315e-05/0.07949, allocations: 23.98 kB / 385.4 MB, free: 9.508 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.324e-05/0.07951, allocations: 12 kB / 385.4 MB, free: 9.496 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005642/0.08516, allocations: 3.177 MB / 388.6 MB, free: 6.312 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003719/0.08889, allocations: 2.419 MB / 391 MB, free: 3.836 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003161/0.09207, allocations: 1.697 MB / 392.7 MB, free: 2.137 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003413/0.09549, allocations: 2.094 MB / 394.8 MB, free: 44 kB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.257e-05/0.09557, allocations: 8.656 kB / 394.8 MB, free: 32 kB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002082/0.09766, allocations: 1.304 MB / 396.1 MB, free: 14.71 MB / 302.1 MB Notification: Performance of pre-optimization done (n=99): time 2.735e-06/0.09767, allocations: 0 / 396.1 MB, free: 14.71 MB / 302.1 MB Notification: Performance of matching and sorting (n=99): time 0.005154/0.1028, allocations: 2.853 MB / 398.9 MB, free: 11.86 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.293e-05/0.1029, allocations: 92.38 kB / 399 MB, free: 11.75 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005419/0.1035, allocations: 0.5057 MB / 399.5 MB, free: 11.24 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 8.49e-05/0.1036, allocations: 61.69 kB / 399.6 MB, free: 11.18 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001927/0.1038, allocations: 281.1 kB / 399.9 MB, free: 10.89 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002563/0.104, allocations: 288 kB / 400.2 MB, free: 10.61 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000282/0.1043, allocations: 166.7 kB / 400.3 MB, free: 10.44 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001602/0.1045, allocations: 394.7 kB / 400.7 MB, free: 10.05 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001426/0.1059, allocations: 0.7474 MB / 401.5 MB, free: 9.297 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001578/0.1075, allocations: 1.025 MB / 402.5 MB, free: 8.148 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00293/0.1104, allocations: 1.784 MB / 404.3 MB, free: 6.234 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.655e-06/0.1105, allocations: 4 kB / 404.3 MB, free: 6.23 MB / 302.1 MB Notification: Performance of matching and sorting (n=119) (initialization): time 0.003367/0.1138, allocations: 1.832 MB / 406.1 MB, free: 4.391 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.101e-05/0.1139, allocations: 8 kB / 406.1 MB, free: 4.383 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.41e-05/0.1139, allocations: 8 kB / 406.1 MB, free: 4.375 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.321e-05/0.1139, allocations: 16 kB / 406.1 MB, free: 4.359 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009478/0.1149, allocations: 243.5 kB / 406.4 MB, free: 4.121 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.142e-05/0.1149, allocations: 19.94 kB / 406.4 MB, free: 4.102 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006305/0.1155, allocations: 155.2 kB / 406.5 MB, free: 3.949 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.446e-05/0.1156, allocations: 43.94 kB / 406.6 MB, free: 3.906 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.0004932/0.1161, allocations: 397.2 kB / 407 MB, free: 3.508 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001264/0.1163, allocations: 71.09 kB / 407 MB, free: 3.438 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002982/0.1166, allocations: 135.2 kB / 407.2 MB, free: 3.305 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.586e-06/0.1166, allocations: 8 kB / 407.2 MB, free: 3.297 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.017e-06/0.1166, allocations: 7.984 kB / 407.2 MB, free: 3.289 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.764e-06/0.1166, allocations: 3.984 kB / 407.2 MB, free: 3.285 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001328/0.1179, allocations: 1.094 MB / 408.3 MB, free: 2.141 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.731e-06/0.118, allocations: 4 kB / 408.3 MB, free: 2.137 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007642/0.1187, allocations: 187.7 kB / 408.5 MB, free: 1.953 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.272e-06/0.1187, allocations: 4 kB / 408.5 MB, free: 1.949 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.532e-05/0.1188, allocations: 23.98 kB / 408.5 MB, free: 1.926 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.602e-06/0.1188, allocations: 4 kB / 408.5 MB, free: 1.922 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.1188, allocations: 0 / 408.5 MB, free: 1.922 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003638/0.1225, allocations: 2.058 MB / 410.6 MB, free: 15.84 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001158/0.1226, allocations: 152.1 kB / 410.7 MB, free: 15.67 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001102/0.1227, allocations: 19.98 kB / 410.7 MB, free: 15.65 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000608/0.1233, allocations: 123.8 kB / 410.8 MB, free: 15.53 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000873/0.1242, allocations: 444.3 kB / 411.3 MB, free: 15.1 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.356e-05/0.1243, allocations: 31.98 kB / 411.3 MB, free: 15.07 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0003992/0.1247, allocations: 387 kB / 411.7 MB, free: 14.69 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.1247, allocations: 3.938 kB / 411.7 MB, free: 14.68 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.00061/0.1253, allocations: 227.5 kB / 411.9 MB, free: 14.46 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.0001774/0.1255, allocations: 139.1 kB / 412.1 MB, free: 14.32 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.003339/0.1289, allocations: 1.904 MB / 414 MB, free: 12.41 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 5.28e-06/0.1289, allocations: 2.562 kB / 414 MB, free: 12.41 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001836/0.1307, allocations: 1.122 MB / 415.1 MB, free: 11.29 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003542/0.1311, allocations: 53.95 kB / 415.1 MB, free: 11.24 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004145/0.1352, allocations: 2.739 MB / 417.9 MB, free: 8.461 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005533/0.1358, allocations: 1.056 MB / 418.9 MB, free: 7.379 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004104/0.1362, allocations: 55.44 kB / 419 MB, free: 7.324 MB / 318.1 MB Notification: Performance of SimCode: time 4.51e-07/0.1362, allocations: 4 kB / 419 MB, free: 7.32 MB / 318.1 MB Notification: Performance of Templates: time 0.136/0.2722, allocations: 12.16 MB / 431.1 MB, free: 52.95 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)