Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Inverter.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001303/0.001303, allocations: 103.6 kB / 21.18 MB, free: 0.6445 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.00147/0.00147, allocations: 209 kB / 24.48 MB, free: 3.938 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.455/1.455, allocations: 230.6 MB / 258.2 MB, free: 7.742 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.1888/0.1888, allocations: 38.56 MB / 353.2 MB, free: 12.28 MB / 286.1 MB " [Timeout remaining time 180] 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.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(PowerSystems.Examples.AC1ph_DC.Elementary.Inverter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Inverter") translateModel(PowerSystems.Examples.AC1ph_DC.Elementary.Inverter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Inverter") [Timeout 660] "Notification: PowerSystems requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0021/0.0021, allocations: 63.89 kB / 493.7 MB, free: 4.172 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.302/0.3041, allocations: 62.47 MB / 0.5432 GB, free: 400 kB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Elementary.Inverter): time 0.008591/0.3127, allocations: 6.189 MB / 0.5492 GB, free: 11.7 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002793/0.3155, allocations: 1.293 MB / 0.5505 GB, free: 10.67 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003793/0.3158, allocations: 39.91 kB / 0.5505 GB, free: 10.64 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000378/0.3162, allocations: 126.3 kB / 0.5506 GB, free: 10.54 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001128/0.3173, allocations: 433.7 kB / 0.5511 GB, free: 10.19 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005786/0.3179, allocations: 231.6 kB / 0.5513 GB, free: 10 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.001361/0.3193, allocations: 1.123 MB / 0.5524 GB, free: 9.371 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004105/0.3197, allocations: 255.6 kB / 0.5526 GB, free: 9.219 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009176/0.3206, allocations: 0.5227 MB / 0.5531 GB, free: 8.918 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000816/0.3214, allocations: 0.538 MB / 0.5537 GB, free: 8.609 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001167/0.3215, allocations: 65.22 kB / 0.5537 GB, free: 8.609 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001535/0.3217, allocations: 69.09 kB / 0.5538 GB, free: 8.605 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003767/0.3221, allocations: 338.8 kB / 0.5541 GB, free: 8.391 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000412/0.3225, allocations: 332.1 kB / 0.5544 GB, free: 8.195 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001085/0.3236, allocations: 0.9304 MB / 0.5553 GB, free: 7.559 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.039e-06/0.3236, allocations: 0 / 0.5553 GB, free: 7.559 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.913e-06/0.3236, allocations: 0 / 0.5553 GB, free: 7.559 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.499e-05/0.3236, allocations: 0 / 0.5553 GB, free: 7.559 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: 156 * Number of variables: 156 Notification: Performance of Generate backend data structure: time 0.00231/0.3259, allocations: 1.088 MB / 0.5564 GB, free: 6.57 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.715e-05/0.3259, allocations: 15.98 kB / 0.5564 GB, free: 6.555 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001778/0.3261, allocations: 96.34 kB / 0.5565 GB, free: 6.461 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001202/0.3273, allocations: 0.54 MB / 0.557 GB, free: 5.895 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002026/0.3275, allocations: 223.6 kB / 0.5572 GB, free: 5.637 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001213/0.3276, allocations: 64 kB / 0.5573 GB, free: 5.574 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001671/0.3293, allocations: 0.8692 MB / 0.5581 GB, free: 4.664 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.199e-05/0.3293, allocations: 8 kB / 0.5582 GB, free: 4.656 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.032e-05/0.3294, allocations: 23.98 kB / 0.5582 GB, free: 4.633 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001242/0.3295, allocations: 37.28 kB / 0.5582 GB, free: 4.598 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0013/0.3308, allocations: 0.6178 MB / 0.5588 GB, free: 3.977 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004094/0.3349, allocations: 2.439 MB / 0.5612 GB, free: 1.457 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001696/0.3366, allocations: 0.5658 MB / 0.5618 GB, free: 0.875 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000781/0.3374, allocations: 296.2 kB / 0.562 GB, free: 0.582 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.172e-05/0.3374, allocations: 12.2 kB / 0.562 GB, free: 0.5703 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008206/0.3382, allocations: 354.7 kB / 0.5624 GB, free: 208 kB / 398.1 MB Notification: Performance of pre-optimization done (n=41): time 2.715e-06/0.3382, allocations: 0 / 0.5624 GB, free: 208 kB / 398.1 MB Notification: Performance of matching and sorting (n=42): time 0.004438/0.3427, allocations: 1.68 MB / 0.564 GB, free: 14.48 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001033/0.3428, allocations: 118.8 kB / 0.5641 GB, free: 14.34 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005553/0.3433, allocations: 453.8 kB / 0.5646 GB, free: 13.89 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 5.276e-05/0.3434, allocations: 41.7 kB / 0.5646 GB, free: 13.84 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003255/0.3437, allocations: 380.3 kB / 0.565 GB, free: 13.46 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001365/0.3439, allocations: 146.8 kB / 0.5651 GB, free: 13.32 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00019/0.3441, allocations: 114.3 kB / 0.5652 GB, free: 13.2 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002135/0.3443, allocations: 366.8 kB / 0.5656 GB, free: 12.84 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003974/0.3447, allocations: 254.9 kB / 0.5658 GB, free: 12.58 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005409/0.3452, allocations: 432.2 kB / 0.5662 GB, free: 12.08 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008817/0.3461, allocations: 0.6094 MB / 0.5668 GB, free: 11.39 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.849e-06/0.3461, allocations: 3.984 kB / 0.5668 GB, free: 11.39 MB / 414.1 MB Notification: Performance of matching and sorting (n=74) (initialization): time 0.001384/0.3475, allocations: 0.8405 MB / 0.5676 GB, free: 10.52 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.965e-05/0.3475, allocations: 53.78 kB / 0.5677 GB, free: 10.46 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.188e-05/0.3476, allocations: 4 kB / 0.5677 GB, free: 10.46 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003093/0.3479, allocations: 93.59 kB / 0.5678 GB, free: 10.36 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000413/0.3483, allocations: 103.8 kB / 0.5679 GB, free: 10.26 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002882/0.3512, allocations: 2.991 MB / 0.5708 GB, free: 7.066 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004198/0.3516, allocations: 39.86 kB / 0.5709 GB, free: 7.027 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.995e-05/0.3517, allocations: 48.11 kB / 0.5709 GB, free: 6.98 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 23 * Number of states: 0 () * Number of discrete variables: 14 (system.initime,dc_ac.modulator.t0,$PRE.dc_ac.modulator.t0,dc_ac.modulator.sigdel_t,$PRE.dc_ac.modulator.sigdel_t,dc_ac.modulator.gates[4],$PRE.dc_ac.modulator.gates[4],dc_ac.modulator.gates[3],$PRE.dc_ac.modulator.gates[3],dc_ac.modulator.gates[2],$PRE.dc_ac.modulator.gates[2],dc_ac.modulator.gates[1],$PRE.dc_ac.modulator.gates[1],$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (66): * Single equations (assignments): 63 * Array equations: 0 * 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,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0004312/0.3521, allocations: 266.2 kB / 0.5712 GB, free: 6.711 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.587e-05/0.3522, allocations: 51.67 kB / 0.5712 GB, free: 6.66 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001554/0.3537, allocations: 0.6245 MB / 0.5718 GB, free: 6.02 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.332e-06/0.3537, allocations: 7.938 kB / 0.5718 GB, free: 6.012 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.637e-06/0.3537, allocations: 4 kB / 0.5718 GB, free: 6.008 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.574e-06/0.3537, allocations: 3.984 kB / 0.5718 GB, free: 6.004 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002533/0.3563, allocations: 1.293 MB / 0.5731 GB, free: 4.66 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.477e-06/0.3563, allocations: 0 / 0.5731 GB, free: 4.66 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002976/0.3566, allocations: 59.89 kB / 0.5731 GB, free: 4.602 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002844/0.3569, allocations: 101.6 kB / 0.5732 GB, free: 4.496 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.065e-05/0.3569, allocations: 11.98 kB / 0.5733 GB, free: 4.484 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002773/0.3597, allocations: 2.998 MB / 0.5762 GB, free: 1.285 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.743e-06/0.3597, allocations: 0 / 0.5762 GB, free: 1.285 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002231/0.3619, allocations: 0.993 MB / 0.5772 GB, free: 268 kB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002829/0.3622, allocations: 91.66 kB / 0.5772 GB, free: 176 kB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001023/0.3623, allocations: 31.92 kB / 0.5773 GB, free: 144 kB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004016/0.3627, allocations: 43.94 kB / 0.5773 GB, free: 100 kB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.675e-05/0.3628, allocations: 35.94 kB / 0.5773 GB, free: 64 kB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.502e-05/0.3628, allocations: 16 kB / 0.5774 GB, free: 48 kB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0003992/0.3632, allocations: 307 kB / 0.5777 GB, free: 15.75 MB / 430.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3632, allocations: 0 / 0.5777 GB, free: 15.75 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0007416/0.364, allocations: 148 kB / 0.5778 GB, free: 15.6 MB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 4 (ind.i[1],ind.i[2],meterAC.pav,meterDC.pav) * Number of discrete variables: 8 ($whenCondition1,dc_ac.modulator.gates[1],dc_ac.modulator.gates[2],dc_ac.modulator.gates[3],dc_ac.modulator.gates[4],dc_ac.modulator.sigdel_t,dc_ac.modulator.t0,system.initime) * Number of discrete states: 6 (dc_ac.modulator.t0,dc_ac.modulator.sigdel_t,dc_ac.modulator.gates[3],dc_ac.modulator.gates[4],dc_ac.modulator.gates[1],dc_ac.modulator.gates[2]) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (42): * Single equations (assignments): 33 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 7 * 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,1,100.0%), (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.000195/0.3642, allocations: 123.2 kB / 0.5779 GB, free: 15.47 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.001691/0.3658, allocations: 0.892 MB / 0.5788 GB, free: 14.54 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 3.146e-06/0.3659, allocations: 4.125 kB / 0.5788 GB, free: 14.54 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009667/0.3668, allocations: 481.1 kB / 0.5792 GB, free: 14.04 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007767/0.3676, allocations: 127.9 kB / 0.5794 GB, free: 13.92 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002881/0.3705, allocations: 1.561 MB / 0.5809 GB, free: 12.3 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004412/0.3709, allocations: 374.1 kB / 0.5812 GB, free: 11.91 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001375/0.3711, allocations: 47.38 kB / 0.5813 GB, free: 11.87 MB / 430.1 MB Notification: Performance of SimCode: time 7.81e-07/0.3711, allocations: 0 / 0.5813 GB, free: 11.87 MB / 430.1 MB Notification: Performance of Templates: time 0.01915/0.3902, allocations: 13.38 MB / 0.5944 GB, free: 14.5 MB / 446.1 MB " [Timeout remaining time 660] make -j1 -f PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Inverter.makefile [Timeout 660] (rm -f PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Inverter.pipe ; mkfifo PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Inverter.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Inverter.pipe >> ../files/PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Inverter.sim & ./PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Inverter -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Inverter.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 9.806638343259692] Failed to read output from testmodel.py, exit status != 0: 0.3997268551029265 0.415289797 0.08822848000000001 Calling exit ...