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.0008939/0.0008939, allocations: 86.48 kB / 15.06 MB, free: 1.09 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.0009562/0.0009564, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.936/1.936, allocations: 205.4 MB / 222.1 MB, free: 5.652 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/MEV 1.1.1/package.mo): time 0.01232/0.01232, allocations: 1.92 MB / 272.3 MB, free: 3.387 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.0006664/0.0006667, allocations: 16 kB / 330.9 MB, free: 33.34 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1097/0.1104, allocations: 48.09 MB / 379 MB, free: 1.195 MB / 270.1 MB Notification: Performance of NFInst.instantiate(MEV.Test.TestSequencer): time 0.002012/0.1125, allocations: 1.144 MB / 380.1 MB, free: 36 kB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004929/0.113, allocations: 124.8 kB / 380.3 MB, free: 15.91 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.623e-05/0.1131, allocations: 0 / 380.3 MB, free: 15.91 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001195/0.1133, allocations: 3.938 kB / 380.3 MB, free: 15.91 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002375/0.1135, allocations: 27.91 kB / 380.3 MB, free: 15.88 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001734/0.1137, allocations: 11.98 kB / 380.3 MB, free: 15.87 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008272/0.1145, allocations: 0.6665 MB / 381 MB, free: 15.2 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007265/0.1153, allocations: 353.9 kB / 381.3 MB, free: 14.86 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006049/0.1159, allocations: 251.1 kB / 381.6 MB, free: 14.61 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008047/0.1167, allocations: 458.5 kB / 382 MB, free: 14.16 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002803/0.117, allocations: 52 kB / 382 MB, free: 14.11 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002145/0.1172, allocations: 48 kB / 382.1 MB, free: 14.06 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002468/0.1175, allocations: 203.3 kB / 382.3 MB, free: 13.86 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002865/0.1178, allocations: 137.3 kB / 382.4 MB, free: 13.72 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008315/0.1186, allocations: 0.7059 MB / 383.1 MB, free: 13.02 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.582e-06/0.1187, allocations: 0 / 383.1 MB, free: 13.02 MB / 286.1 MB Notification: Performance of FrontEnd: time 2.294e-06/0.1187, allocations: 0 / 383.1 MB, free: 13.02 MB / 286.1 MB Notification: Performance of Transformations before backend: time 4.479e-05/0.1187, allocations: 0 / 383.1 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.004735/0.1235, allocations: 1.894 MB / 385 MB, free: 11.07 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.726e-05/0.1235, allocations: 8.031 kB / 385 MB, free: 11.06 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004333/0.124, allocations: 83.05 kB / 385.1 MB, free: 10.98 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008916/0.1249, allocations: 0.5122 MB / 385.6 MB, free: 10.43 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001084/0.125, allocations: 61.3 kB / 385.7 MB, free: 10.37 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001178/0.1251, allocations: 55.95 kB / 385.7 MB, free: 10.31 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002567/0.1277, allocations: 1.318 MB / 387.1 MB, free: 8.988 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.064e-05/0.1277, allocations: 0 / 387.1 MB, free: 8.988 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.082e-05/0.1278, allocations: 23.98 kB / 387.1 MB, free: 8.965 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.651e-05/0.1278, allocations: 12 kB / 387.1 MB, free: 8.953 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005831/0.1337, allocations: 3.337 MB / 390.4 MB, free: 5.609 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005/0.1387, allocations: 2.899 MB / 393.3 MB, free: 2.656 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003628/0.1424, allocations: 1.881 MB / 395.2 MB, free: 0.7656 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004151/0.1466, allocations: 2.483 MB / 397.7 MB, free: 14.28 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.309e-05/0.1467, allocations: 8.656 kB / 397.7 MB, free: 14.27 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002391/0.1491, allocations: 1.374 MB / 399.1 MB, free: 12.88 MB / 302.1 MB Notification: Performance of pre-optimization done (n=99): time 4.748e-06/0.1491, allocations: 4 kB / 399.1 MB, free: 12.88 MB / 302.1 MB Notification: Performance of matching and sorting (n=99): time 0.006252/0.1554, allocations: 3.099 MB / 402.2 MB, free: 9.773 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001092/0.1555, allocations: 88.31 kB / 402.3 MB, free: 9.676 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000787/0.1563, allocations: 0.5096 MB / 402.8 MB, free: 9.16 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001165/0.1565, allocations: 65.62 kB / 402.8 MB, free: 9.09 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002326/0.1567, allocations: 273.2 kB / 403.1 MB, free: 8.816 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003648/0.1571, allocations: 296 kB / 403.4 MB, free: 8.523 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.084e-05/0.1572, allocations: 24 kB / 403.4 MB, free: 8.5 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0002025/0.1574, allocations: 386.8 kB / 403.8 MB, free: 8.113 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001523/0.1589, allocations: 0.8216 MB / 404.6 MB, free: 7.293 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001886/0.1608, allocations: 1.102 MB / 405.7 MB, free: 6.066 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001631/0.1625, allocations: 0.8853 MB / 406.6 MB, free: 5.18 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.414e-05/0.1625, allocations: 4 kB / 406.6 MB, free: 5.176 MB / 302.1 MB Notification: Performance of matching and sorting (n=119) (initialization): time 0.003709/0.1662, allocations: 1.988 MB / 408.6 MB, free: 3.18 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.856e-05/0.1663, allocations: 12 kB / 408.6 MB, free: 3.168 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.275e-05/0.1663, allocations: 8 kB / 408.6 MB, free: 3.16 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.43e-05/0.1663, allocations: 20 kB / 408.6 MB, free: 3.141 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001021/0.1674, allocations: 283.6 kB / 408.9 MB, free: 2.863 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.505e-05/0.1674, allocations: 19.92 kB / 408.9 MB, free: 2.844 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007785/0.1682, allocations: 199.2 kB / 409.1 MB, free: 2.648 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.372e-05/0.1683, allocations: 43.89 kB / 409.2 MB, free: 2.605 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,$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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0006522/0.169, allocations: 394 kB / 409.6 MB, free: 2.211 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002074/0.1692, allocations: 67.16 kB / 409.6 MB, free: 2.145 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004137/0.1696, allocations: 139.2 kB / 409.8 MB, free: 2.004 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.126e-05/0.1696, allocations: 8 kB / 409.8 MB, free: 1.996 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.474e-05/0.1696, allocations: 0 / 409.8 MB, free: 1.996 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.211e-05/0.1697, allocations: 7.984 kB / 409.8 MB, free: 1.988 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001495/0.1712, allocations: 1.093 MB / 410.9 MB, free: 0.8438 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.061e-06/0.1712, allocations: 4 kB / 410.9 MB, free: 0.8398 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007783/0.172, allocations: 239.7 kB / 411.1 MB, free: 0.6055 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.176e-05/0.172, allocations: 7.953 kB / 411.1 MB, free: 0.5977 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.057e-05/0.1721, allocations: 19.98 kB / 411.1 MB, free: 0.5781 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.637e-06/0.1721, allocations: 7.938 kB / 411.1 MB, free: 0.5703 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.223e-06/0.1721, allocations: 0 / 411.1 MB, free: 0.5703 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003636/0.1757, allocations: 2.211 MB / 413.4 MB, free: 14.34 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001578/0.1759, allocations: 156.1 kB / 413.5 MB, free: 14.17 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001019/0.176, allocations: 15.95 kB / 413.5 MB, free: 14.15 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006068/0.1766, allocations: 167.8 kB / 413.7 MB, free: 13.99 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000828/0.1775, allocations: 448.3 kB / 414.1 MB, free: 13.55 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.089e-05/0.1775, allocations: 35.92 kB / 414.2 MB, free: 13.52 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0004565/0.178, allocations: 379 kB / 414.5 MB, free: 13.14 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.178, allocations: 0 / 414.5 MB, free: 13.14 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.000741/0.1788, allocations: 231.6 kB / 414.8 MB, free: 12.92 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 (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.0002222/0.179, allocations: 143 kB / 414.9 MB, free: 12.77 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.00373/0.1827, allocations: 2.058 MB / 417 MB, free: 10.72 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 4.969e-06/0.1828, allocations: 8.062 kB / 417 MB, free: 10.71 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001969/0.1847, allocations: 1.145 MB / 418.1 MB, free: 9.566 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004302/0.1852, allocations: 49.95 kB / 418.2 MB, free: 9.52 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004547/0.1897, allocations: 2.633 MB / 420.8 MB, free: 6.848 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006474/0.1904, allocations: 1.06 MB / 421.8 MB, free: 5.762 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0008807/0.1913, allocations: 332.6 kB / 422.2 MB, free: 5.434 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002643/0.1916, allocations: 51.44 kB / 422.2 MB, free: 5.383 MB / 318.1 MB Notification: Performance of SimCode: time 1.563e-06/0.1916, allocations: 0 / 422.2 MB, free: 5.383 MB / 318.1 MB Notification: Performance of Templates: time 0.2169/0.4085, allocations: 8.382 MB / 430.6 MB, free: 53.05 MB / 318.1 MB make -j1 -f MEV_MEV.Test.TestSequencer.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: