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.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.001429/0.001436, allocations: 116.9 kB / 18.41 MB, free: 4.664 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.001336/0.001336, allocations: 190.9 kB / 21.35 MB, free: 1.734 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.419/1.419, allocations: 222.9 MB / 247 MB, free: 4.207 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.3084/0.3084, allocations: 37.99 MB / 337.2 MB, free: 12.91 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.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: Performance of FrontEnd - loaded program: time 0.002122/0.002122, allocations: 68.52 kB / 467.5 MB, free: 27.45 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09847/0.1006, allocations: 58.07 MB / 0.5133 GB, free: 9.742 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Inverters.InverterToGrid): time 0.009133/0.1098, allocations: 6.55 MB / 0.5197 GB, free: 3.156 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.003316/0.1131, allocations: 1.652 MB / 0.5213 GB, free: 1.5 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006023/0.1138, allocations: 27.88 kB / 0.5213 GB, free: 1.473 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006663/0.1144, allocations: 154.7 kB / 0.5215 GB, free: 1.32 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001258/0.1158, allocations: 445.8 kB / 0.5219 GB, free: 0.8828 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001004/0.1168, allocations: 351.4 kB / 0.5222 GB, free: 0.5391 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.002044/0.1188, allocations: 1.508 MB / 0.5237 GB, free: 15.03 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005934/0.1194, allocations: 401.7 kB / 0.5241 GB, free: 14.63 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001177/0.1206, allocations: 0.5995 MB / 0.5247 GB, free: 14.03 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001299/0.1219, allocations: 0.6504 MB / 0.5253 GB, free: 13.38 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002766/0.1222, allocations: 100 kB / 0.5254 GB, free: 13.28 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003084/0.1226, allocations: 96 kB / 0.5255 GB, free: 13.18 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005303/0.1231, allocations: 415.1 kB / 0.5259 GB, free: 12.78 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006305/0.1237, allocations: 466 kB / 0.5263 GB, free: 12.32 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001489/0.1252, allocations: 1.187 MB / 0.5275 GB, free: 11.13 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.256e-05/0.1253, allocations: 4 kB / 0.5275 GB, free: 11.12 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.413e-06/0.1253, allocations: 4 kB / 0.5275 GB, free: 11.12 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.773e-05/0.1253, allocations: 0 / 0.5275 GB, free: 11.12 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: 159 * Number of variables: 159 Notification: Performance of Generate backend data structure: time 0.003072/0.1284, allocations: 1.324 MB / 0.5288 GB, free: 9.734 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.851e-05/0.1284, allocations: 11.89 kB / 0.5288 GB, free: 9.723 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001939/0.1286, allocations: 96.42 kB / 0.5289 GB, free: 9.629 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0015/0.1301, allocations: 0.7487 MB / 0.5296 GB, free: 8.836 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004832/0.1306, allocations: 347 kB / 0.5299 GB, free: 8.449 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001338/0.1308, allocations: 68 kB / 0.53 GB, free: 8.383 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002544/0.1333, allocations: 1.138 MB / 0.5311 GB, free: 7.207 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.135e-05/0.1334, allocations: 7.938 kB / 0.5311 GB, free: 7.199 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.78e-05/0.1335, allocations: 28 kB / 0.5312 GB, free: 7.172 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001367/0.1336, allocations: 37.28 kB / 0.5312 GB, free: 7.137 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003007/0.1366, allocations: 1.172 MB / 0.5323 GB, free: 5.961 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005884/0.1425, allocations: 3.481 MB / 0.5357 GB, free: 2.375 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002779/0.1453, allocations: 0.9682 MB / 0.5367 GB, free: 1.391 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001914/0.1473, allocations: 0.6864 MB / 0.5373 GB, free: 0.6992 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.812e-05/0.1473, allocations: 4.562 kB / 0.5374 GB, free: 0.6914 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00174/0.1491, allocations: 0.6889 MB / 0.538 GB, free: 15.98 MB / 414.1 MB Notification: Performance of pre-optimization done (n=59): time 2.575e-06/0.1491, allocations: 0 / 0.538 GB, free: 15.98 MB / 414.1 MB Notification: Performance of matching and sorting (n=61): time 0.02155/0.1707, allocations: 5.684 MB / 0.5436 GB, free: 10.22 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.924e-05/0.1708, allocations: 85.67 kB / 0.5437 GB, free: 10.12 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007149/0.1715, allocations: 477.8 kB / 0.5441 GB, free: 9.645 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001244/0.1716, allocations: 37.7 kB / 0.5442 GB, free: 9.602 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003153/0.172, allocations: 332.8 kB / 0.5445 GB, free: 9.27 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002446/0.1722, allocations: 218.2 kB / 0.5447 GB, free: 9.055 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002659/0.1725, allocations: 130.3 kB / 0.5448 GB, free: 8.922 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001975/0.1727, allocations: 362.8 kB / 0.5451 GB, free: 8.559 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001249/0.1739, allocations: 0.5129 MB / 0.5456 GB, free: 8.047 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001294/0.1752, allocations: 0.6258 MB / 0.5463 GB, free: 7.375 MB / 414.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.007713/0.183, allocations: 3.127 MB / 0.5493 GB, free: 4.172 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.911e-06/0.183, allocations: 0 / 0.5493 GB, free: 4.172 MB / 414.1 MB Notification: Performance of matching and sorting (n=83) (initialization): time 0.008394/0.1914, allocations: 2.499 MB / 0.5518 GB, free: 1.652 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.752e-05/0.1915, allocations: 53.72 kB / 0.5518 GB, free: 1.594 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.114e-05/0.1916, allocations: 0 / 0.5518 GB, free: 1.594 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002757/0.1943, allocations: 1.092 MB / 0.5529 GB, free: 0.5 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000563/0.1949, allocations: 115.7 kB / 0.553 GB, free: 396 kB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01761/0.2125, allocations: 6.844 MB / 0.5597 GB, free: 9.402 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008212/0.2134, allocations: 83.95 kB / 0.5597 GB, free: 9.32 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000129/0.2135, allocations: 47.91 kB / 0.5598 GB, free: 9.273 MB / 430.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.0004731/0.214, allocations: 283.6 kB / 0.5601 GB, free: 8.984 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001216/0.2141, allocations: 67.58 kB / 0.5601 GB, free: 8.918 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008831/0.223, allocations: 2.421 MB / 0.5625 GB, free: 6.48 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.858e-05/0.223, allocations: 15.92 kB / 0.5625 GB, free: 6.465 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.831e-06/0.223, allocations: 4 kB / 0.5625 GB, free: 6.461 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.468e-05/0.2231, allocations: 3.938 kB / 0.5625 GB, free: 6.457 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01073/0.2338, allocations: 3.556 MB / 0.566 GB, free: 2.816 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.399e-05/0.2339, allocations: 4 kB / 0.566 GB, free: 2.812 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004512/0.2343, allocations: 75.89 kB / 0.5661 GB, free: 2.738 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002744/0.2371, allocations: 1.098 MB / 0.5671 GB, free: 1.637 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001376/0.2372, allocations: 19.98 kB / 0.5672 GB, free: 1.617 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01756/0.2548, allocations: 6.835 MB / 0.5738 GB, free: 10.64 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.878e-06/0.2548, allocations: 0 / 0.5738 GB, free: 10.64 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01075/0.2656, allocations: 3.2 MB / 0.577 GB, free: 7.398 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004468/0.2661, allocations: 224.6 kB / 0.5772 GB, free: 7.16 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001321/0.2662, allocations: 31.98 kB / 0.5772 GB, free: 7.129 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007737/0.267, allocations: 99.86 kB / 0.5773 GB, free: 7.031 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004432/0.2675, allocations: 172.2 kB / 0.5775 GB, free: 6.863 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.363e-05/0.2675, allocations: 23.98 kB / 0.5775 GB, free: 6.84 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0004492/0.268, allocations: 322.9 kB / 0.5778 GB, free: 6.527 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.268, allocations: 0 / 0.5778 GB, free: 6.527 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0008884/0.2689, allocations: 228 kB / 0.578 GB, free: 6.305 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.0002091/0.2691, allocations: 135.1 kB / 0.5781 GB, free: 6.164 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.005124/0.2742, allocations: 1.727 MB / 0.5798 GB, free: 4.41 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 6.192e-06/0.2743, allocations: 0 / 0.5798 GB, free: 4.41 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003674/0.278, allocations: 1.119 MB / 0.5809 GB, free: 3.277 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009988/0.279, allocations: 180.4 kB / 0.5811 GB, free: 3.102 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003507/0.2825, allocations: 1.762 MB / 0.5828 GB, free: 1.285 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007662/0.2833, allocations: 0.9967 MB / 0.5838 GB, free: 268 kB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001748/0.2835, allocations: 43.44 kB / 0.5838 GB, free: 224 kB / 446.1 MB Notification: Performance of SimCode: time 8.51e-07/0.2835, allocations: 0 / 0.5838 GB, free: 224 kB / 446.1 MB Notification: Performance of Templates: time 0.2231/0.5067, allocations: 13.5 MB / 0.597 GB, free: 64.12 MB / 446.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 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.AC1ph_DC.Inverters.InverterToGrid.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 9.931957899942063] Failed to read output from testmodel.py, exit status != 0: 0.5129712459165603 0.5222866869999999 0.39521182699999996 Calling exit ...