Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC3ph.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.0008515/0.0008515, allocations: 87.62 kB / 21.43 MB, free: 3.133 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.004727/0.004727, allocations: 163.1 kB / 24.7 MB, free: 8.891 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.8849/0.8849, allocations: 177.1 MB / 205 MB, free: 5.766 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.2183/0.2183, allocations: 29.41 MB / 290.8 MB, free: 2.434 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.AC3ph.Elementary.Inverter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Inverter") translateModel(PowerSystems.Examples.AC3ph.Elementary.Inverter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Inverter") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.623e-06/1.623e-06, allocations: 0 / 431.5 MB, free: 13.11 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.62e-05/2.782e-05, allocations: 2.281 kB / 431.5 MB, free: 13.1 MB / 410.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Elementary.Inverter): time 0.005994/0.006021, allocations: 6.581 MB / 438.1 MB, free: 6.488 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.002956/0.008977, allocations: 1.959 MB / 440 MB, free: 4.523 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005101/0.009488, allocations: 39.62 kB / 440.1 MB, free: 4.484 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000978/0.01047, allocations: 0.4968 MB / 440.6 MB, free: 3.988 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001267/0.01173, allocations: 0.5789 MB / 441.1 MB, free: 3.406 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008804/0.01261, allocations: 434.8 kB / 441.6 MB, free: 2.98 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.001341/0.01395, allocations: 1.398 MB / 443 MB, free: 1.578 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007652/0.01472, allocations: 0.5881 MB / 443.5 MB, free: 0.9766 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001417/0.01614, allocations: 0.8338 MB / 444.4 MB, free: 144 kB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.1833/0.1994, allocations: 0.648 MB / 445 MB, free: 45.01 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000206/0.1996, allocations: 97.84 kB / 445.1 MB, free: 45.01 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000762/0.2004, allocations: 0.5273 MB / 445.6 MB, free: 45.01 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003171/0.2007, allocations: 0.5229 MB / 446.2 MB, free: 45.01 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003363/0.2011, allocations: 399.9 kB / 446.6 MB, free: 45.01 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001279/0.2023, allocations: 1.606 MB / 448.2 MB, free: 44.96 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.941e-06/0.2023, allocations: 0 / 448.2 MB, free: 44.96 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.513e-06/0.2023, allocations: 0 / 448.2 MB, free: 44.96 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.546e-05/0.2024, allocations: 3.812 kB / 448.2 MB, free: 44.96 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: 248 * Number of variables: 248 Notification: Performance of Generate backend data structure: time 0.001836/0.2042, allocations: 1.515 MB / 449.7 MB, free: 44.2 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.509e-05/0.2042, allocations: 13.33 kB / 449.7 MB, free: 44.2 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005652/0.2048, allocations: 195.6 kB / 449.9 MB, free: 44.14 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008127/0.2056, allocations: 0.6638 MB / 450.6 MB, free: 43.91 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001416/0.2058, allocations: 333.7 kB / 450.9 MB, free: 43.62 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001572/0.2059, allocations: 105 kB / 451 MB, free: 43.62 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001515/0.2074, allocations: 1.533 MB / 452.5 MB, free: 43.4 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.33e-05/0.2075, allocations: 7.172 kB / 452.5 MB, free: 43.39 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.283e-05/0.2075, allocations: 42.3 kB / 452.6 MB, free: 43.39 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.337e-05/0.2076, allocations: 64.38 kB / 452.6 MB, free: 43.39 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001219/0.2088, allocations: 1.169 MB / 453.8 MB, free: 43.38 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003781/0.2126, allocations: 4.315 MB / 458.1 MB, free: 40.75 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001593/0.2142, allocations: 0.9944 MB / 459.1 MB, free: 40.46 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006741/0.2149, allocations: 0.5147 MB / 459.6 MB, free: 40.3 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.366e-05/0.2149, allocations: 10.44 kB / 459.6 MB, free: 40.29 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008069/0.2157, allocations: 0.7121 MB / 460.3 MB, free: 40.04 MB / 410.7 MB Notification: Performance of pre-optimization done (n=80): time 2.805e-06/0.2157, allocations: 0 / 460.3 MB, free: 40.04 MB / 410.7 MB Notification: Performance of matching and sorting (n=81): time 0.004159/0.2199, allocations: 2.986 MB / 463.3 MB, free: 38.79 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.134e-05/0.22, allocations: 130.8 kB / 463.5 MB, free: 38.66 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004283/0.2204, allocations: 0.516 MB / 464 MB, free: 38.41 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 5.364e-05/0.2204, allocations: 53.08 kB / 464 MB, free: 38.36 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002527/0.2207, allocations: 474.7 kB / 464.5 MB, free: 38 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.00014/0.2208, allocations: 277.3 kB / 464.8 MB, free: 37.79 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001821/0.221, allocations: 199.6 kB / 464.9 MB, free: 37.7 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 8.097e-05/0.2211, allocations: 386 kB / 465.3 MB, free: 37.36 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004645/0.2216, allocations: 0.5228 MB / 465.8 MB, free: 37.16 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000513/0.2221, allocations: 0.7905 MB / 466.6 MB, free: 36.64 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009633/0.223, allocations: 1.253 MB / 467.9 MB, free: 35.93 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.208e-06/0.223, allocations: 0 / 467.9 MB, free: 35.93 MB / 410.7 MB Notification: Performance of matching and sorting (n=137) (initialization): time 0.001536/0.2246, allocations: 1.548 MB / 469.4 MB, free: 35.33 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.762e-05/0.2246, allocations: 62.66 kB / 469.5 MB, free: 35.29 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.001117/0.2257, allocations: 1.269 MB / 470.8 MB, free: 34.79 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002801/0.226, allocations: 112 kB / 470.9 MB, free: 34.75 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004282/0.2265, allocations: 202.6 kB / 471.1 MB, free: 34.75 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001692/0.2281, allocations: 3.097 MB / 474.2 MB, free: 31.98 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006726/0.2288, allocations: 76.61 kB / 474.3 MB, free: 31.96 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.602e-05/0.2289, allocations: 77.47 kB / 474.3 MB, free: 31.95 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 37 * Number of states: 0 () * Number of discrete variables: 28 (system.initime,ac_dc.modulator.t0[3],$PRE.ac_dc.modulator.t0[3],ac_dc.modulator.t0[2],$PRE.ac_dc.modulator.t0[2],ac_dc.modulator.t0[1],$PRE.ac_dc.modulator.t0[1],ac_dc.modulator.sigdel_t[3],$PRE.ac_dc.modulator.sigdel_t[3],ac_dc.modulator.sigdel_t[2],$PRE.ac_dc.modulator.sigdel_t[2],ac_dc.modulator.sigdel_t[1],$PRE.ac_dc.modulator.sigdel_t[1],ac_dc.modulator.gates[6],$PRE.ac_dc.modulator.gates[6],ac_dc.modulator.gates[5],$PRE.ac_dc.modulator.gates[5],ac_dc.modulator.gates[4],$PRE.ac_dc.modulator.gates[4],ac_dc.modulator.gates[3],$PRE.ac_dc.modulator.gates[3],ac_dc.modulator.gates[2],$PRE.ac_dc.modulator.gates[2],ac_dc.modulator.gates[1],$PRE.ac_dc.modulator.gates[1],$whenCondition1,$whenCondition2,$whenCondition3) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (113): * Single equations (assignments): 109 * Array equations: 1 * 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,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0005436/0.2295, allocations: 381.2 kB / 474.7 MB, free: 31.73 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001128/0.2296, allocations: 75.89 kB / 474.8 MB, free: 31.7 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001586/0.2311, allocations: 1.184 MB / 476 MB, free: 31.28 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.973e-05/0.2312, allocations: 23.56 kB / 476 MB, free: 31.28 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.022e-06/0.2312, allocations: 3.219 kB / 476 MB, free: 31.28 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.759e-06/0.2312, allocations: 3.422 kB / 476 MB, free: 31.28 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002514/0.2337, allocations: 2.109 MB / 478.1 MB, free: 30.39 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.402e-06/0.2337, allocations: 0 / 478.1 MB, free: 30.39 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003996/0.2341, allocations: 144.5 kB / 478.2 MB, free: 30.38 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.116e-05/0.2342, allocations: 37.48 kB / 478.3 MB, free: 30.37 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.971e-05/0.2342, allocations: 31.28 kB / 478.3 MB, free: 30.36 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006487/0.2349, allocations: 1.5 MB / 479.8 MB, free: 28.93 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.813e-06/0.2349, allocations: 0 / 479.8 MB, free: 28.93 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002303/0.2372, allocations: 1.838 MB / 481.6 MB, free: 28.21 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003203/0.2375, allocations: 159.3 kB / 481.8 MB, free: 28.14 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001216/0.2376, allocations: 85.61 kB / 481.9 MB, free: 28.1 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003601/0.238, allocations: 91.05 kB / 482 MB, free: 28.09 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000109/0.2381, allocations: 57.2 kB / 482 MB, free: 28.08 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.354e-05/0.2382, allocations: 28.67 kB / 482.1 MB, free: 28.08 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0003214/0.2385, allocations: 337.8 kB / 482.4 MB, free: 27.92 MB / 410.7 MB Notification: Performance of sort global known variables: time 8e-08/0.2385, allocations: 1.125 kB / 482.4 MB, free: 27.92 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0008683/0.2393, allocations: 236.3 kB / 482.6 MB, free: 27.89 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 7 (ind.i[1],ind.i[2],ind.i[3],meterAC.pav[1],meterAC.pav[2],meterAC.pav[3],meterDC.pav) * Number of discrete variables: 16 ($whenCondition3,$whenCondition2,$whenCondition1,ac_dc.modulator.gates[1],ac_dc.modulator.gates[2],ac_dc.modulator.gates[3],ac_dc.modulator.gates[4],ac_dc.modulator.gates[5],ac_dc.modulator.gates[6],ac_dc.modulator.sigdel_t[1],ac_dc.modulator.sigdel_t[2],ac_dc.modulator.sigdel_t[3],ac_dc.modulator.t0[1],ac_dc.modulator.t0[2],ac_dc.modulator.t0[3],system.initime) * Number of discrete states: 12 (ac_dc.modulator.t0[3],ac_dc.modulator.sigdel_t[3],ac_dc.modulator.gates[5],ac_dc.modulator.gates[6],ac_dc.modulator.t0[2],ac_dc.modulator.sigdel_t[2],ac_dc.modulator.gates[3],ac_dc.modulator.gates[4],ac_dc.modulator.t0[1],ac_dc.modulator.sigdel_t[1],ac_dc.modulator.gates[1],ac_dc.modulator.gates[2]) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (78): * Single equations (assignments): 63 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 0 * When equations: 13 * 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): 1 system {(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.0002564/0.2396, allocations: 183.8 kB / 482.8 MB, free: 27.78 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.001798/0.2414, allocations: 1.513 MB / 484.3 MB, free: 27.12 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.906e-06/0.2414, allocations: 1.188 kB / 484.3 MB, free: 27.12 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007278/0.2421, allocations: 0.6188 MB / 484.9 MB, free: 26.88 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005437/0.2427, allocations: 144.9 kB / 485.1 MB, free: 26.82 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00277/0.2454, allocations: 2.248 MB / 487.3 MB, free: 25.71 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003923/0.2458, allocations: 0.5088 MB / 487.8 MB, free: 25.55 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002188/0.2461, allocations: 66.75 kB / 487.9 MB, free: 25.54 MB / 410.7 MB Notification: Performance of SimCode: time 1.513e-06/0.2461, allocations: 0 / 487.9 MB, free: 25.54 MB / 410.7 MB Notification: Performance of Templates: time 0.0239/0.27, allocations: 17.74 MB / 0.4938 GB, free: 21.38 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Inverter.makefile [Timeout 660] (rm -f PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Inverter.pipe ; mkfifo PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Inverter.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Inverter.pipe >> ../files/PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Inverter.sim & ./PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Inverter -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Inverter.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.8364837830886245] Failed to read output from testmodel.py, exit status != 0: 0.27587247733026743 0.282289928 0.078452859 Calling exit ...