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.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.001181/0.001181, allocations: 79.7 kB / 20.67 MB, free: 3.891 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.001097/0.001097, allocations: 174 kB / 23.94 MB, free: 0.6172 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.9584/0.9584, allocations: 177.1 MB / 204.3 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.2473/0.2473, allocations: 29.4 MB / 290.1 MB, free: 2.414 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: "" <> buildModelFMU(PowerSystems.Examples.AC3ph.Inverters.InverterToLoad,fileNamePrefix="PowerSystems_PowerSystems_Examples_AC3ph_Inverters_InverterToLoad",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.AC3ph.Inverters.InverterToLoad,fileNamePrefix="PowerSystems_PowerSystems_Examples_AC3ph_Inverters_InverterToLoad",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.484e-06/2.484e-06, allocations: 0 / 430.2 MB, free: 13.59 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.271e-05/2.52e-05, allocations: 2.281 kB / 430.2 MB, free: 13.58 MB / 410.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Inverters.InverterToLoad): time 0.006965/0.006991, allocations: 6.21 MB / 436.4 MB, free: 7.344 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.003732/0.01072, allocations: 2.337 MB / 438.8 MB, free: 5 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004503/0.01117, allocations: 35.69 kB / 438.8 MB, free: 4.965 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0009255/0.0121, allocations: 421.8 kB / 439.2 MB, free: 4.551 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001189/0.01329, allocations: 0.6178 MB / 439.8 MB, free: 3.93 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009474/0.01423, allocations: 0.5183 MB / 440.3 MB, free: 3.41 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.001618/0.01585, allocations: 1.964 MB / 442.3 MB, free: 1.441 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009497/0.0168, allocations: 0.5567 MB / 442.9 MB, free: 0.8711 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.1776/0.1944, allocations: 1.05 MB / 443.9 MB, free: 44.21 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001307/0.1957, allocations: 0.9534 MB / 444.9 MB, free: 44.21 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.00026/0.1959, allocations: 164.3 kB / 445 MB, free: 44.21 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008942/0.1968, allocations: 0.6522 MB / 445.7 MB, free: 44.21 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004338/0.1973, allocations: 0.6695 MB / 446.3 MB, free: 44.21 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004738/0.1977, allocations: 0.506 MB / 446.9 MB, free: 44.21 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001579/0.1993, allocations: 2.217 MB / 449.1 MB, free: 44.16 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.837e-06/0.1993, allocations: 0 / 449.1 MB, free: 44.16 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.483e-06/0.1993, allocations: 1.625 kB / 449.1 MB, free: 44.16 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.761e-05/0.1993, allocations: 1.969 kB / 449.1 MB, free: 44.16 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: 251 * Number of variables: 251 Notification: Performance of Generate backend data structure: time 0.002743/0.2021, allocations: 1.85 MB / 450.9 MB, free: 43.41 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.863e-05/0.2021, allocations: 13.73 kB / 450.9 MB, free: 43.41 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001544/0.2023, allocations: 165.3 kB / 451.1 MB, free: 43.37 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005254/0.2028, allocations: 195.3 kB / 451.3 MB, free: 43.31 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001299/0.2041, allocations: 0.9106 MB / 452.2 MB, free: 43.07 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003999/0.2045, allocations: 1.116 MB / 453.3 MB, free: 41.94 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001966/0.2047, allocations: 97.41 kB / 453.4 MB, free: 41.94 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002293/0.207, allocations: 2.026 MB / 455.4 MB, free: 41.76 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.155e-05/0.207, allocations: 0 / 455.4 MB, free: 41.76 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.43e-05/0.2071, allocations: 33.88 kB / 455.5 MB, free: 41.73 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001141/0.2072, allocations: 89.08 kB / 455.6 MB, free: 41.72 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00261/0.2098, allocations: 2.239 MB / 457.8 MB, free: 41.09 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005548/0.2154, allocations: 5.329 MB / 463.1 MB, free: 38.44 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002343/0.2177, allocations: 1.609 MB / 464.7 MB, free: 37.99 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001358/0.2191, allocations: 1.062 MB / 465.8 MB, free: 37.66 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.944e-05/0.2191, allocations: 14.88 kB / 465.8 MB, free: 37.66 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001523/0.2207, allocations: 1.39 MB / 467.2 MB, free: 37.23 MB / 410.7 MB Notification: Performance of pre-optimization done (n=123): time 2.705e-06/0.2207, allocations: 0 / 467.2 MB, free: 37.23 MB / 410.7 MB Notification: Performance of matching and sorting (n=124): time 0.007358/0.228, allocations: 5.556 MB / 472.8 MB, free: 35.32 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.273e-05/0.2281, allocations: 103.6 kB / 472.9 MB, free: 35.23 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004199/0.2285, allocations: 0.5028 MB / 473.4 MB, free: 34.98 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 8.183e-05/0.2286, allocations: 54.45 kB / 473.4 MB, free: 34.93 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001862/0.2288, allocations: 373.4 kB / 473.8 MB, free: 34.64 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001981/0.2289, allocations: 430.7 kB / 474.2 MB, free: 34.32 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002435/0.2292, allocations: 226.8 kB / 474.4 MB, free: 34.22 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 6.943e-05/0.2293, allocations: 397.5 kB / 474.8 MB, free: 33.88 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001134/0.2304, allocations: 1.073 MB / 475.9 MB, free: 33.52 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001341/0.2317, allocations: 1.228 MB / 477.1 MB, free: 33.03 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00243/0.2342, allocations: 2.045 MB / 479.2 MB, free: 32.23 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.797e-06/0.2342, allocations: 0 / 479.2 MB, free: 32.23 MB / 410.7 MB Notification: Performance of matching and sorting (n=161) (initialization): time 0.006406/0.2406, allocations: 3.926 MB / 483.1 MB, free: 31.19 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.163e-05/0.2406, allocations: 61.16 kB / 483.1 MB, free: 31.15 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.282e-05/0.2407, allocations: 5.922 kB / 483.1 MB, free: 31.15 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00362/0.2443, allocations: 2.076 MB / 485.2 MB, free: 30.76 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007072/0.245, allocations: 187 kB / 485.4 MB, free: 30.76 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01651/0.2615, allocations: 11.09 MB / 496.5 MB, free: 26.78 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001017/0.2625, allocations: 162 kB / 496.7 MB, free: 26.76 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001778/0.2627, allocations: 78.45 kB / 496.7 MB, free: 26.75 MB / 410.7 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.0006803/0.2634, allocations: 375.1 kB / 497.1 MB, free: 26.54 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002112/0.2636, allocations: 85.52 kB / 497.2 MB, free: 26.49 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00354/0.2671, allocations: 2.361 MB / 499.5 MB, free: 25.73 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.081e-05/0.2672, allocations: 35.22 kB / 499.6 MB, free: 25.73 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.777e-06/0.2672, allocations: 0 / 499.6 MB, free: 25.73 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.053e-05/0.2672, allocations: 3.328 kB / 499.6 MB, free: 25.73 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004717/0.2719, allocations: 3.9 MB / 0.4917 GB, free: 23.83 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.57e-06/0.2719, allocations: 0 / 0.4917 GB, free: 23.83 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005024/0.2769, allocations: 2.026 MB / 0.4937 GB, free: 22.23 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.282e-05/0.2769, allocations: 4 kB / 0.4937 GB, free: 22.22 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.987e-05/0.277, allocations: 39.08 kB / 0.4937 GB, free: 22.19 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.534e-06/0.277, allocations: 11.75 kB / 0.4937 GB, free: 22.18 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.475e-06/0.277, allocations: 3.938 kB / 0.4937 GB, free: 22.18 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004165/0.2812, allocations: 3.87 MB / 0.4975 GB, free: 18.27 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004533/0.2816, allocations: 267.3 kB / 0.4977 GB, free: 18 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001428/0.2818, allocations: 87.94 kB / 0.4978 GB, free: 17.92 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006446/0.2824, allocations: 183.7 kB / 0.498 GB, free: 17.74 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002433/0.2827, allocations: 206.2 kB / 0.4982 GB, free: 17.54 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.415e-05/0.2827, allocations: 39.97 kB / 0.4982 GB, free: 17.5 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0002722/0.283, allocations: 346.8 kB / 0.4986 GB, free: 17.16 MB / 410.7 MB Notification: Performance of sort global known variables: time 6e-08/0.283, allocations: 0 / 0.4986 GB, free: 17.16 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0009025/0.2839, allocations: 355.9 kB / 0.4989 GB, free: 16.82 MB / 410.7 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.004374/0.2883, allocations: 4.534 MB / 0.5033 GB, free: 12.25 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.003508/0.2918, allocations: 2.836 MB / 0.5061 GB, free: 9.406 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 4.128e-06/0.2918, allocations: 0 / 0.5061 GB, free: 9.406 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002861/0.2947, allocations: 1.85 MB / 0.5079 GB, free: 7.578 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007073/0.2954, allocations: 176.3 kB / 0.5081 GB, free: 7.418 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01999/0.3154, allocations: 15.7 MB / 0.5234 GB, free: 7.504 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000486/0.3158, allocations: 0.5374 MB / 0.5239 GB, free: 6.938 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.00076/0.3166, allocations: 326.7 kB / 0.5243 GB, free: 6.613 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005306/0.3171, allocations: 346.7 kB / 0.5246 GB, free: 6.277 MB / 426.7 MB Notification: Performance of SimCode: time 2.585e-06/0.3171, allocations: 0 / 0.5246 GB, free: 6.277 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04899/0.3661, allocations: 32.86 MB / 0.5567 GB, free: 5.684 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.954/8.32, allocations: 7.031 kB / 0.5567 GB, free: 5.68 MB / 458.7 MB " [Timeout remaining time 652] (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 & python3 -m fmpy simulate --output-file PowerSystems_PowerSystems.Examples.AC3ph.Inverters.InverterToLoad_res.csv --start-time 0 --stop-time 0.2 --timeout 50 --relative-tolerance 1e-05 --interface-type ModelExchange --solver CVode --output-interval 0.0002 PowerSystems_PowerSystems_Examples_AC3ph_Inverters_InverterToLoad.fmu > PowerSystems_PowerSystems.Examples.AC3ph.Inverters.InverterToLoad.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 11.170277426019311] Failed to read output from testmodel.py, exit status != 0: 8.421817216090858 8.429805967 8.228680407 Calling exit ...