Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Inverter.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001256/0.001256, allocations: 112 kB / 20.43 MB, free: 1.449 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001411/0.001411, allocations: 187.8 kB / 23.72 MB, free: 4.68 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.56/1.56, allocations: 225.6 MB / 252.5 MB, free: 13.02 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo): time 0.1964/0.1964, allocations: 38.53 MB / 346.3 MB, free: 2.082 MB / 270.1 MB " [Timeout remaining time 179] Using package PowerSystems with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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(PowerSystems.Examples.AC3ph.Elementary.Inverter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Inverter") translateModel(PowerSystems.Examples.AC3ph.Elementary.Inverter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Inverter") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.003094/0.003094, allocations: 67.91 kB / 484.5 MB, free: 11.14 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4808/0.4839, allocations: 61.29 MB / 0.533 GB, free: 5.574 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Elementary.Inverter): time 0.008647/0.4926, allocations: 7.127 MB / 0.54 GB, free: 320 kB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.004826/0.4974, allocations: 2.052 MB / 0.542 GB, free: 14.67 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007199/0.4981, allocations: 49.16 kB / 0.542 GB, free: 14.64 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001637/0.4997, allocations: 0.4951 MB / 0.5425 GB, free: 14.25 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001876/0.5016, allocations: 0.5706 MB / 0.5431 GB, free: 13.8 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001259/0.5029, allocations: 411.8 kB / 0.5435 GB, free: 13.49 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.002051/0.5049, allocations: 1.404 MB / 0.5449 GB, free: 12.7 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009924/0.5059, allocations: 0.5657 MB / 0.5454 GB, free: 12.32 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001268/0.5072, allocations: 0.6542 MB / 0.546 GB, free: 11.95 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001178/0.5084, allocations: 0.7304 MB / 0.5468 GB, free: 11.5 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001741/0.5085, allocations: 97.97 kB / 0.5468 GB, free: 11.5 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001212/0.5098, allocations: 0.544 MB / 0.5474 GB, free: 11.26 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006412/0.5104, allocations: 0.5045 MB / 0.5479 GB, free: 10.94 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008241/0.5112, allocations: 0.5626 MB / 0.5484 GB, free: 10.55 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003417/0.5146, allocations: 1.54 MB / 0.5499 GB, free: 9.504 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.055e-06/0.5146, allocations: 4 kB / 0.5499 GB, free: 9.5 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.865e-06/0.5146, allocations: 0 / 0.5499 GB, free: 9.5 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.46e-05/0.5147, allocations: 0 / 0.5499 GB, free: 9.5 MB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 248 * Number of variables: 248 Notification: Performance of Generate backend data structure: time 0.004796/0.5195, allocations: 1.526 MB / 0.5514 GB, free: 8.367 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.033e-05/0.5195, allocations: 9.219 kB / 0.5514 GB, free: 8.367 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009851/0.5205, allocations: 167.2 kB / 0.5516 GB, free: 8.285 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001606/0.5221, allocations: 0.6611 MB / 0.5522 GB, free: 7.809 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002299/0.5224, allocations: 176.3 kB / 0.5524 GB, free: 7.672 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002944/0.5227, allocations: 107.5 kB / 0.5525 GB, free: 7.633 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003456/0.5261, allocations: 1.531 MB / 0.554 GB, free: 6.473 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.215e-05/0.5261, allocations: 3.938 kB / 0.554 GB, free: 6.469 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001149/0.5263, allocations: 39.97 kB / 0.554 GB, free: 6.43 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001774/0.5264, allocations: 73.97 kB / 0.5541 GB, free: 6.359 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002546/0.529, allocations: 1.163 MB / 0.5552 GB, free: 5.195 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007685/0.5367, allocations: 4.699 MB / 0.5598 GB, free: 360 kB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003091/0.5398, allocations: 0.9957 MB / 0.5608 GB, free: 15.34 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001328/0.5411, allocations: 0.515 MB / 0.5613 GB, free: 14.82 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.928e-05/0.5411, allocations: 8.656 kB / 0.5613 GB, free: 14.81 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001583/0.5427, allocations: 0.7107 MB / 0.562 GB, free: 14.07 MB / 414.1 MB Notification: Performance of pre-optimization done (n=80): time 2.966e-06/0.5427, allocations: 0 / 0.562 GB, free: 14.07 MB / 414.1 MB Notification: Performance of matching and sorting (n=81): time 0.007967/0.5507, allocations: 3.006 MB / 0.565 GB, free: 11.04 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001126/0.5508, allocations: 123.5 kB / 0.5651 GB, free: 10.89 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008393/0.5516, allocations: 0.5928 MB / 0.5656 GB, free: 10.29 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 8.7e-05/0.5517, allocations: 53.7 kB / 0.5657 GB, free: 10.23 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004228/0.5521, allocations: 468.3 kB / 0.5661 GB, free: 9.766 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002808/0.5524, allocations: 277.8 kB / 0.5664 GB, free: 9.492 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000412/0.5528, allocations: 202.5 kB / 0.5666 GB, free: 9.289 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002455/0.5531, allocations: 402.6 kB / 0.567 GB, free: 8.887 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007384/0.5538, allocations: 482 kB / 0.5674 GB, free: 8.41 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009922/0.5548, allocations: 0.7502 MB / 0.5682 GB, free: 7.551 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00175/0.5566, allocations: 1.253 MB / 0.5694 GB, free: 6.18 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.663e-06/0.5566, allocations: 4 kB / 0.5694 GB, free: 6.176 MB / 414.1 MB Notification: Performance of matching and sorting (n=137) (initialization): time 0.002789/0.5594, allocations: 1.502 MB / 0.5709 GB, free: 4.656 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.583e-05/0.5595, allocations: 69.61 kB / 0.5709 GB, free: 4.582 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.002095/0.5616, allocations: 1.237 MB / 0.5721 GB, free: 3.332 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004817/0.562, allocations: 129.8 kB / 0.5723 GB, free: 3.199 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008477/0.5629, allocations: 195.7 kB / 0.5725 GB, free: 3.008 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003159/0.566, allocations: 3.158 MB / 0.5755 GB, free: 15.62 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008989/0.5669, allocations: 80.02 kB / 0.5756 GB, free: 15.54 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001341/0.5671, allocations: 75.94 kB / 0.5757 GB, free: 15.46 MB / 430.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 37 * Number of states: 0 () * Number of discrete variables: 28 (system.initime,ac_dc.modulator.t0[3],$PRE.ac_dc.modulator.t0[3],ac_dc.modulator.t0[2],$PRE.ac_dc.modulator.t0[2],ac_dc.modulator.t0[1],$PRE.ac_dc.modulator.t0[1],ac_dc.modulator.sigdel_t[3],$PRE.ac_dc.modulator.sigdel_t[3],ac_dc.modulator.sigdel_t[2],$PRE.ac_dc.modulator.sigdel_t[2],ac_dc.modulator.sigdel_t[1],$PRE.ac_dc.modulator.sigdel_t[1],ac_dc.modulator.gates[6],$PRE.ac_dc.modulator.gates[6],ac_dc.modulator.gates[5],$PRE.ac_dc.modulator.gates[5],ac_dc.modulator.gates[4],$PRE.ac_dc.modulator.gates[4],ac_dc.modulator.gates[3],$PRE.ac_dc.modulator.gates[3],ac_dc.modulator.gates[2],$PRE.ac_dc.modulator.gates[2],ac_dc.modulator.gates[1],$PRE.ac_dc.modulator.gates[1],$whenCondition1,$whenCondition2,$whenCondition3) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (113): * Single equations (assignments): 109 * Array equations: 1 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,2,100.0%), (1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0007777/0.5679, allocations: 381.2 kB / 0.5761 GB, free: 15.08 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001736/0.568, allocations: 79.48 kB / 0.5761 GB, free: 15 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003007/0.571, allocations: 1.191 MB / 0.5773 GB, free: 13.8 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.742e-05/0.5711, allocations: 20 kB / 0.5773 GB, free: 13.78 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.98e-06/0.5711, allocations: 0 / 0.5773 GB, free: 13.78 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.389e-05/0.5711, allocations: 11.91 kB / 0.5773 GB, free: 13.77 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004941/0.576, allocations: 2.32 MB / 0.5796 GB, free: 11.38 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.893e-06/0.576, allocations: 0 / 0.5796 GB, free: 11.38 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007603/0.5768, allocations: 143.8 kB / 0.5797 GB, free: 11.24 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001465/0.5769, allocations: 40.77 kB / 0.5798 GB, free: 11.2 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.822e-05/0.577, allocations: 32.06 kB / 0.5798 GB, free: 11.17 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001533/0.5786, allocations: 1.523 MB / 0.5813 GB, free: 9.535 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.414e-06/0.5786, allocations: 7.969 kB / 0.5813 GB, free: 9.527 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00444/0.583, allocations: 1.849 MB / 0.5831 GB, free: 7.645 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005694/0.5836, allocations: 171.4 kB / 0.5833 GB, free: 7.477 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003068/0.5839, allocations: 71.95 kB / 0.5833 GB, free: 7.406 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009317/0.5848, allocations: 91.86 kB / 0.5834 GB, free: 7.316 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001599/0.585, allocations: 56.5 kB / 0.5835 GB, free: 7.262 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.814e-05/0.585, allocations: 35.97 kB / 0.5835 GB, free: 7.227 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0006666/0.5857, allocations: 398.8 kB / 0.5839 GB, free: 6.836 MB / 430.1 MB Notification: Performance of sort global known variables: time 9e-08/0.5857, allocations: 4 kB / 0.5839 GB, free: 6.832 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.001559/0.5873, allocations: 235.9 kB / 0.5841 GB, free: 6.602 MB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 7 (ind.i[1],ind.i[2],ind.i[3],meterAC.pav[1],meterAC.pav[2],meterAC.pav[3],meterDC.pav) * Number of discrete variables: 16 ($whenCondition3,$whenCondition2,$whenCondition1,ac_dc.modulator.gates[1],ac_dc.modulator.gates[2],ac_dc.modulator.gates[3],ac_dc.modulator.gates[4],ac_dc.modulator.gates[5],ac_dc.modulator.gates[6],ac_dc.modulator.sigdel_t[1],ac_dc.modulator.sigdel_t[2],ac_dc.modulator.sigdel_t[3],ac_dc.modulator.t0[1],ac_dc.modulator.t0[2],ac_dc.modulator.t0[3],system.initime) * Number of discrete states: 12 (ac_dc.modulator.t0[3],ac_dc.modulator.sigdel_t[3],ac_dc.modulator.gates[5],ac_dc.modulator.gates[6],ac_dc.modulator.t0[2],ac_dc.modulator.sigdel_t[2],ac_dc.modulator.gates[3],ac_dc.modulator.gates[4],ac_dc.modulator.t0[1],ac_dc.modulator.sigdel_t[1],ac_dc.modulator.gates[1],ac_dc.modulator.gates[2]) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (78): * Single equations (assignments): 63 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 0 * When equations: 13 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0005179/0.5878, allocations: 182.7 kB / 0.5843 GB, free: 6.414 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.003616/0.5914, allocations: 1.486 MB / 0.5857 GB, free: 4.891 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 6.422e-06/0.5914, allocations: 0.6875 kB / 0.5857 GB, free: 4.891 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001596/0.593, allocations: 0.6196 MB / 0.5863 GB, free: 4.258 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001433/0.5944, allocations: 177.5 kB / 0.5865 GB, free: 4.094 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005653/0.6001, allocations: 2.374 MB / 0.5888 GB, free: 1.676 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001438/0.6015, allocations: 1.103 MB / 0.5899 GB, free: 0.543 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.001062/0.6026, allocations: 238.5 kB / 0.5901 GB, free: 312 kB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003618/0.603, allocations: 67.42 kB / 0.5902 GB, free: 244 kB / 430.1 MB Notification: Performance of SimCode: time 2.004e-06/0.603, allocations: 0 / 0.5902 GB, free: 244 kB / 430.1 MB Notification: Performance of Templates: time 0.02904/0.632, allocations: 12.08 MB / 0.602 GB, free: 4.242 MB / 446.1 MB " [Timeout remaining time 659] make -j1 -f PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Inverter.makefile [Timeout 660] (rm -f PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Inverter.pipe ; mkfifo PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Inverter.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Inverter.pipe >> ../files/PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Inverter.sim & ./PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Inverter -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Inverter.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.647874810732901] Failed to read output from testmodel.py, exit status != 0: 0.6434789076447487 0.658132746 0.14003617100000001 Calling exit ... <OMPython.OMCSessionZMQ object at 0x7f7534ba97b0>