Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC1ph_DC.Inverters.InverterToLoad.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.001568/0.001568, allocations: 112.2 kB / 21.19 MB, free: 0.7812 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.001775/0.001775, allocations: 214.5 kB / 24.49 MB, free: 4.18 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.407/1.407, allocations: 230.6 MB / 258.3 MB, free: 7.992 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.181/0.181, allocations: 38.52 MB / 353.2 MB, free: 12.55 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.Inverters.InverterToLoad,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC1ph_DC.Inverters.InverterToLoad") translateModel(PowerSystems.Examples.AC1ph_DC.Inverters.InverterToLoad,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC1ph_DC.Inverters.InverterToLoad") [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.002014/0.002014, allocations: 63.91 kB / 493.8 MB, free: 4.387 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3081/0.3101, allocations: 62.47 MB / 0.5432 GB, free: 0.6133 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Inverters.InverterToLoad): time 0.008542/0.3186, allocations: 6.172 MB / 0.5493 GB, free: 11.8 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.003204/0.3218, allocations: 1.587 MB / 0.5508 GB, free: 10.53 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004506/0.3223, allocations: 34.75 kB / 0.5508 GB, free: 10.51 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005812/0.3228, allocations: 137.1 kB / 0.551 GB, free: 10.39 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009333/0.3238, allocations: 377.2 kB / 0.5513 GB, free: 10.09 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007548/0.3245, allocations: 312.2 kB / 0.5516 GB, free: 9.836 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.001715/0.3263, allocations: 1.35 MB / 0.5529 GB, free: 9.039 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003973/0.3266, allocations: 236.3 kB / 0.5532 GB, free: 8.895 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001019/0.3277, allocations: 0.5656 MB / 0.5537 GB, free: 8.566 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001062/0.3287, allocations: 0.5756 MB / 0.5543 GB, free: 8.219 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001562/0.3289, allocations: 91.62 kB / 0.5544 GB, free: 8.219 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001902/0.3291, allocations: 90.75 kB / 0.5545 GB, free: 8.219 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004826/0.3296, allocations: 355.9 kB / 0.5548 GB, free: 7.977 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005005/0.3301, allocations: 415 kB / 0.5552 GB, free: 7.691 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001343/0.3314, allocations: 1.059 MB / 0.5562 GB, free: 6.941 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.859e-06/0.3314, allocations: 1.094 kB / 0.5562 GB, free: 6.941 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.512e-06/0.3314, allocations: 0 / 0.5562 GB, free: 6.941 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.387e-05/0.3314, allocations: 0 / 0.5562 GB, free: 6.941 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: 140 * Number of variables: 140 Notification: Performance of Generate backend data structure: time 0.002813/0.3342, allocations: 1.141 MB / 0.5573 GB, free: 5.918 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.176e-05/0.3343, allocations: 11.98 kB / 0.5574 GB, free: 5.906 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001873/0.3345, allocations: 88.47 kB / 0.5574 GB, free: 5.82 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001433/0.3359, allocations: 0.5936 MB / 0.558 GB, free: 5.199 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000687/0.3366, allocations: 0.7409 MB / 0.5587 GB, free: 4.309 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001316/0.3367, allocations: 67.94 kB / 0.5588 GB, free: 4.242 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00233/0.339, allocations: 1.035 MB / 0.5598 GB, free: 3.176 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.747e-05/0.3391, allocations: 0 / 0.5598 GB, free: 3.176 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.239e-05/0.3391, allocations: 31.98 kB / 0.5598 GB, free: 3.145 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.445e-05/0.3392, allocations: 12 kB / 0.5599 GB, free: 3.133 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002653/0.3418, allocations: 1.089 MB / 0.5609 GB, free: 2.043 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005477/0.3473, allocations: 3.158 MB / 0.564 GB, free: 14.79 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002131/0.3494, allocations: 0.722 MB / 0.5647 GB, free: 14.05 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001319/0.3507, allocations: 0.509 MB / 0.5652 GB, free: 13.54 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.187e-05/0.3508, allocations: 12.42 kB / 0.5652 GB, free: 13.53 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001505/0.3523, allocations: 0.6303 MB / 0.5658 GB, free: 12.87 MB / 414.1 MB Notification: Performance of pre-optimization done (n=49): time 2.304e-06/0.3523, allocations: 4 kB / 0.5658 GB, free: 12.86 MB / 414.1 MB Notification: Performance of matching and sorting (n=49): time 0.003773/0.3561, allocations: 1.364 MB / 0.5672 GB, free: 11.5 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001029/0.3562, allocations: 144.4 kB / 0.5673 GB, free: 11.32 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004657/0.3566, allocations: 389.9 kB / 0.5677 GB, free: 10.93 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 7.268e-05/0.3567, allocations: 41.7 kB / 0.5677 GB, free: 10.89 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002509/0.357, allocations: 296.9 kB / 0.568 GB, free: 10.59 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001677/0.3571, allocations: 170.6 kB / 0.5682 GB, free: 10.42 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000228/0.3574, allocations: 118.3 kB / 0.5683 GB, free: 10.3 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001808/0.3575, allocations: 362.8 kB / 0.5686 GB, free: 9.934 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001087/0.3586, allocations: 453 kB / 0.5691 GB, free: 9.492 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001153/0.3598, allocations: 0.5641 MB / 0.5696 GB, free: 8.891 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00194/0.3617, allocations: 0.8847 MB / 0.5705 GB, free: 7.965 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.289e-06/0.3617, allocations: 4 kB / 0.5705 GB, free: 7.961 MB / 414.1 MB Notification: Performance of matching and sorting (n=72) (initialization): time 0.002362/0.3641, allocations: 1.092 MB / 0.5715 GB, free: 6.852 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.725e-05/0.3642, allocations: 57.88 kB / 0.5716 GB, free: 6.789 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.188e-05/0.3642, allocations: 4 kB / 0.5716 GB, free: 6.785 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.403e-05/0.3642, allocations: 7.984 kB / 0.5716 GB, free: 6.777 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005205/0.3694, allocations: 1.1 MB / 0.5727 GB, free: 5.676 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007889/0.3773, allocations: 4.494 MB / 0.5771 GB, free: 0.957 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007822/0.3781, allocations: 107.5 kB / 0.5772 GB, free: 0.8516 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.747e-05/0.3782, allocations: 43.98 kB / 0.5772 GB, free: 0.8086 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 14 (inverter.modulator.t0,$PRE.inverter.modulator.t0,inverter.modulator.sigdel_t,$PRE.inverter.modulator.sigdel_t,inverter.modulator.gates[4],$PRE.inverter.modulator.gates[4],inverter.modulator.gates[3],$PRE.inverter.modulator.gates[3],inverter.modulator.gates[2],$PRE.inverter.modulator.gates[2],inverter.modulator.gates[1],$PRE.inverter.modulator.gates[1],system.initime,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (67): * Single equations (assignments): 64 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 2 systems {1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.000494/0.3787, allocations: 255.3 kB / 0.5775 GB, free: 0.5508 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001084/0.3788, allocations: 51.66 kB / 0.5775 GB, free: 0.5 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002648/0.3814, allocations: 0.9849 MB / 0.5785 GB, free: 15.51 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.412e-06/0.3814, allocations: 4 kB / 0.5785 GB, free: 15.5 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.883e-06/0.3814, allocations: 0 / 0.5785 GB, free: 15.5 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.898e-06/0.3814, allocations: 11.98 kB / 0.5785 GB, free: 15.49 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004087/0.3855, allocations: 2.092 MB / 0.5805 GB, free: 13.32 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.55e-06/0.3855, allocations: 8.188 kB / 0.5805 GB, free: 13.31 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.006326/0.3919, allocations: 1.276 MB / 0.5818 GB, free: 12.04 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.002e-05/0.3919, allocations: 11.98 kB / 0.5818 GB, free: 12.02 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.333e-05/0.3919, allocations: 11.94 kB / 0.5818 GB, free: 12.01 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.135e-06/0.3919, allocations: 7.984 kB / 0.5818 GB, free: 12 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.707e-06/0.3919, allocations: 4 kB / 0.5818 GB, free: 12 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003995/0.3959, allocations: 1.701 MB / 0.5835 GB, free: 10.26 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003583/0.3963, allocations: 131.5 kB / 0.5836 GB, free: 10.13 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001196/0.3964, allocations: 27.98 kB / 0.5836 GB, free: 10.1 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006497/0.3971, allocations: 91.88 kB / 0.5837 GB, free: 10.01 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000213/0.3973, allocations: 95.77 kB / 0.5838 GB, free: 9.918 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.86e-05/0.3973, allocations: 16 kB / 0.5838 GB, free: 9.902 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0003229/0.3976, allocations: 267.1 kB / 0.5841 GB, free: 9.645 MB / 430.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3976, allocations: 4 kB / 0.5841 GB, free: 9.641 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0006385/0.3983, allocations: 183.7 kB / 0.5843 GB, free: 9.461 MB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 3 (meterDC.pav,meterAC.pav,ind.i) * Number of discrete variables: 8 ($whenCondition1,system.initime,inverter.modulator.gates[1],inverter.modulator.gates[2],inverter.modulator.gates[3],inverter.modulator.gates[4],inverter.modulator.sigdel_t,inverter.modulator.t0) * Number of discrete states: 6 (inverter.modulator.t0,inverter.modulator.sigdel_t,inverter.modulator.gates[3],inverter.modulator.gates[4],inverter.modulator.gates[1],inverter.modulator.gates[2]) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (52): * Single equations (assignments): 45 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 7 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001907/0.3985, allocations: 135 kB / 0.5844 GB, free: 9.32 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.007119/0.4056, allocations: 2.015 MB / 0.5864 GB, free: 7.293 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 6.041e-06/0.4056, allocations: 0 / 0.5864 GB, free: 7.293 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003318/0.4089, allocations: 0.9179 MB / 0.5873 GB, free: 6.375 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008442/0.4098, allocations: 137.6 kB / 0.5874 GB, free: 6.242 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003744/0.4135, allocations: 1.66 MB / 0.589 GB, free: 4.531 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006108/0.4141, allocations: 0.933 MB / 0.5899 GB, free: 3.566 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002487/0.4144, allocations: 43.42 kB / 0.59 GB, free: 3.523 MB / 430.1 MB Notification: Performance of SimCode: time 1.042e-06/0.4144, allocations: 4 kB / 0.59 GB, free: 3.52 MB / 430.1 MB Notification: Performance of Templates: time 0.01598/0.4303, allocations: 11.49 MB / 0.6012 GB, free: 8.059 MB / 446.1 MB " [Timeout remaining time 660] make -j1 -f PowerSystems_PowerSystems.Examples.AC1ph_DC.Inverters.InverterToLoad.makefile [Timeout 660] (rm -f PowerSystems_PowerSystems.Examples.AC1ph_DC.Inverters.InverterToLoad.pipe ; mkfifo PowerSystems_PowerSystems.Examples.AC1ph_DC.Inverters.InverterToLoad.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.AC1ph_DC.Inverters.InverterToLoad.pipe >> ../files/PowerSystems_PowerSystems.Examples.AC1ph_DC.Inverters.InverterToLoad.sim & ./PowerSystems_PowerSystems.Examples.AC1ph_DC.Inverters.InverterToLoad -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.AC1ph_DC.Inverters.InverterToLoad.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 8.98340320889838] Failed to read output from testmodel.py, exit status != 0: 0.4395992928184569 0.45329730399999996 0.11881618599999995 Calling exit ...