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.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.001336/0.001336, allocations: 84.55 kB / 20.68 MB, free: 1.027 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.001477/0.001477, allocations: 164.3 kB / 23.95 MB, free: 4.156 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.493/1.493, allocations: 177.1 MB / 204.3 MB, free: 9.176 MB / 190.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.1803/0.1803, allocations: 29.44 MB / 290.1 MB, free: 3.27 MB / 270.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.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 2.635e-06/2.635e-06, allocations: 3.938 kB / 430.7 MB, free: 1.93 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.6e-05/2.863e-05, allocations: 6.219 kB / 430.7 MB, free: 1.922 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Elementary.Inverter): time 0.00878/0.008808, allocations: 6.582 MB / 437.3 MB, free: 11.3 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.003812/0.01262, allocations: 1.943 MB / 439.3 MB, free: 9.352 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003193/0.01294, allocations: 43.69 kB / 439.3 MB, free: 9.309 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001453/0.01439, allocations: 0.4896 MB / 439.8 MB, free: 8.816 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001325/0.01572, allocations: 0.5789 MB / 440.4 MB, free: 8.234 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001046/0.01676, allocations: 430.9 kB / 440.8 MB, free: 7.812 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.001631/0.01839, allocations: 1.406 MB / 442.2 MB, free: 6.402 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008664/0.01926, allocations: 0.5881 MB / 442.8 MB, free: 5.801 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001159/0.02042, allocations: 0.8337 MB / 443.6 MB, free: 4.965 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001003/0.02142, allocations: 0.6585 MB / 444.3 MB, free: 4.305 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001736/0.0216, allocations: 96 kB / 444.4 MB, free: 4.211 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001069/0.02266, allocations: 0.5148 MB / 444.9 MB, free: 3.695 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006898/0.02335, allocations: 0.526 MB / 445.4 MB, free: 3.168 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006557/0.02401, allocations: 403.1 kB / 445.8 MB, free: 2.773 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002369/0.02638, allocations: 1.609 MB / 447.4 MB, free: 1.16 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.095e-06/0.02639, allocations: 11.98 kB / 447.4 MB, free: 1.148 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.383e-06/0.02639, allocations: 0 / 447.4 MB, free: 1.148 MB / 366.1 MB Notification: Performance of Transformations before backend: time 2.163e-05/0.02641, allocations: 0 / 447.4 MB, free: 1.148 MB / 366.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.2408/0.2672, allocations: 1.504 MB / 448.9 MB, free: 30.32 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.671e-05/0.2672, allocations: 14.39 kB / 448.9 MB, free: 30.31 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001046/0.2683, allocations: 196 kB / 449.1 MB, free: 30.25 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001297/0.2696, allocations: 0.6668 MB / 449.8 MB, free: 29.95 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001927/0.2698, allocations: 332.3 kB / 450.1 MB, free: 29.63 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002495/0.27, allocations: 108.2 kB / 450.2 MB, free: 29.6 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003053/0.2731, allocations: 1.53 MB / 451.8 MB, free: 28.95 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.391e-05/0.2731, allocations: 6.844 kB / 451.8 MB, free: 28.95 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001085/0.2732, allocations: 40.33 kB / 451.8 MB, free: 28.93 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001736/0.2734, allocations: 68.38 kB / 451.9 MB, free: 28.92 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002342/0.2757, allocations: 1.163 MB / 453 MB, free: 28.55 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005788/0.2815, allocations: 4.324 MB / 457.4 MB, free: 25.77 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003156/0.2847, allocations: 0.9848 MB / 458.3 MB, free: 25.48 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001335/0.286, allocations: 0.5177 MB / 458.9 MB, free: 25.32 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.161e-05/0.2861, allocations: 9.422 kB / 458.9 MB, free: 25.32 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001593/0.2877, allocations: 0.7165 MB / 459.6 MB, free: 25.07 MB / 366.1 MB Notification: Performance of pre-optimization done (n=80): time 3.216e-06/0.2877, allocations: 3.75 kB / 459.6 MB, free: 25.07 MB / 366.1 MB Notification: Performance of matching and sorting (n=81): time 0.00777/0.2954, allocations: 2.991 MB / 462.6 MB, free: 23.82 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.769e-05/0.2955, allocations: 124.9 kB / 462.7 MB, free: 23.7 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006567/0.2962, allocations: 0.5176 MB / 463.2 MB, free: 23.45 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 8.324e-05/0.2962, allocations: 54.27 kB / 463.3 MB, free: 23.4 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003055/0.2965, allocations: 471.7 kB / 463.7 MB, free: 23.04 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000185/0.2967, allocations: 282.3 kB / 464 MB, free: 22.82 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003086/0.297, allocations: 198.1 kB / 464.2 MB, free: 22.73 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001019/0.2971, allocations: 384 kB / 464.6 MB, free: 22.39 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007767/0.2979, allocations: 0.5189 MB / 465.1 MB, free: 22.2 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009252/0.2988, allocations: 0.7955 MB / 465.9 MB, free: 21.67 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00159/0.3004, allocations: 1.253 MB / 467.1 MB, free: 20.92 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.994e-06/0.3004, allocations: 2.406 kB / 467.1 MB, free: 20.92 MB / 366.1 MB Notification: Performance of matching and sorting (n=137) (initialization): time 0.002702/0.3031, allocations: 1.543 MB / 468.7 MB, free: 20.27 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.833e-05/0.3032, allocations: 63.36 kB / 468.8 MB, free: 20.23 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.001908/0.3051, allocations: 1.271 MB / 470 MB, free: 19.73 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004253/0.3055, allocations: 118.3 kB / 470.1 MB, free: 19.68 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007951/0.3063, allocations: 199 kB / 470.3 MB, free: 19.66 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002251/0.3086, allocations: 3.099 MB / 473.4 MB, free: 16.8 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007856/0.3094, allocations: 77.81 kB / 473.5 MB, free: 16.77 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001296/0.3095, allocations: 77.19 kB / 473.6 MB, free: 16.74 MB / 366.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.0006252/0.3101, allocations: 383.1 kB / 474 MB, free: 16.47 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001779/0.3103, allocations: 77.11 kB / 474 MB, free: 16.43 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002844/0.3132, allocations: 1.181 MB / 475.2 MB, free: 15.79 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.561e-05/0.3132, allocations: 18.03 kB / 475.2 MB, free: 15.79 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.28e-06/0.3132, allocations: 1.312 kB / 475.2 MB, free: 15.79 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.162e-05/0.3132, allocations: 5.422 kB / 475.2 MB, free: 15.78 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00401/0.3172, allocations: 2.112 MB / 477.4 MB, free: 14.31 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.651e-06/0.3172, allocations: 0 / 477.4 MB, free: 14.31 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007357/0.3179, allocations: 147.8 kB / 477.5 MB, free: 14.16 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.9e-05/0.318, allocations: 28.84 kB / 477.5 MB, free: 14.13 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.423e-05/0.3181, allocations: 27.97 kB / 477.6 MB, free: 14.11 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008417/0.3189, allocations: 1.493 MB / 479 MB, free: 12.51 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.066e-06/0.319, allocations: 4.031 kB / 479 MB, free: 12.5 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003662/0.3226, allocations: 1.853 MB / 480.9 MB, free: 10.63 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004336/0.323, allocations: 163.4 kB / 481.1 MB, free: 10.47 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002354/0.3233, allocations: 75.95 kB / 481.1 MB, free: 10.39 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008234/0.3241, allocations: 99.42 kB / 481.2 MB, free: 10.3 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001483/0.3243, allocations: 60.5 kB / 481.3 MB, free: 10.24 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.446e-05/0.3243, allocations: 31.97 kB / 481.3 MB, free: 10.21 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0003648/0.3247, allocations: 342.8 kB / 481.7 MB, free: 9.875 MB / 366.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3247, allocations: 0 / 481.7 MB, free: 9.875 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.00116/0.3258, allocations: 236 kB / 481.9 MB, free: 9.645 MB / 366.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.0003082/0.3262, allocations: 180 kB / 482.1 MB, free: 9.461 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.002409/0.3286, allocations: 1.515 MB / 483.6 MB, free: 7.906 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.937e-06/0.3286, allocations: 4.062 kB / 483.6 MB, free: 7.902 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001177/0.3297, allocations: 0.6078 MB / 484.2 MB, free: 7.281 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009305/0.3307, allocations: 133.1 kB / 484.3 MB, free: 7.156 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00396/0.3346, allocations: 2.171 MB / 486.5 MB, free: 4.953 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005109/0.3351, allocations: 0.5153 MB / 487 MB, free: 4.406 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0005401/0.3357, allocations: 229.8 kB / 487.2 MB, free: 4.18 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002329/0.3359, allocations: 60.48 kB / 487.3 MB, free: 4.121 MB / 366.1 MB Notification: Performance of SimCode: time 1.062e-06/0.3359, allocations: 0 / 487.3 MB, free: 4.121 MB / 366.1 MB Notification: Performance of Templates: time 0.01951/0.3554, allocations: 10.06 MB / 497.3 MB, free: 10.23 MB / 382.1 MB " [Timeout remaining time 660] 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.070312384516001] Failed to read output from testmodel.py, exit status != 0: 0.3647746592760086 0.38030278300000003 0.35053257400000004 Calling exit ...