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.0007727/0.0007727, allocations: 87.67 kB / 21.44 MB, free: 3.113 MB / 18.57 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.002834/0.002834, allocations: 151.7 kB / 24.69 MB, free: 8.902 MB / 18.57 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 0.8559/0.8559, allocations: 177.1 MB / 205 MB, free: 5.73 MB / 186.7 MB " [Timeout remaining time 179] 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.2327/0.2327, allocations: 29.41 MB / 290.8 MB, free: 2.438 MB / 266.7 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.363e-06/1.363e-06, allocations: 0 / 431.5 MB, free: 13.12 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.004e-05/2.14e-05, allocations: 6.219 kB / 431.5 MB, free: 13.12 MB / 410.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Elementary.Inverter): time 0.00521/0.005232, allocations: 6.176 MB / 437.6 MB, free: 6.91 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001965/0.007196, allocations: 1.293 MB / 438.9 MB, free: 5.613 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002776/0.007474, allocations: 35.69 kB / 439 MB, free: 5.578 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000281/0.007755, allocations: 130.9 kB / 439.1 MB, free: 5.449 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0007439/0.008499, allocations: 449.4 kB / 439.5 MB, free: 5.008 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003327/0.008831, allocations: 243.5 kB / 439.8 MB, free: 4.77 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0007348/0.009566, allocations: 1.133 MB / 440.9 MB, free: 3.633 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002769/0.009843, allocations: 254.2 kB / 441.2 MB, free: 3.375 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000557/0.0104, allocations: 0.6544 MB / 441.8 MB, free: 2.719 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007364/0.01114, allocations: 0.4948 MB / 442.3 MB, free: 2.223 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 6.367e-05/0.0112, allocations: 67.94 kB / 442.4 MB, free: 2.156 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.639e-05/0.01128, allocations: 72 kB / 442.4 MB, free: 2.086 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002044/0.01148, allocations: 355 kB / 442.8 MB, free: 1.738 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001933/0.01167, allocations: 275.4 kB / 443.1 MB, free: 1.469 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006344/0.01231, allocations: 0.9229 MB / 444 MB, free: 0.543 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.625e-06/0.01231, allocations: 0 / 444 MB, free: 0.543 MB / 410.7 MB Notification: Performance of FrontEnd: time 8.52e-07/0.01231, allocations: 0 / 444 MB, free: 0.543 MB / 410.7 MB Notification: Performance of Transformations before backend: time 8.005e-06/0.01232, allocations: 0 / 444 MB, free: 0.543 MB / 410.7 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.187/0.1993, allocations: 1.086 MB / 445.1 MB, free: 54.96 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.922e-05/0.1993, allocations: 13.33 kB / 445.1 MB, free: 54.96 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000103/0.1994, allocations: 87.45 kB / 445.2 MB, free: 54.91 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006444/0.2001, allocations: 0.5517 MB / 445.7 MB, free: 54.73 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.491e-05/0.2001, allocations: 214.9 kB / 445.9 MB, free: 54.52 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.504e-05/0.2002, allocations: 64.78 kB / 446 MB, free: 54.5 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008832/0.2011, allocations: 0.8652 MB / 446.9 MB, free: 54.12 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.599e-05/0.2011, allocations: 6.906 kB / 446.9 MB, free: 54.12 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.346e-05/0.2011, allocations: 22.28 kB / 446.9 MB, free: 54.1 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.096e-05/0.2012, allocations: 49.22 kB / 446.9 MB, free: 54.09 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006366/0.2018, allocations: 0.6176 MB / 447.6 MB, free: 53.9 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001679/0.2035, allocations: 2.425 MB / 450 MB, free: 52.34 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007428/0.2043, allocations: 0.5644 MB / 450.5 MB, free: 52.16 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003528/0.2046, allocations: 298.8 kB / 450.8 MB, free: 52.07 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.579e-05/0.2046, allocations: 6.984 kB / 450.8 MB, free: 52.07 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003689/0.205, allocations: 355.6 kB / 451.2 MB, free: 51.91 MB / 410.7 MB Notification: Performance of pre-optimization done (n=41): time 1.282e-06/0.205, allocations: 3 kB / 451.2 MB, free: 51.91 MB / 410.7 MB Notification: Performance of matching and sorting (n=42): time 0.001964/0.207, allocations: 1.668 MB / 452.9 MB, free: 51.15 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.015e-05/0.207, allocations: 122.9 kB / 453 MB, free: 51.02 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002615/0.2073, allocations: 460.5 kB / 453.4 MB, free: 50.8 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.181e-05/0.2073, allocations: 36.98 kB / 453.5 MB, free: 50.76 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001182/0.2074, allocations: 378.5 kB / 453.8 MB, free: 50.46 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.551e-05/0.2075, allocations: 147 kB / 454 MB, free: 50.36 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.161e-05/0.2075, allocations: 116.8 kB / 454.1 MB, free: 50.3 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 5.29e-05/0.2076, allocations: 368.4 kB / 454.5 MB, free: 49.96 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002056/0.2078, allocations: 263.7 kB / 454.7 MB, free: 49.84 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002571/0.2081, allocations: 426 kB / 455.1 MB, free: 49.54 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004351/0.2085, allocations: 0.6044 MB / 455.7 MB, free: 49.14 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.695e-06/0.2085, allocations: 11.25 kB / 455.7 MB, free: 49.13 MB / 410.7 MB Notification: Performance of matching and sorting (n=74) (initialization): time 0.000675/0.2092, allocations: 0.8346 MB / 456.6 MB, free: 48.74 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.157e-05/0.2092, allocations: 49.88 kB / 456.6 MB, free: 48.7 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.671e-06/0.2092, allocations: 9.516 kB / 456.6 MB, free: 48.7 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001479/0.2094, allocations: 96.44 kB / 456.7 MB, free: 48.67 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001953/0.2096, allocations: 110.1 kB / 456.8 MB, free: 48.66 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001097/0.2107, allocations: 2.994 MB / 459.8 MB, free: 45.93 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001672/0.2108, allocations: 35.47 kB / 459.9 MB, free: 45.91 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.668e-05/0.2109, allocations: 42.91 kB / 459.9 MB, free: 45.91 MB / 410.7 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.0001879/0.2111, allocations: 268.1 kB / 460.2 MB, free: 45.73 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.103e-05/0.2111, allocations: 54.23 kB / 460.2 MB, free: 45.7 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007185/0.2118, allocations: 0.6243 MB / 460.8 MB, free: 45.46 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.226e-06/0.2118, allocations: 6.375 kB / 460.9 MB, free: 45.46 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.465e-06/0.2118, allocations: 0 / 460.9 MB, free: 45.46 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.523e-06/0.2118, allocations: 7.016 kB / 460.9 MB, free: 45.46 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001144/0.213, allocations: 1.284 MB / 462.1 MB, free: 44.81 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.768e-06/0.213, allocations: 3.125 kB / 462.1 MB, free: 44.81 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001362/0.2131, allocations: 58.84 kB / 462.2 MB, free: 44.81 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001401/0.2133, allocations: 105.1 kB / 462.3 MB, free: 44.77 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.06e-05/0.2133, allocations: 13.94 kB / 462.3 MB, free: 44.77 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009932/0.2143, allocations: 2.991 MB / 465.3 MB, free: 42.03 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.655e-06/0.2143, allocations: 7.219 kB / 465.3 MB, free: 42.03 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009788/0.2152, allocations: 0.9901 MB / 466.3 MB, free: 41.57 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001025/0.2154, allocations: 93.03 kB / 466.4 MB, free: 41.53 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.648e-05/0.2154, allocations: 31.25 kB / 466.4 MB, free: 41.51 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001711/0.2156, allocations: 40.22 kB / 466.5 MB, free: 41.5 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.955e-05/0.2156, allocations: 33.11 kB / 466.5 MB, free: 41.5 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.859e-05/0.2156, allocations: 15.34 kB / 466.5 MB, free: 41.5 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0001781/0.2158, allocations: 302.5 kB / 466.8 MB, free: 41.36 MB / 410.7 MB Notification: Performance of sort global known variables: time 7e-08/0.2158, allocations: 0 / 466.8 MB, free: 41.36 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.000355/0.2162, allocations: 156.6 kB / 467 MB, free: 41.34 MB / 410.7 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 9.442e-05/0.2163, allocations: 126.1 kB / 467.1 MB, free: 41.24 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0007357/0.217, allocations: 0.8846 MB / 468 MB, free: 40.75 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.222e-06/0.217, allocations: 0 / 468 MB, free: 40.75 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004246/0.2174, allocations: 496.2 kB / 468.5 MB, free: 40.45 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004855/0.2179, allocations: 121.8 kB / 468.6 MB, free: 40.41 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001535/0.2194, allocations: 1.429 MB / 470 MB, free: 39.64 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002624/0.2197, allocations: 374.8 kB / 470.4 MB, free: 39.52 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.503e-05/0.2198, allocations: 40.41 kB / 470.4 MB, free: 39.51 MB / 410.7 MB Notification: Performance of SimCode: time 1.152e-06/0.2198, allocations: 0 / 470.4 MB, free: 39.51 MB / 410.7 MB Notification: Performance of Templates: time 0.01108/0.2309, allocations: 13.42 MB / 483.8 MB, free: 38.43 MB / 410.7 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: 6.501072951592505] Failed to read output from testmodel.py, exit status != 0: 0.23849921114742756 0.249648472 0.23513955600000003 Calling exit ...