Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Inverter.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.001384/0.001384, allocations: 82.36 kB / 20.68 MB, free: 1.027 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.00153/0.00153, allocations: 167.9 kB / 23.96 MB, free: 4.148 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.495/1.495, allocations: 177.1 MB / 204.3 MB, free: 9.168 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.186/0.186, allocations: 29.43 MB / 290.1 MB, free: 3.262 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.Elementary.Inverter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Inverter") translateModel(PowerSystems.Examples.AC1ph_DC.Elementary.Inverter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Inverter") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.503e-06/1.503e-06, allocations: 0 / 430.7 MB, free: 1.918 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.398e-05/2.548e-05, allocations: 5.656 kB / 430.7 MB, free: 1.914 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Elementary.Inverter): time 0.008112/0.008137, allocations: 6.161 MB / 436.9 MB, free: 11.71 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.002431/0.01057, allocations: 1.289 MB / 438.2 MB, free: 10.42 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000252/0.01082, allocations: 39.69 kB / 438.2 MB, free: 10.38 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003456/0.01117, allocations: 126.9 kB / 438.3 MB, free: 10.26 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000991/0.01216, allocations: 445.3 kB / 438.8 MB, free: 9.82 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005383/0.0127, allocations: 251.5 kB / 439 MB, free: 9.574 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.001262/0.01396, allocations: 1.133 MB / 440.1 MB, free: 8.438 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003835/0.01434, allocations: 250.2 kB / 440.4 MB, free: 8.191 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008805/0.01522, allocations: 0.6622 MB / 441.1 MB, free: 7.527 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000769/0.01599, allocations: 0.4908 MB / 441.5 MB, free: 7.035 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001183/0.01611, allocations: 68 kB / 441.6 MB, free: 6.969 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001501/0.01626, allocations: 64 kB / 441.7 MB, free: 6.906 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003712/0.01663, allocations: 351 kB / 442 MB, free: 6.562 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003694/0.017, allocations: 275.4 kB / 442.3 MB, free: 6.293 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001094/0.01809, allocations: 0.9229 MB / 443.2 MB, free: 5.367 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.766e-06/0.0181, allocations: 7.984 kB / 443.2 MB, free: 5.359 MB / 366.1 MB Notification: Performance of FrontEnd: time 9.82e-07/0.0181, allocations: 0 / 443.2 MB, free: 5.359 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.06e-05/0.01811, allocations: 4 kB / 443.2 MB, free: 5.355 MB / 366.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 156 * Number of variables: 156 Notification: Performance of Generate backend data structure: time 0.002103/0.02022, allocations: 1.08 MB / 444.3 MB, free: 4.227 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.837e-05/0.02025, allocations: 19.98 kB / 444.3 MB, free: 4.207 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001766/0.02043, allocations: 96.38 kB / 444.4 MB, free: 4.113 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001038/0.02147, allocations: 0.5354 MB / 445 MB, free: 3.551 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002113/0.02168, allocations: 220.1 kB / 445.2 MB, free: 3.301 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001237/0.0218, allocations: 68.38 kB / 445.2 MB, free: 3.234 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001632/0.02344, allocations: 0.8652 MB / 446.1 MB, free: 2.328 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.991e-05/0.02346, allocations: 7.938 kB / 446.1 MB, free: 2.32 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.204e-05/0.02353, allocations: 24 kB / 446.1 MB, free: 2.297 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001134/0.02364, allocations: 37.28 kB / 446.2 MB, free: 2.262 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00129/0.02493, allocations: 0.6256 MB / 446.8 MB, free: 1.637 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1989/0.2238, allocations: 2.426 MB / 449.2 MB, free: 28.97 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001766/0.2256, allocations: 0.566 MB / 449.8 MB, free: 28.93 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007934/0.2264, allocations: 300 kB / 450.1 MB, free: 28.91 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.253e-05/0.2264, allocations: 6.953 kB / 450.1 MB, free: 28.91 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000801/0.2272, allocations: 353.8 kB / 450.4 MB, free: 28.78 MB / 366.1 MB Notification: Performance of pre-optimization done (n=41): time 2.635e-06/0.2272, allocations: 0 / 450.4 MB, free: 28.78 MB / 366.1 MB Notification: Performance of matching and sorting (n=42): time 0.004224/0.2314, allocations: 1.679 MB / 452.1 MB, free: 28.08 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.425e-05/0.2315, allocations: 115.5 kB / 452.2 MB, free: 27.95 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000526/0.232, allocations: 456.1 kB / 452.7 MB, free: 27.75 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.994e-05/0.232, allocations: 39.61 kB / 452.7 MB, free: 27.71 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002106/0.2323, allocations: 381.9 kB / 453.1 MB, free: 27.45 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.204e-05/0.2324, allocations: 144.1 kB / 453.2 MB, free: 27.35 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001682/0.2325, allocations: 119.6 kB / 453.3 MB, free: 27.29 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 8.736e-05/0.2326, allocations: 365.2 kB / 453.7 MB, free: 26.95 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003521/0.233, allocations: 257.1 kB / 453.9 MB, free: 26.84 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004196/0.2334, allocations: 427.8 kB / 454.4 MB, free: 26.54 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007428/0.2341, allocations: 0.6164 MB / 455 MB, free: 26.14 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.206e-06/0.2341, allocations: 1.375 kB / 455 MB, free: 26.14 MB / 366.1 MB Notification: Performance of matching and sorting (n=74) (initialization): time 0.001251/0.2354, allocations: 0.8353 MB / 455.8 MB, free: 25.75 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.395e-05/0.2354, allocations: 49.03 kB / 455.9 MB, free: 25.72 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.167e-05/0.2354, allocations: 7.938 kB / 455.9 MB, free: 25.72 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003259/0.2358, allocations: 90.45 kB / 456 MB, free: 25.69 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004138/0.2362, allocations: 106.4 kB / 456.1 MB, free: 25.68 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002152/0.2383, allocations: 2.998 MB / 459.1 MB, free: 22.95 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003769/0.2387, allocations: 37.45 kB / 459.1 MB, free: 22.93 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.527e-05/0.2388, allocations: 44.38 kB / 459.1 MB, free: 22.93 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 23 * Number of states: 0 () * Number of discrete variables: 14 (system.initime,dc_ac.modulator.t0,$PRE.dc_ac.modulator.t0,dc_ac.modulator.sigdel_t,$PRE.dc_ac.modulator.sigdel_t,dc_ac.modulator.gates[4],$PRE.dc_ac.modulator.gates[4],dc_ac.modulator.gates[3],$PRE.dc_ac.modulator.gates[3],dc_ac.modulator.gates[2],$PRE.dc_ac.modulator.gates[2],dc_ac.modulator.gates[1],$PRE.dc_ac.modulator.gates[1],$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (66): * Single equations (assignments): 63 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,2,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.000363/0.2392, allocations: 269.8 kB / 459.4 MB, free: 22.75 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.148e-05/0.2392, allocations: 52.09 kB / 459.5 MB, free: 22.72 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001541/0.2408, allocations: 0.6237 MB / 460.1 MB, free: 22.48 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.586e-06/0.2408, allocations: 13.92 kB / 460.1 MB, free: 22.47 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.858e-06/0.2408, allocations: 1.281 kB / 460.1 MB, free: 22.47 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.297e-06/0.2408, allocations: 3.641 kB / 460.1 MB, free: 22.47 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002419/0.2432, allocations: 1.288 MB / 461.4 MB, free: 21.82 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.538e-06/0.2432, allocations: 0.75 kB / 461.4 MB, free: 21.82 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002965/0.2435, allocations: 62.81 kB / 461.4 MB, free: 21.82 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002931/0.2438, allocations: 102.1 kB / 461.5 MB, free: 21.79 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.349e-05/0.2439, allocations: 15.52 kB / 461.6 MB, free: 21.78 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002388/0.2462, allocations: 2.984 MB / 464.5 MB, free: 19.05 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.047e-06/0.2463, allocations: 1.5 kB / 464.5 MB, free: 19.05 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002311/0.2486, allocations: 0.9872 MB / 465.5 MB, free: 18.61 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002021/0.2488, allocations: 92.72 kB / 465.6 MB, free: 18.56 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.722e-05/0.2489, allocations: 28.03 kB / 465.7 MB, free: 18.55 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004332/0.2493, allocations: 49.64 kB / 465.7 MB, free: 18.54 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.151e-05/0.2494, allocations: 37.31 kB / 465.7 MB, free: 18.52 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.857e-05/0.2494, allocations: 17.22 kB / 465.8 MB, free: 18.52 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0003539/0.2498, allocations: 302 kB / 466 MB, free: 18.38 MB / 366.1 MB Notification: Performance of sort global known variables: time 6e-08/0.2498, allocations: 0 / 466 MB, free: 18.38 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0007489/0.2505, allocations: 150.1 kB / 466.2 MB, free: 18.37 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 4 (ind.i[1],ind.i[2],meterAC.pav,meterDC.pav) * Number of discrete variables: 8 ($whenCondition1,dc_ac.modulator.gates[1],dc_ac.modulator.gates[2],dc_ac.modulator.gates[3],dc_ac.modulator.gates[4],dc_ac.modulator.sigdel_t,dc_ac.modulator.t0,system.initime) * Number of discrete states: 6 (dc_ac.modulator.t0,dc_ac.modulator.sigdel_t,dc_ac.modulator.gates[3],dc_ac.modulator.gates[4],dc_ac.modulator.gates[1],dc_ac.modulator.gates[2]) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (42): * Single equations (assignments): 33 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 7 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,1,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001621/0.2507, allocations: 125.3 kB / 466.3 MB, free: 18.27 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001542/0.2522, allocations: 0.8792 MB / 467.2 MB, free: 17.78 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.595e-06/0.2522, allocations: 0 / 467.2 MB, free: 17.78 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009109/0.2531, allocations: 494.1 kB / 467.7 MB, free: 17.48 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000781/0.2539, allocations: 131 kB / 467.8 MB, free: 17.44 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002487/0.2564, allocations: 1.386 MB / 469.2 MB, free: 16.7 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005181/0.2569, allocations: 376.4 kB / 469.6 MB, free: 16.57 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0003285/0.2573, allocations: 101.1 kB / 469.7 MB, free: 16.55 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001242/0.2574, allocations: 43.09 kB / 469.7 MB, free: 16.54 MB / 366.1 MB Notification: Performance of SimCode: time 9.02e-07/0.2574, allocations: 0 / 469.7 MB, free: 16.54 MB / 366.1 MB Notification: Performance of Templates: time 0.01325/0.2706, allocations: 6.781 MB / 476.5 MB, free: 14.07 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Inverter.makefile [Timeout 660] (rm -f PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Inverter.pipe ; mkfifo PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Inverter.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Inverter.pipe >> ../files/PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Inverter.sim & ./PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Inverter -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Inverter.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.075705222785473] Failed to read output from testmodel.py, exit status != 0: 0.2791186422109604 0.28877312499999996 0.268342785 Calling exit ...