Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC1ph_DC.Inverters.InverterToGrid.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.001483/0.001483, allocations: 73.72 kB / 21.24 MB, free: 0.5547 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.00152/0.00152, allocations: 160.5 kB / 24.5 MB, free: 3.715 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.47/1.47, allocations: 177.2 MB / 204.9 MB, free: 8.98 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.1749/0.1749, allocations: 29.43 MB / 290.7 MB, free: 3.254 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.AC1ph_DC.Inverters.InverterToGrid,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC1ph_DC.Inverters.InverterToGrid") translateModel(PowerSystems.Examples.AC1ph_DC.Inverters.InverterToGrid,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC1ph_DC.Inverters.InverterToGrid") [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.003366/0.003366, allocations: 59.91 kB / 431.2 MB, free: 3.207 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3622/0.3655, allocations: 62.46 MB / 493.6 MB, free: 37.75 MB / 446.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Inverters.InverterToGrid): time 0.006437/0.372, allocations: 6.259 MB / 499.9 MB, free: 33.58 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.002693/0.3747, allocations: 1.613 MB / 0.4898 GB, free: 32.5 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003926/0.3751, allocations: 38.88 kB / 0.4898 GB, free: 32.48 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005625/0.3756, allocations: 153 kB / 0.4899 GB, free: 32.4 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001098/0.3767, allocations: 459.5 kB / 0.4904 GB, free: 32.13 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008397/0.3776, allocations: 351.8 kB / 0.4907 GB, free: 31.96 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.001674/0.3792, allocations: 1.513 MB / 0.4922 GB, free: 31.29 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000445/0.3797, allocations: 245.1 kB / 0.4924 GB, free: 31.18 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001088/0.3808, allocations: 0.6374 MB / 0.493 GB, free: 30.91 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000829/0.3816, allocations: 0.6622 MB / 0.4937 GB, free: 30.7 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001347/0.3817, allocations: 100.3 kB / 0.4938 GB, free: 30.7 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001723/0.3819, allocations: 98.19 kB / 0.4939 GB, free: 30.7 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003299/0.3822, allocations: 428.6 kB / 0.4943 GB, free: 30.53 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000391/0.3826, allocations: 399.9 kB / 0.4947 GB, free: 30.32 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001109/0.3837, allocations: 1.191 MB / 0.4958 GB, free: 29.88 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.744e-06/0.3837, allocations: 2.875 kB / 0.4958 GB, free: 29.88 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.282e-05/0.3838, allocations: 0 / 0.4958 GB, free: 29.88 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.959e-05/0.3838, allocations: 0 / 0.4958 GB, free: 29.88 MB / 446.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 159 * Number of variables: 159 Notification: Performance of Generate backend data structure: time 0.002694/0.3865, allocations: 1.258 MB / 0.4971 GB, free: 29.14 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.106e-05/0.3865, allocations: 17.17 kB / 0.4971 GB, free: 29.13 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001723/0.3867, allocations: 101 kB / 0.4972 GB, free: 29.08 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001341/0.388, allocations: 0.6604 MB / 0.4978 GB, free: 28.72 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004368/0.3885, allocations: 0.7499 MB / 0.4986 GB, free: 27.93 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001149/0.3886, allocations: 67.28 kB / 0.4986 GB, free: 27.91 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001976/0.3906, allocations: 1.141 MB / 0.4997 GB, free: 27.46 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.977e-05/0.3906, allocations: 0 / 0.4997 GB, free: 27.46 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.262e-05/0.3906, allocations: 22 kB / 0.4998 GB, free: 27.45 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001117/0.3908, allocations: 39.83 kB / 0.4998 GB, free: 27.45 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002354/0.3931, allocations: 1.171 MB / 0.5009 GB, free: 27.1 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004496/0.3976, allocations: 3.162 MB / 0.504 GB, free: 25.19 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002332/0.3999, allocations: 0.9206 MB / 0.5049 GB, free: 24.89 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001484/0.4014, allocations: 0.6513 MB / 0.5056 GB, free: 24.7 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.406e-05/0.4015, allocations: 7.094 kB / 0.5056 GB, free: 24.7 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001378/0.4029, allocations: 0.6821 MB / 0.5062 GB, free: 24.46 MB / 446.1 MB Notification: Performance of pre-optimization done (n=59): time 2.334e-06/0.4029, allocations: 0 / 0.5062 GB, free: 24.46 MB / 446.1 MB Notification: Performance of matching and sorting (n=61): time 0.0195/0.4224, allocations: 5.503 MB / 0.5116 GB, free: 23.23 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001077/0.4225, allocations: 88.02 kB / 0.5117 GB, free: 23.13 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008738/0.4233, allocations: 426.1 kB / 0.5121 GB, free: 22.93 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001431/0.4235, allocations: 41.23 kB / 0.5121 GB, free: 22.89 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003636/0.4238, allocations: 340.8 kB / 0.5125 GB, free: 22.62 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002264/0.4241, allocations: 211.7 kB / 0.5127 GB, free: 22.45 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002611/0.4243, allocations: 130.6 kB / 0.5128 GB, free: 22.39 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001082/0.4244, allocations: 372 kB / 0.5131 GB, free: 22.05 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001166/0.4256, allocations: 0.5365 MB / 0.5137 GB, free: 21.86 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001227/0.4268, allocations: 0.6584 MB / 0.5143 GB, free: 21.55 MB / 446.1 MB Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: ind.i[1] = ind.i_start[1] (-ind.i_start[2] = ind.i_start[1]) Notification: Performance of analyzeInitialSystem (initialization): time 0.006957/0.4338, allocations: 3.079 MB / 0.5173 GB, free: 20.54 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.931e-06/0.4338, allocations: 5.25 kB / 0.5173 GB, free: 20.53 MB / 446.1 MB Notification: Performance of matching and sorting (n=83) (initialization): time 0.007823/0.4416, allocations: 2.514 MB / 0.5198 GB, free: 19.92 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.903e-05/0.4417, allocations: 48.7 kB / 0.5198 GB, free: 19.88 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.233e-05/0.4417, allocations: 3.562 kB / 0.5198 GB, free: 19.88 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002487/0.4442, allocations: 1.084 MB / 0.5209 GB, free: 19.66 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005128/0.4447, allocations: 110.4 kB / 0.521 GB, free: 19.65 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01598/0.4607, allocations: 6.654 MB / 0.5275 GB, free: 16.83 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008722/0.4616, allocations: 90.41 kB / 0.5276 GB, free: 16.82 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001536/0.4617, allocations: 42.39 kB / 0.5276 GB, free: 16.81 MB / 446.1 MB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization system: ind.i[1] = ind.i_start[1]. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * Number of states: 0 () * Number of discrete variables: 14 (system.initime,$PRE.inverter.modulator.gates[1],$PRE.inverter.modulator.gates[2],$PRE.inverter.modulator.gates[3],$PRE.inverter.modulator.gates[4],$PRE.inverter.modulator.t0,$PRE.inverter.modulator.sigdel_t,inverter.modulator.t0,inverter.modulator.sigdel_t,inverter.modulator.gates[4],inverter.modulator.gates[3],inverter.modulator.gates[2],inverter.modulator.gates[1],$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (63): * Single equations (assignments): 61 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(5,11)} Notification: Performance of prepare postOptimizeDAE: time 0.0005345/0.4622, allocations: 276.7 kB / 0.5279 GB, free: 16.62 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001467/0.4624, allocations: 62.45 kB / 0.5279 GB, free: 16.59 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008506/0.4709, allocations: 2.422 MB / 0.5303 GB, free: 15.99 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.466e-05/0.4709, allocations: 6.688 kB / 0.5303 GB, free: 15.99 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.172e-06/0.4709, allocations: 5.312 kB / 0.5303 GB, free: 15.98 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.424e-05/0.4709, allocations: 3.984 kB / 0.5303 GB, free: 15.98 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009984/0.4809, allocations: 3.286 MB / 0.5335 GB, free: 14.18 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.673e-05/0.4809, allocations: 1.094 kB / 0.5335 GB, free: 14.18 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00045/0.4814, allocations: 78.8 kB / 0.5336 GB, free: 14.16 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00242/0.4838, allocations: 1.096 MB / 0.5347 GB, free: 13.7 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001167/0.4839, allocations: 19.89 kB / 0.5347 GB, free: 13.69 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01473/0.4986, allocations: 6.631 MB / 0.5412 GB, free: 8.387 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.937e-06/0.4986, allocations: 4 kB / 0.5412 GB, free: 8.383 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0086/0.5072, allocations: 3.199 MB / 0.5443 GB, free: 5.141 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004643/0.5077, allocations: 143.5 kB / 0.5444 GB, free: 5 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001938/0.5079, allocations: 35.98 kB / 0.5445 GB, free: 4.965 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007815/0.5087, allocations: 91.86 kB / 0.5446 GB, free: 4.875 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003713/0.5091, allocations: 168.2 kB / 0.5447 GB, free: 4.711 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.069e-05/0.5091, allocations: 28.08 kB / 0.5447 GB, free: 4.684 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0003058/0.5094, allocations: 291 kB / 0.545 GB, free: 4.398 MB / 446.1 MB Notification: Performance of sort global known variables: time 8e-08/0.5094, allocations: 0 / 0.545 GB, free: 4.398 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0009676/0.5104, allocations: 224 kB / 0.5452 GB, free: 4.18 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 3 (meterDC.pav,meterAC.pav,ind.i[2]) * Number of discrete variables: 8 ($whenCondition1,inverter.modulator.gates[1],inverter.modulator.gates[2],inverter.modulator.gates[3],inverter.modulator.gates[4],inverter.modulator.sigdel_t,inverter.modulator.t0,system.initime) * 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 (50): * Single equations (assignments): 42 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 7 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(5,11)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001716/0.5106, allocations: 136.4 kB / 0.5454 GB, free: 4.039 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.004103/0.5147, allocations: 1.702 MB / 0.547 GB, free: 2.309 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 5.07e-06/0.5147, allocations: 4 kB / 0.547 GB, free: 2.305 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002833/0.5175, allocations: 1.079 MB / 0.5481 GB, free: 1.215 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008281/0.5183, allocations: 144.8 kB / 0.5482 GB, free: 1.074 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003133/0.5215, allocations: 1.706 MB / 0.5499 GB, free: 15.32 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005314/0.522, allocations: 399.3 kB / 0.5503 GB, free: 14.9 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.000388/0.5224, allocations: 120.9 kB / 0.5504 GB, free: 14.78 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001318/0.5225, allocations: 48.48 kB / 0.5504 GB, free: 14.73 MB / 462.1 MB Notification: Performance of SimCode: time 1.002e-06/0.5225, allocations: 4 kB / 0.5504 GB, free: 14.73 MB / 462.1 MB Notification: Performance of Templates: time 0.02874/0.5513, allocations: 15.56 MB / 0.5656 GB, free: 15.25 MB / 478.1 MB " [Timeout remaining time 659] make -j1 -f PowerSystems_PowerSystems.Examples.AC1ph_DC.Inverters.InverterToGrid.makefile [Timeout 660] (rm -f PowerSystems_PowerSystems.Examples.AC1ph_DC.Inverters.InverterToGrid.pipe ; mkfifo PowerSystems_PowerSystems.Examples.AC1ph_DC.Inverters.InverterToGrid.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.AC1ph_DC.Inverters.InverterToGrid.pipe >> ../files/PowerSystems_PowerSystems.Examples.AC1ph_DC.Inverters.InverterToGrid.sim & ./PowerSystems_PowerSystems.Examples.AC1ph_DC.Inverters.InverterToGrid -abortSlowSimulation -alarm=480 -s ida -lv LOG_STATS > PowerSystems_PowerSystems.Examples.AC1ph_DC.Inverters.InverterToGrid.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.697176443994977] Failed to read output from testmodel.py, exit status != 0: 0.5638691729400307 0.57775516 0.190742888 Calling exit ...