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.0009312/0.0009312, allocations: 91.67 kB / 20.68 MB, free: 3.871 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.0008528/0.0008528, allocations: 166 kB / 23.95 MB, free: 0.5977 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.9334/0.9334, allocations: 177.1 MB / 204.2 MB, free: 5.727 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.2466/0.2466, allocations: 29.41 MB / 290.1 MB, free: 2.457 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.Elementary.Inverter,fileNamePrefix="PowerSystems_PowerSystems_Examples_AC3ph_Elementary_Inverter",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.AC3ph.Elementary.Inverter,fileNamePrefix="PowerSystems_PowerSystems_Examples_AC3ph_Elementary_Inverter",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.332e-06/1.332e-06, allocations: 0 / 430.2 MB, free: 13.61 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.084e-05/2.217e-05, allocations: 7.969 kB / 430.2 MB, free: 13.6 MB / 410.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Elementary.Inverter): time 0.006046/0.006069, allocations: 6.574 MB / 436.8 MB, free: 6.992 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.003388/0.009457, allocations: 1.963 MB / 438.8 MB, free: 5.023 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007894/0.01025, allocations: 39.62 kB / 438.8 MB, free: 4.984 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001241/0.01149, allocations: 0.4963 MB / 439.3 MB, free: 4.488 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001801/0.01329, allocations: 0.5788 MB / 439.9 MB, free: 3.906 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001043/0.01433, allocations: 434.8 kB / 440.3 MB, free: 3.48 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.001721/0.01605, allocations: 1.402 MB / 441.7 MB, free: 2.074 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009213/0.01697, allocations: 0.5843 MB / 442.3 MB, free: 1.477 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001196/0.01817, allocations: 0.8377 MB / 443.1 MB, free: 0.6367 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.2018/0.22, allocations: 0.6501 MB / 443.8 MB, free: 44.46 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003532/0.2204, allocations: 98.06 kB / 443.9 MB, free: 44.46 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008259/0.2212, allocations: 0.5179 MB / 444.4 MB, free: 44.46 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000301/0.2215, allocations: 0.5259 MB / 444.9 MB, free: 44.46 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003223/0.2218, allocations: 402.5 kB / 445.3 MB, free: 44.46 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001073/0.2229, allocations: 1.601 MB / 446.9 MB, free: 44.42 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.809e-06/0.2229, allocations: 0.7188 kB / 446.9 MB, free: 44.42 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.452e-06/0.2229, allocations: 0.5312 kB / 446.9 MB, free: 44.42 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.156e-05/0.2229, allocations: 0 / 446.9 MB, free: 44.42 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.001658/0.2246, allocations: 1.518 MB / 448.4 MB, free: 43.66 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.683e-05/0.2246, allocations: 13.8 kB / 448.4 MB, free: 43.66 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001256/0.2247, allocations: 157.6 kB / 448.6 MB, free: 43.62 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005245/0.2252, allocations: 202 kB / 448.8 MB, free: 43.56 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007552/0.226, allocations: 0.6646 MB / 449.4 MB, free: 43.33 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001144/0.2261, allocations: 334.2 kB / 449.8 MB, free: 43.05 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001542/0.2263, allocations: 104.5 kB / 449.9 MB, free: 43.04 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001403/0.2277, allocations: 1.539 MB / 451.4 MB, free: 42.81 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.112e-05/0.2277, allocations: 2.531 kB / 451.4 MB, free: 42.81 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.923e-05/0.2277, allocations: 35.09 kB / 451.4 MB, free: 42.81 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.878e-05/0.2278, allocations: 72.17 kB / 451.5 MB, free: 42.81 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001216/0.2291, allocations: 1.16 MB / 452.7 MB, free: 42.8 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003296/0.2323, allocations: 4.486 MB / 457.2 MB, free: 40.11 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00138/0.2337, allocations: 0.9819 MB / 458.1 MB, free: 39.81 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000631/0.2344, allocations: 0.5186 MB / 458.7 MB, free: 39.65 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.447e-05/0.2344, allocations: 7.25 kB / 458.7 MB, free: 39.65 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007193/0.2351, allocations: 0.7157 MB / 459.4 MB, free: 39.4 MB / 410.7 MB Notification: Performance of pre-optimization done (n=80): time 2.264e-06/0.2351, allocations: 3.75 kB / 459.4 MB, free: 39.4 MB / 410.7 MB Notification: Performance of matching and sorting (n=81): time 0.003676/0.2388, allocations: 2.991 MB / 462.4 MB, free: 38.14 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.912e-05/0.2388, allocations: 123.7 kB / 462.5 MB, free: 38.01 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000406/0.2392, allocations: 0.5987 MB / 463.1 MB, free: 37.74 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 4.551e-05/0.2393, allocations: 53.83 kB / 463.2 MB, free: 37.7 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001894/0.2395, allocations: 471.4 kB / 463.6 MB, free: 37.33 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001165/0.2396, allocations: 281.8 kB / 463.9 MB, free: 37.12 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001633/0.2398, allocations: 207.5 kB / 464.1 MB, free: 37.03 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 6.483e-05/0.2398, allocations: 392 kB / 464.5 MB, free: 36.68 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004272/0.2402, allocations: 0.5215 MB / 465 MB, free: 36.48 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004783/0.2407, allocations: 0.7883 MB / 465.8 MB, free: 35.96 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008898/0.2416, allocations: 1.253 MB / 467 MB, free: 35.25 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.828e-06/0.2416, allocations: 3.188 kB / 467 MB, free: 35.25 MB / 410.7 MB Notification: Performance of matching and sorting (n=137) (initialization): time 0.001363/0.243, allocations: 1.546 MB / 468.6 MB, free: 34.66 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.453e-05/0.243, allocations: 59.61 kB / 468.6 MB, free: 34.62 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.001029/0.2441, allocations: 1.275 MB / 469.9 MB, free: 34.11 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002452/0.2443, allocations: 112.4 kB / 470 MB, free: 34.08 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003753/0.2447, allocations: 203.9 kB / 470.2 MB, free: 34.07 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001295/0.246, allocations: 3.134 MB / 473.4 MB, free: 31.24 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004068/0.2464, allocations: 77.36 kB / 473.4 MB, free: 31.22 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.667e-05/0.2465, allocations: 82.02 kB / 473.5 MB, free: 31.21 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.000409/0.2469, allocations: 372.4 kB / 473.9 MB, free: 31 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.426e-05/0.247, allocations: 87.48 kB / 474 MB, free: 30.95 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001376/0.2483, allocations: 1.187 MB / 475.2 MB, free: 30.54 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.498e-05/0.2483, allocations: 15.75 kB / 475.2 MB, free: 30.54 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.598e-06/0.2484, allocations: 3.344 kB / 475.2 MB, free: 30.54 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.582e-06/0.2484, allocations: 3.328 kB / 475.2 MB, free: 30.54 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002161/0.2505, allocations: 2.242 MB / 477.4 MB, free: 29.58 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.917e-06/0.2505, allocations: 3.422 kB / 477.4 MB, free: 29.58 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003362/0.2509, allocations: 145.9 kB / 477.6 MB, free: 29.57 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.328e-05/0.2509, allocations: 36.22 kB / 477.6 MB, free: 29.56 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.796e-05/0.2509, allocations: 31.02 kB / 477.6 MB, free: 29.55 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004606/0.2514, allocations: 1.517 MB / 479.1 MB, free: 28.09 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.2514, allocations: 2.625 kB / 479.1 MB, free: 28.09 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001877/0.2533, allocations: 1.848 MB / 481 MB, free: 27.36 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002254/0.2535, allocations: 169.2 kB / 481.2 MB, free: 27.29 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001125/0.2536, allocations: 74.89 kB / 481.2 MB, free: 27.26 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003375/0.254, allocations: 90.61 kB / 481.3 MB, free: 27.25 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.06e-05/0.2541, allocations: 63.81 kB / 481.4 MB, free: 27.23 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.823e-05/0.2541, allocations: 35.41 kB / 481.4 MB, free: 27.23 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.000295/0.2544, allocations: 400.9 kB / 481.8 MB, free: 27.05 MB / 410.7 MB Notification: Performance of sort global known variables: time 4e-08/0.2544, allocations: 0 / 481.8 MB, free: 27.05 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0006821/0.2551, allocations: 241.6 kB / 482 MB, free: 27.02 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.00234/0.2574, allocations: 2.47 MB / 484.5 MB, free: 25.73 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.001585/0.259, allocations: 1.513 MB / 486 MB, free: 25.07 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.254e-06/0.259, allocations: 2.719 kB / 486 MB, free: 25.07 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006761/0.2597, allocations: 0.6203 MB / 486.7 MB, free: 24.82 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000551/0.2602, allocations: 162.4 kB / 486.8 MB, free: 24.77 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008127/0.2684, allocations: 9.151 MB / 496 MB, free: 20.01 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005271/0.2689, allocations: 0.5148 MB / 496.5 MB, free: 19.85 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0005353/0.2694, allocations: 236.2 kB / 496.7 MB, free: 19.82 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003104/0.2697, allocations: 327.2 kB / 497 MB, free: 19.57 MB / 410.7 MB Notification: Performance of SimCode: time 1.573e-06/0.2697, allocations: 0 / 497 MB, free: 19.57 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03578/0.3055, allocations: 20.29 MB / 0.5052 GB, free: 10.13 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.489/7.795, allocations: 14.92 kB / 0.5052 GB, free: 10.12 MB / 410.7 MB " [Timeout remaining time 652] (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 & python3 -m fmpy simulate --output-file PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Inverter_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0002 PowerSystems_PowerSystems_Examples_AC3ph_Elementary_Inverter.fmu > PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Inverter.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 11.47919793613255] Failed to read output from testmodel.py, exit status != 0: 7.891063013114035 7.899152453 7.673211731 Calling exit ...