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.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.001322/0.001322, allocations: 112.2 kB / 20.43 MB, free: 1.457 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.001453/0.001453, allocations: 180.9 kB / 23.71 MB, free: 4.695 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.484/1.484, allocations: 225.6 MB / 252.5 MB, free: 12.98 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.1809/0.1809, allocations: 38.54 MB / 346.3 MB, free: 2.059 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.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.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: Performance of FrontEnd - loaded program: time 0.002001/0.002001, allocations: 63.89 kB / 484.5 MB, free: 11.14 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4233/0.4253, allocations: 61.3 MB / 0.533 GB, free: 5.562 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Inverters.InverterToLoad): time 0.009442/0.4347, allocations: 6.158 MB / 0.539 GB, free: 1.062 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.003961/0.4387, allocations: 1.572 MB / 0.5406 GB, free: 15.8 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006971/0.4394, allocations: 29.62 kB / 0.5406 GB, free: 15.79 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006472/0.44, allocations: 145.6 kB / 0.5407 GB, free: 15.66 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001122/0.4411, allocations: 373.5 kB / 0.5411 GB, free: 15.36 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008515/0.442, allocations: 315.6 kB / 0.5414 GB, free: 15.11 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.001613/0.4436, allocations: 1.346 MB / 0.5427 GB, free: 14.32 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004107/0.444, allocations: 231.8 kB / 0.5429 GB, free: 14.18 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001117/0.4451, allocations: 0.5605 MB / 0.5435 GB, free: 13.86 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001239/0.4464, allocations: 0.5708 MB / 0.544 GB, free: 13.51 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002205/0.4466, allocations: 95.5 kB / 0.5441 GB, free: 13.51 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000276/0.4469, allocations: 94.62 kB / 0.5442 GB, free: 13.5 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004979/0.4474, allocations: 357.1 kB / 0.5446 GB, free: 13.26 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005906/0.4479, allocations: 406.2 kB / 0.545 GB, free: 12.98 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001605/0.4496, allocations: 1.06 MB / 0.546 GB, free: 12.23 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.162e-06/0.4496, allocations: 0 / 0.546 GB, free: 12.23 MB / 398.1 MB Notification: Performance of FrontEnd: time 3.106e-06/0.4496, allocations: 1.062 kB / 0.546 GB, free: 12.23 MB / 398.1 MB Notification: Performance of Transformations before backend: time 2.214e-05/0.4496, allocations: 0 / 0.546 GB, free: 12.23 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.003113/0.4527, allocations: 1.142 MB / 0.5471 GB, free: 11.41 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.386e-05/0.4528, allocations: 13.38 kB / 0.5471 GB, free: 11.4 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002617/0.453, allocations: 84.11 kB / 0.5472 GB, free: 11.37 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001631/0.4547, allocations: 0.5947 MB / 0.5478 GB, free: 10.94 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006068/0.4553, allocations: 332.2 kB / 0.5481 GB, free: 10.63 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001618/0.4554, allocations: 68.16 kB / 0.5482 GB, free: 10.61 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00262/0.458, allocations: 1.044 MB / 0.5492 GB, free: 9.957 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.708e-05/0.4581, allocations: 0 / 0.5492 GB, free: 9.957 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.224e-05/0.4581, allocations: 21.56 kB / 0.5492 GB, free: 9.941 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.715e-05/0.4582, allocations: 14.06 kB / 0.5492 GB, free: 9.941 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003013/0.4612, allocations: 1.089 MB / 0.5503 GB, free: 9.402 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005983/0.4672, allocations: 3.155 MB / 0.5534 GB, free: 6.996 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002305/0.4695, allocations: 0.7328 MB / 0.5541 GB, free: 6.293 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001465/0.4709, allocations: 0.5064 MB / 0.5546 GB, free: 5.773 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.359e-05/0.471, allocations: 12.42 kB / 0.5546 GB, free: 5.762 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001612/0.4726, allocations: 0.6225 MB / 0.5552 GB, free: 5.113 MB / 398.1 MB Notification: Performance of pre-optimization done (n=49): time 2.415e-06/0.4726, allocations: 0 / 0.5552 GB, free: 5.113 MB / 398.1 MB Notification: Performance of matching and sorting (n=49): time 0.004236/0.4768, allocations: 1.37 MB / 0.5565 GB, free: 3.738 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001132/0.4769, allocations: 140.5 kB / 0.5567 GB, free: 3.57 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005391/0.4775, allocations: 389.9 kB / 0.557 GB, free: 3.184 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 8.003e-05/0.4776, allocations: 45.73 kB / 0.5571 GB, free: 3.133 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003373/0.4779, allocations: 304.9 kB / 0.5574 GB, free: 2.828 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001919/0.4781, allocations: 170.6 kB / 0.5575 GB, free: 2.66 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002428/0.4783, allocations: 114.3 kB / 0.5576 GB, free: 2.539 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001934/0.4785, allocations: 362.8 kB / 0.558 GB, free: 2.176 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00111/0.4796, allocations: 457 kB / 0.5584 GB, free: 1.73 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001165/0.4808, allocations: 0.5525 MB / 0.559 GB, free: 1.137 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002076/0.4829, allocations: 0.8924 MB / 0.5598 GB, free: 204 kB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.202e-06/0.4829, allocations: 4 kB / 0.5598 GB, free: 200 kB / 398.1 MB Notification: Performance of matching and sorting (n=72) (initialization): time 0.002567/0.4855, allocations: 1.088 MB / 0.5609 GB, free: 15.09 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.791e-05/0.4855, allocations: 53.62 kB / 0.5609 GB, free: 15.04 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.105e-05/0.4855, allocations: 4 kB / 0.5609 GB, free: 15.03 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.156e-05/0.4856, allocations: 4 kB / 0.561 GB, free: 15.03 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00646/0.492, allocations: 1.108 MB / 0.562 GB, free: 13.92 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009028/0.501, allocations: 4.486 MB / 0.5664 GB, free: 9.207 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001139/0.5022, allocations: 111.6 kB / 0.5665 GB, free: 9.098 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001233/0.5023, allocations: 43.92 kB / 0.5666 GB, free: 9.055 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.0006465/0.5029, allocations: 251.3 kB / 0.5668 GB, free: 8.797 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001586/0.5031, allocations: 55.61 kB / 0.5669 GB, free: 8.742 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00287/0.506, allocations: 0.9888 MB / 0.5678 GB, free: 7.75 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.979e-06/0.506, allocations: 7.984 kB / 0.5678 GB, free: 7.742 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.751e-06/0.506, allocations: 4 kB / 0.5678 GB, free: 7.738 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.515e-06/0.506, allocations: 0 / 0.5678 GB, free: 7.738 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004639/0.5106, allocations: 2.098 MB / 0.5699 GB, free: 5.562 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.115e-06/0.5106, allocations: 8 kB / 0.5699 GB, free: 5.555 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.007382/0.518, allocations: 1.284 MB / 0.5711 GB, free: 4.27 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.529e-05/0.518, allocations: 4 kB / 0.5711 GB, free: 4.266 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001039/0.5181, allocations: 19.98 kB / 0.5712 GB, free: 4.246 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.528e-06/0.5182, allocations: 4 kB / 0.5712 GB, free: 4.242 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.715e-06/0.5182, allocations: 0 / 0.5712 GB, free: 4.242 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004619/0.5228, allocations: 1.697 MB / 0.5728 GB, free: 2.5 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004658/0.5232, allocations: 135.5 kB / 0.573 GB, free: 2.367 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001251/0.5234, allocations: 31.98 kB / 0.573 GB, free: 2.336 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007621/0.5241, allocations: 87.88 kB / 0.5731 GB, free: 2.25 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003669/0.5245, allocations: 103.7 kB / 0.5732 GB, free: 2.148 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.899e-05/0.5246, allocations: 23.92 kB / 0.5732 GB, free: 2.125 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0004643/0.525, allocations: 267.2 kB / 0.5734 GB, free: 1.863 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.525, allocations: 4 kB / 0.5735 GB, free: 1.859 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0008826/0.5259, allocations: 175.7 kB / 0.5736 GB, free: 1.688 MB / 414.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.0002526/0.5262, allocations: 127.1 kB / 0.5737 GB, free: 1.555 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.008315/0.5345, allocations: 2.019 MB / 0.5757 GB, free: 15.53 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 9.408e-06/0.5345, allocations: 0 / 0.5757 GB, free: 15.53 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003993/0.5385, allocations: 0.9559 MB / 0.5766 GB, free: 14.57 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001011/0.5395, allocations: 135.6 kB / 0.5768 GB, free: 14.45 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004248/0.5438, allocations: 1.597 MB / 0.5783 GB, free: 12.8 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006686/0.5444, allocations: 0.9329 MB / 0.5792 GB, free: 11.84 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0005686/0.545, allocations: 152.6 kB / 0.5794 GB, free: 11.69 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000193/0.5452, allocations: 47.42 kB / 0.5794 GB, free: 11.64 MB / 430.1 MB Notification: Performance of SimCode: time 1.402e-06/0.5452, allocations: 0 / 0.5794 GB, free: 11.64 MB / 430.1 MB Notification: Performance of Templates: time 0.01925/0.5644, allocations: 9.216 MB / 0.5884 GB, free: 2.5 MB / 430.1 MB " [Timeout remaining time 659] 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: 5.575581314973533] Failed to read output from testmodel.py, exit status != 0: 0.5750434882938862 0.592446318 0.13944577399999994 Calling exit ... <OMPython.OMCSessionZMQ object at 0x7f235222d7b0>