Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC3ph.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.001905/0.001905, allocations: 123.5 kB / 18.41 MB, free: 4.684 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.002157/0.002157, allocations: 192.3 kB / 21.35 MB, free: 1.75 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.469/1.469, allocations: 222.9 MB / 247.1 MB, free: 4.211 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.3199/0.3199, allocations: 38.01 MB / 337.2 MB, free: 13.32 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.AC3ph.Inverters.InverterToLoad,tolerance=1e-05,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Inverters.InverterToLoad") translateModel(PowerSystems.Examples.AC3ph.Inverters.InverterToLoad,tolerance=1e-05,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Inverters.InverterToLoad") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001963/0.001963, allocations: 71.92 kB / 467.5 MB, free: 27.51 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1066/0.1086, allocations: 58.06 MB / 0.5133 GB, free: 9.781 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Inverters.InverterToLoad): time 0.008539/0.1172, allocations: 6.496 MB / 0.5196 GB, free: 3.25 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.004646/0.1219, allocations: 2.43 MB / 0.522 GB, free: 0.8125 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004568/0.1224, allocations: 27.81 kB / 0.522 GB, free: 0.7852 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001319/0.1237, allocations: 437.9 kB / 0.5224 GB, free: 364 kB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00144/0.1251, allocations: 0.595 MB / 0.523 GB, free: 15.76 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001161/0.1263, allocations: 491.1 kB / 0.5235 GB, free: 15.28 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.002524/0.1288, allocations: 1.961 MB / 0.5254 GB, free: 13.31 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001489/0.1304, allocations: 0.861 MB / 0.5262 GB, free: 12.44 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001568/0.1319, allocations: 0.7635 MB / 0.527 GB, free: 11.67 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001877/0.1338, allocations: 0.9702 MB / 0.5279 GB, free: 10.7 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005444/0.1344, allocations: 160 kB / 0.5281 GB, free: 10.54 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001469/0.1359, allocations: 0.6437 MB / 0.5287 GB, free: 9.898 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0008233/0.1367, allocations: 0.647 MB / 0.5293 GB, free: 9.25 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0009373/0.1377, allocations: 0.6653 MB / 0.53 GB, free: 8.582 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002569/0.1402, allocations: 2.06 MB / 0.532 GB, free: 6.516 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.937e-06/0.1403, allocations: 0 / 0.532 GB, free: 6.516 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.673e-06/0.1403, allocations: 0 / 0.532 GB, free: 6.516 MB / 398.1 MB Notification: Performance of Transformations before backend: time 2.721e-05/0.1403, allocations: 0 / 0.532 GB, free: 6.516 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: 251 * Number of variables: 251 Notification: Performance of Generate backend data structure: time 0.005244/0.1456, allocations: 1.93 MB / 0.5339 GB, free: 4.5 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.998e-05/0.1456, allocations: 15.89 kB / 0.5339 GB, free: 4.484 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007842/0.1464, allocations: 168.2 kB / 0.5341 GB, free: 4.32 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002392/0.1488, allocations: 0.9716 MB / 0.535 GB, free: 3.309 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000753/0.1496, allocations: 0.5028 MB / 0.5355 GB, free: 2.73 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002901/0.1499, allocations: 103.9 kB / 0.5356 GB, free: 2.629 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004551/0.1544, allocations: 2.023 MB / 0.5376 GB, free: 0.5664 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.025e-05/0.1545, allocations: 3.938 kB / 0.5376 GB, free: 0.5625 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001359/0.1546, allocations: 32 kB / 0.5376 GB, free: 0.5312 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002498/0.1549, allocations: 93.94 kB / 0.5377 GB, free: 448 kB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005408/0.1603, allocations: 2.24 MB / 0.5399 GB, free: 14.2 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01001/0.1704, allocations: 5.657 MB / 0.5454 GB, free: 8.43 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005097/0.1755, allocations: 1.801 MB / 0.5472 GB, free: 6.59 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003107/0.1786, allocations: 1.144 MB / 0.5483 GB, free: 5.434 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001163/0.1788, allocations: 24.97 kB / 0.5483 GB, free: 5.41 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003247/0.182, allocations: 1.383 MB / 0.5497 GB, free: 4.008 MB / 414.1 MB Notification: Performance of pre-optimization done (n=123): time 3.997e-06/0.1821, allocations: 0 / 0.5497 GB, free: 4.008 MB / 414.1 MB Notification: Performance of matching and sorting (n=124): time 0.0151/0.1972, allocations: 5.648 MB / 0.5552 GB, free: 14.3 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001164/0.1973, allocations: 102.1 kB / 0.5553 GB, free: 14.19 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007052/0.198, allocations: 0.4902 MB / 0.5558 GB, free: 13.69 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001528/0.1982, allocations: 57.69 kB / 0.5558 GB, free: 13.62 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003469/0.1986, allocations: 369.5 kB / 0.5562 GB, free: 13.26 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004548/0.199, allocations: 436.3 kB / 0.5566 GB, free: 12.83 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004799/0.1995, allocations: 230.9 kB / 0.5568 GB, free: 12.59 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0002444/0.1998, allocations: 398.7 kB / 0.5572 GB, free: 12.2 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002276/0.202, allocations: 1.029 MB / 0.5582 GB, free: 11.17 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002426/0.2045, allocations: 1.172 MB / 0.5593 GB, free: 9.957 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004522/0.209, allocations: 2.043 MB / 0.5613 GB, free: 7.871 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.129e-06/0.2091, allocations: 0 / 0.5613 GB, free: 7.871 MB / 430.1 MB Notification: Performance of matching and sorting (n=161) (initialization): time 0.01213/0.2212, allocations: 3.903 MB / 0.5651 GB, free: 3.949 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001259/0.2214, allocations: 65.67 kB / 0.5652 GB, free: 3.879 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.661e-05/0.2214, allocations: 4 kB / 0.5652 GB, free: 3.875 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006294/0.2277, allocations: 2.074 MB / 0.5672 GB, free: 1.797 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009486/0.2287, allocations: 187.7 kB / 0.5674 GB, free: 1.613 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02856/0.2572, allocations: 11.32 MB / 0.5785 GB, free: 6.141 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001405/0.2587, allocations: 159.8 kB / 0.5786 GB, free: 5.984 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001793/0.2589, allocations: 79.88 kB / 0.5787 GB, free: 5.906 MB / 446.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: 28 (inverter.modulator.t0[3],$PRE.inverter.modulator.t0[3],inverter.modulator.t0[2],$PRE.inverter.modulator.t0[2],inverter.modulator.t0[1],$PRE.inverter.modulator.t0[1],inverter.modulator.sigdel_t[3],$PRE.inverter.modulator.sigdel_t[3],inverter.modulator.sigdel_t[2],$PRE.inverter.modulator.sigdel_t[2],inverter.modulator.sigdel_t[1],$PRE.inverter.modulator.sigdel_t[1],inverter.modulator.gates[6],$PRE.inverter.modulator.gates[6],inverter.modulator.gates[5],$PRE.inverter.modulator.gates[5],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,$whenCondition2,$whenCondition3) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (106): * Single equations (assignments): 101 * Array equations: 3 * 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 {(6,21)} Notification: Performance of prepare postOptimizeDAE: time 0.000687/0.2596, allocations: 369.5 kB / 0.579 GB, free: 5.535 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002295/0.2598, allocations: 87.47 kB / 0.5791 GB, free: 5.449 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006014/0.2658, allocations: 2.361 MB / 0.5814 GB, free: 3.074 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.286e-05/0.2659, allocations: 24 kB / 0.5815 GB, free: 3.051 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.909e-06/0.2659, allocations: 0 / 0.5815 GB, free: 3.051 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.841e-05/0.2659, allocations: 11.95 kB / 0.5815 GB, free: 3.039 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2307/0.4966, allocations: 4.1 MB / 0.5855 GB, free: 66.77 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.2e-05/0.4966, allocations: 4.906 kB / 0.5855 GB, free: 66.77 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01203/0.5087, allocations: 2.021 MB / 0.5874 GB, free: 66.77 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.199e-05/0.5087, allocations: 6.406 kB / 0.5875 GB, free: 66.77 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002673/0.509, allocations: 39.27 kB / 0.5875 GB, free: 66.77 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.2e-05/0.509, allocations: 6.359 kB / 0.5875 GB, free: 66.77 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.312e-06/0.509, allocations: 6.953 kB / 0.5875 GB, free: 66.77 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009215/0.5183, allocations: 3.862 MB / 0.5913 GB, free: 66.27 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006564/0.519, allocations: 344.1 kB / 0.5916 GB, free: 66.12 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002489/0.5192, allocations: 90.42 kB / 0.5917 GB, free: 66.08 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001497/0.5207, allocations: 184.2 kB / 0.5919 GB, free: 66.07 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004608/0.5212, allocations: 192.2 kB / 0.5921 GB, free: 66.05 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000127/0.5213, allocations: 43.69 kB / 0.5921 GB, free: 66.04 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0004076/0.5217, allocations: 347.5 kB / 0.5924 GB, free: 65.88 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.5218, allocations: 4.812 kB / 0.5924 GB, free: 65.88 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001071/0.5228, allocations: 351.7 kB / 0.5928 GB, free: 65.84 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 9 (meterDC.pav,meterAC.pav[1],meterAC.pav[2],meterAC.pav[3],pqLoad.psi[1],pqLoad.psi[2],pqLoad.psi[3],pqLoad.Z[1],pqLoad.Z[2]) * Number of discrete variables: 16 ($whenCondition3,$whenCondition2,$whenCondition1,system.initime,inverter.modulator.gates[1],inverter.modulator.gates[2],inverter.modulator.gates[3],inverter.modulator.gates[4],inverter.modulator.gates[5],inverter.modulator.gates[6],inverter.modulator.sigdel_t[1],inverter.modulator.sigdel_t[2],inverter.modulator.sigdel_t[3],inverter.modulator.t0[1],inverter.modulator.t0[2],inverter.modulator.t0[3]) * Number of discrete states: 12 (inverter.modulator.t0[3],inverter.modulator.sigdel_t[3],inverter.modulator.gates[5],inverter.modulator.gates[6],inverter.modulator.t0[2],inverter.modulator.sigdel_t[2],inverter.modulator.gates[3],inverter.modulator.gates[4],inverter.modulator.t0[1],inverter.modulator.sigdel_t[1],inverter.modulator.gates[1],inverter.modulator.gates[2]) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (112): * Single equations (assignments): 96 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 13 * 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.0003787/0.5232, allocations: 223.9 kB / 0.593 GB, free: 65.73 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.006751/0.53, allocations: 3 MB / 0.5959 GB, free: 64.7 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 5.029e-06/0.53, allocations: 0 / 0.5959 GB, free: 64.7 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.006229/0.5362, allocations: 1.894 MB / 0.5978 GB, free: 64.3 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001158/0.5374, allocations: 177.4 kB / 0.5979 GB, free: 64.25 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006907/0.5444, allocations: 3.437 MB / 0.6013 GB, free: 62.72 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005744/0.545, allocations: 1.142 MB / 0.6024 GB, free: 61.96 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005678/0.5455, allocations: 86.27 kB / 0.6025 GB, free: 61.95 MB / 446.1 MB Notification: Performance of SimCode: time 8.12e-07/0.5455, allocations: 0 / 0.6025 GB, free: 61.95 MB / 446.1 MB Notification: Performance of Templates: time 0.0205/0.5661, allocations: 19.25 MB / 0.6213 GB, free: 46.23 MB / 446.1 MB " [Timeout remaining time 659] make -j1 -f PowerSystems_PowerSystems.Examples.AC3ph.Inverters.InverterToLoad.makefile [Timeout 660] (rm -f PowerSystems_PowerSystems.Examples.AC3ph.Inverters.InverterToLoad.pipe ; mkfifo PowerSystems_PowerSystems.Examples.AC3ph.Inverters.InverterToLoad.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.AC3ph.Inverters.InverterToLoad.pipe >> ../files/PowerSystems_PowerSystems.Examples.AC3ph.Inverters.InverterToLoad.sim & ./PowerSystems_PowerSystems.Examples.AC3ph.Inverters.InverterToLoad -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.AC3ph.Inverters.InverterToLoad.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 11.16796707501635] Failed to read output from testmodel.py, exit status != 0: 0.5723027500789613 0.58044201 0.438370821 Calling exit ...