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.001203/0.001203, allocations: 107.3 kB / 16.41 MB, free: 6.512 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.001187/0.001187, allocations: 187 kB / 17.34 MB, free: 5.742 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.325/1.325, allocations: 205.1 MB / 223.2 MB, free: 12.22 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/MEV 1.1.1/package.mo): time 0.008674/0.008674, allocations: 1.939 MB / 272.5 MB, free: 10.05 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.001555/0.001555, allocations: 66.42 kB / 378.9 MB, free: 52.19 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0667/0.06827, allocations: 47.13 MB / 426 MB, free: 20.08 MB / 318.1 MB Notification: Performance of NFInst.instantiate(MEV.Test.TestSequencer): time 0.002177/0.07048, allocations: 1.433 MB / 427.5 MB, free: 18.64 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003231/0.07084, allocations: 131.8 kB / 427.6 MB, free: 18.51 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.064e-05/0.0709, allocations: 0 / 427.6 MB, free: 18.51 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001052/0.07102, allocations: 7.938 kB / 427.6 MB, free: 18.5 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001293/0.07115, allocations: 16.3 kB / 427.6 MB, free: 18.48 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001199/0.0713, allocations: 23.92 kB / 427.6 MB, free: 18.46 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004758/0.07179, allocations: 0.7407 MB / 428.4 MB, free: 17.72 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004088/0.07221, allocations: 409.2 kB / 428.8 MB, free: 17.32 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003059/0.07252, allocations: 374.8 kB / 429.2 MB, free: 16.95 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005215/0.07305, allocations: 0.5491 MB / 429.7 MB, free: 16.4 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001858/0.07324, allocations: 92 kB / 429.8 MB, free: 16.31 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001545/0.07341, allocations: 96 kB / 429.9 MB, free: 16.21 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000167/0.07358, allocations: 271.2 kB / 430.2 MB, free: 15.95 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003593/0.07395, allocations: 409.9 kB / 430.6 MB, free: 15.55 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005769/0.07453, allocations: 1.016 MB / 431.6 MB, free: 14.53 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.629e-06/0.07454, allocations: 0 / 431.6 MB, free: 14.53 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.723e-06/0.07455, allocations: 7.938 kB / 431.6 MB, free: 14.52 MB / 318.1 MB Notification: Performance of Transformations before backend: time 2.213e-05/0.07458, allocations: 0 / 431.6 MB, free: 14.52 MB / 318.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.002865/0.07745, allocations: 1.422 MB / 433 MB, free: 13.05 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.542e-05/0.07749, allocations: 11.89 kB / 433 MB, free: 13.04 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001505/0.07765, allocations: 83.91 kB / 433.1 MB, free: 12.95 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005227/0.07818, allocations: 0.5287 MB / 433.6 MB, free: 12.38 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.141e-05/0.07824, allocations: 61.66 kB / 433.7 MB, free: 12.32 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.499e-05/0.07834, allocations: 56.38 kB / 433.7 MB, free: 12.27 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001908/0.08026, allocations: 1.244 MB / 435 MB, free: 11.02 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.353e-05/0.08028, allocations: 0 / 435 MB, free: 11.02 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.674e-05/0.08037, allocations: 23.98 kB / 435 MB, free: 10.99 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.018e-05/0.08038, allocations: 16 kB / 435 MB, free: 10.98 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004787/0.08518, allocations: 3.169 MB / 438.2 MB, free: 7.805 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003322/0.08852, allocations: 2.4 MB / 440.6 MB, free: 5.344 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002807/0.09136, allocations: 1.702 MB / 442.3 MB, free: 3.629 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003016/0.09439, allocations: 2.051 MB / 444.3 MB, free: 1.574 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.122e-05/0.09446, allocations: 8.656 kB / 444.4 MB, free: 1.566 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001826/0.0963, allocations: 1.3 MB / 445.7 MB, free: 260 kB / 318.1 MB Notification: Performance of pre-optimization done (n=99): time 3.476e-06/0.09632, allocations: 0 / 445.7 MB, free: 260 kB / 318.1 MB Notification: Performance of matching and sorting (n=99): time 0.005436/0.1018, allocations: 2.857 MB / 448.5 MB, free: 13.38 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.326e-05/0.1019, allocations: 88.31 kB / 448.6 MB, free: 13.29 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005836/0.1025, allocations: 0.5135 MB / 449.1 MB, free: 12.76 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001038/0.1026, allocations: 57.69 kB / 449.2 MB, free: 12.7 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002003/0.1028, allocations: 285.1 kB / 449.4 MB, free: 12.41 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.00026/0.103, allocations: 292 kB / 449.7 MB, free: 12.13 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000276/0.1033, allocations: 162.6 kB / 449.9 MB, free: 11.96 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001597/0.1035, allocations: 386.8 kB / 450.3 MB, free: 11.58 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001512/0.105, allocations: 0.7357 MB / 451 MB, free: 10.84 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001663/0.1067, allocations: 1.032 MB / 452 MB, free: 9.684 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003183/0.1099, allocations: 1.791 MB / 453.8 MB, free: 7.77 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.003e-05/0.1099, allocations: 4 kB / 453.8 MB, free: 7.766 MB / 334.1 MB Notification: Performance of matching and sorting (n=119) (initialization): time 0.003622/0.1135, allocations: 1.832 MB / 455.7 MB, free: 5.926 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.563e-05/0.1136, allocations: 12 kB / 455.7 MB, free: 5.914 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.625e-05/0.1136, allocations: 8 kB / 455.7 MB, free: 5.906 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.981e-05/0.1136, allocations: 16 kB / 455.7 MB, free: 5.891 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00104/0.1147, allocations: 239.6 kB / 455.9 MB, free: 5.656 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.257e-05/0.1147, allocations: 19.92 kB / 455.9 MB, free: 5.637 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007519/0.1155, allocations: 155.2 kB / 456.1 MB, free: 5.484 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.351e-05/0.1156, allocations: 43.94 kB / 456.1 MB, free: 5.441 MB / 334.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.0005632/0.1161, allocations: 401.2 kB / 456.5 MB, free: 5.039 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001494/0.1163, allocations: 67.16 kB / 456.6 MB, free: 4.973 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003814/0.1167, allocations: 131.2 kB / 456.7 MB, free: 4.844 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.586e-06/0.1167, allocations: 12 kB / 456.7 MB, free: 4.832 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.222e-05/0.1167, allocations: 0 / 456.7 MB, free: 4.832 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.749e-06/0.1167, allocations: 3.984 kB / 456.7 MB, free: 4.828 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001392/0.1181, allocations: 1.108 MB / 457.9 MB, free: 3.664 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.422e-06/0.1182, allocations: 0 / 457.9 MB, free: 3.664 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008732/0.119, allocations: 195.7 kB / 458 MB, free: 3.473 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.377e-06/0.119, allocations: 4 kB / 458 MB, free: 3.469 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.715e-05/0.1191, allocations: 23.98 kB / 458.1 MB, free: 3.445 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.434e-06/0.1191, allocations: 4 kB / 458.1 MB, free: 3.441 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.353e-06/0.1192, allocations: 0 / 458.1 MB, free: 3.441 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003837/0.123, allocations: 2.058 MB / 460.1 MB, free: 1.367 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001502/0.1232, allocations: 156.1 kB / 460.3 MB, free: 1.195 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000127/0.1233, allocations: 16 kB / 460.3 MB, free: 1.18 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007664/0.1241, allocations: 123.8 kB / 460.4 MB, free: 1.059 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008577/0.1249, allocations: 444.3 kB / 460.9 MB, free: 0.625 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.642e-05/0.125, allocations: 28 kB / 460.9 MB, free: 0.5977 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.000432/0.1255, allocations: 395 kB / 461.3 MB, free: 216 kB / 334.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1255, allocations: 0 / 461.3 MB, free: 216 kB / 334.1 MB Notification: Performance of remove unused functions: time 0.0006806/0.1262, allocations: 215.7 kB / 461.5 MB, free: 0 / 334.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.000224/0.1264, allocations: 151 kB / 461.6 MB, free: 15.85 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.003642/0.13, allocations: 1.905 MB / 463.5 MB, free: 13.94 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 7.795e-06/0.1301, allocations: 1 kB / 463.5 MB, free: 13.94 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002026/0.1321, allocations: 1.122 MB / 464.7 MB, free: 12.82 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004317/0.1326, allocations: 53.89 kB / 464.7 MB, free: 12.76 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004308/0.1369, allocations: 2.475 MB / 467.2 MB, free: 10.25 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006036/0.1375, allocations: 1.056 MB / 468.2 MB, free: 9.168 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004495/0.138, allocations: 71.44 kB / 468.3 MB, free: 9.098 MB / 350.1 MB Notification: Performance of SimCode: time 7.02e-07/0.138, allocations: 0 / 468.3 MB, free: 9.098 MB / 350.1 MB Notification: Performance of Templates: time 0.01746/0.1554, allocations: 12.25 MB / 480.6 MB, free: 12.8 MB / 366.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)