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.001288/0.001288, allocations: 108.2 kB / 21.19 MB, free: 0.7617 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.001489/0.001489, allocations: 213.9 kB / 24.49 MB, free: 4.145 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.419/1.419, allocations: 230.6 MB / 258.3 MB, free: 8.016 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.1824/0.1824, allocations: 38.53 MB / 353.2 MB, free: 12.62 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.001966/0.001966, allocations: 66.7 kB / 493.8 MB, free: 4.383 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3012/0.3032, allocations: 62.47 MB / 0.5432 GB, free: 0.6016 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Elementary.Inverter): time 0.008122/0.3113, allocations: 6.689 MB / 0.5498 GB, free: 11.37 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002607/0.3139, allocations: 1.357 MB / 0.5511 GB, free: 10.27 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003018/0.3142, allocations: 40 kB / 0.5511 GB, free: 10.25 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003419/0.3145, allocations: 128.7 kB / 0.5513 GB, free: 10.13 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009357/0.3155, allocations: 430.1 kB / 0.5517 GB, free: 9.789 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004835/0.316, allocations: 235.2 kB / 0.5519 GB, free: 9.602 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.001256/0.3172, allocations: 1.127 MB / 0.553 GB, free: 8.965 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003738/0.3176, allocations: 255.9 kB / 0.5532 GB, free: 8.812 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007914/0.3184, allocations: 0.5296 MB / 0.5537 GB, free: 8.504 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007774/0.3192, allocations: 0.5544 MB / 0.5543 GB, free: 8.18 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 9.467e-05/0.3192, allocations: 64.31 kB / 0.5544 GB, free: 8.18 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001289/0.3194, allocations: 65.5 kB / 0.5544 GB, free: 8.18 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00034/0.3197, allocations: 347.1 kB / 0.5547 GB, free: 7.957 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004088/0.3201, allocations: 407.9 kB / 0.5551 GB, free: 7.688 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009934/0.3211, allocations: 0.918 MB / 0.556 GB, free: 7.055 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.677e-06/0.3211, allocations: 0 / 0.556 GB, free: 7.055 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.074e-06/0.3211, allocations: 1.031 kB / 0.556 GB, free: 7.055 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.069e-05/0.3211, allocations: 0 / 0.556 GB, free: 7.055 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.002018/0.3232, allocations: 1.092 MB / 0.5571 GB, free: 6.18 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.965e-05/0.3232, allocations: 19.97 kB / 0.5571 GB, free: 6.16 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000161/0.3234, allocations: 88.41 kB / 0.5572 GB, free: 6.074 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001073/0.3244, allocations: 0.5401 MB / 0.5577 GB, free: 5.508 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001748/0.3246, allocations: 223.6 kB / 0.5579 GB, free: 5.25 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001134/0.3247, allocations: 64 kB / 0.558 GB, free: 5.188 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001501/0.3262, allocations: 0.8652 MB / 0.5588 GB, free: 4.281 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.843e-05/0.3262, allocations: 3.938 kB / 0.5589 GB, free: 4.277 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.753e-05/0.3263, allocations: 35.98 kB / 0.5589 GB, free: 4.242 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001057/0.3264, allocations: 37.28 kB / 0.5589 GB, free: 4.207 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001168/0.3276, allocations: 0.6217 MB / 0.5595 GB, free: 3.582 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003729/0.3313, allocations: 2.68 MB / 0.5621 GB, free: 0.8086 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001506/0.3328, allocations: 0.5835 MB / 0.5627 GB, free: 212 kB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006883/0.3335, allocations: 290.2 kB / 0.563 GB, free: 15.92 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.162e-05/0.3335, allocations: 8.328 kB / 0.563 GB, free: 15.91 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006882/0.3342, allocations: 350.7 kB / 0.5633 GB, free: 15.55 MB / 414.1 MB Notification: Performance of pre-optimization done (n=41): time 1.953e-06/0.3342, allocations: 0 / 0.5633 GB, free: 15.55 MB / 414.1 MB Notification: Performance of matching and sorting (n=42): time 0.003967/0.3382, allocations: 1.692 MB / 0.565 GB, free: 13.81 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.685e-05/0.3383, allocations: 118.9 kB / 0.5651 GB, free: 13.67 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005821/0.3388, allocations: 0.5066 MB / 0.5656 GB, free: 13.16 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 4.693e-05/0.3389, allocations: 41.7 kB / 0.5656 GB, free: 13.11 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000282/0.3392, allocations: 368.5 kB / 0.566 GB, free: 12.74 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001308/0.3393, allocations: 150.8 kB / 0.5661 GB, free: 12.59 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001697/0.3395, allocations: 122.3 kB / 0.5662 GB, free: 12.47 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001721/0.3397, allocations: 366.8 kB / 0.5666 GB, free: 12.1 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003509/0.34, allocations: 221.2 kB / 0.5668 GB, free: 11.88 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004754/0.3405, allocations: 398.5 kB / 0.5672 GB, free: 11.43 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008026/0.3413, allocations: 0.6211 MB / 0.5678 GB, free: 10.73 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.489e-06/0.3413, allocations: 4 kB / 0.5678 GB, free: 10.72 MB / 414.1 MB Notification: Performance of matching and sorting (n=74) (initialization): time 0.001247/0.3425, allocations: 0.8151 MB / 0.5686 GB, free: 9.887 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.53e-05/0.3426, allocations: 56.34 kB / 0.5686 GB, free: 9.828 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.538e-06/0.3426, allocations: 4 kB / 0.5687 GB, free: 9.824 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002853/0.3429, allocations: 93.94 kB / 0.5687 GB, free: 9.727 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003825/0.3433, allocations: 103.8 kB / 0.5688 GB, free: 9.625 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002668/0.3459, allocations: 3.048 MB / 0.5718 GB, free: 6.348 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003921/0.3463, allocations: 40.02 kB / 0.5719 GB, free: 6.309 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.187e-05/0.3464, allocations: 35.98 kB / 0.5719 GB, free: 6.273 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.0003873/0.3468, allocations: 270.2 kB / 0.5721 GB, free: 6 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.112e-05/0.3469, allocations: 59.62 kB / 0.5722 GB, free: 5.941 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001418/0.3483, allocations: 0.6288 MB / 0.5728 GB, free: 5.301 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.751e-06/0.3483, allocations: 8 kB / 0.5728 GB, free: 5.293 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.995e-06/0.3483, allocations: 8 kB / 0.5728 GB, free: 5.285 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.875e-06/0.3483, allocations: 3.984 kB / 0.5728 GB, free: 5.281 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002473/0.3508, allocations: 1.421 MB / 0.5742 GB, free: 3.797 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.711e-06/0.3508, allocations: 4 kB / 0.5742 GB, free: 3.793 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002789/0.3511, allocations: 63.97 kB / 0.5743 GB, free: 3.73 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000278/0.3514, allocations: 101.5 kB / 0.5744 GB, free: 3.625 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.05e-05/0.3514, allocations: 23.92 kB / 0.5744 GB, free: 3.602 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002573/0.354, allocations: 3.036 MB / 0.5774 GB, free: 340 kB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.466e-06/0.354, allocations: 4.031 kB / 0.5774 GB, free: 336 kB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001992/0.356, allocations: 1.001 MB / 0.5784 GB, free: 15.3 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002641/0.3562, allocations: 99.61 kB / 0.5784 GB, free: 15.2 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.943e-05/0.3563, allocations: 31.98 kB / 0.5785 GB, free: 15.17 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000371/0.3567, allocations: 40.12 kB / 0.5785 GB, free: 15.13 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.427e-05/0.3568, allocations: 31.89 kB / 0.5785 GB, free: 15.1 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.732e-05/0.3568, allocations: 23.97 kB / 0.5786 GB, free: 15.07 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0004184/0.3572, allocations: 362.8 kB / 0.5789 GB, free: 14.72 MB / 430.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.3572, allocations: 0 / 0.5789 GB, free: 14.72 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0006818/0.3579, allocations: 148 kB / 0.5791 GB, free: 14.58 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.0001588/0.3581, allocations: 129.9 kB / 0.5792 GB, free: 14.45 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.001498/0.3596, allocations: 0.8592 MB / 0.58 GB, free: 13.55 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.485e-06/0.3596, allocations: 64 / 0.58 GB, free: 13.55 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008706/0.3604, allocations: 485.1 kB / 0.5805 GB, free: 13.05 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007617/0.3612, allocations: 152.9 kB / 0.5806 GB, free: 12.91 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002616/0.3638, allocations: 1.565 MB / 0.5822 GB, free: 11.29 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006176/0.3644, allocations: 0.9683 MB / 0.5831 GB, free: 10.3 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001336/0.3646, allocations: 51.44 kB / 0.5832 GB, free: 10.25 MB / 430.1 MB Notification: Performance of SimCode: time 3e-07/0.3646, allocations: 0 / 0.5832 GB, free: 10.25 MB / 430.1 MB Notification: Performance of Templates: time 0.01749/0.3821, allocations: 13.55 MB / 0.5964 GB, free: 12.72 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.512301305076107] Failed to read output from testmodel.py, exit status != 0: 0.3906651509460062 0.404806052 0.080552838 Calling exit ...