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.000734/0.000734, allocations: 91.66 kB / 20.95 MB, free: 3.598 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.0008308/0.0008308, allocations: 170 kB / 24.26 MB, free: 288 kB / 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.9022/0.9022, allocations: 177.1 MB / 204.6 MB, free: 5.598 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.2309/0.2309, allocations: 29.42 MB / 290.5 MB, free: 2.43 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.193e-06/1.193e-06, allocations: 0 / 368.4 MB, free: 11.82 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.068e-05/1.187e-05, allocations: 2.312 kB / 368.4 MB, free: 11.82 MB / 346.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Elementary.Inverter): time 0.005544/0.005555, allocations: 6.593 MB / 375 MB, free: 5.188 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.00251/0.008065, allocations: 1.943 MB / 376.9 MB, free: 3.238 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002967/0.008362, allocations: 39.69 kB / 377 MB, free: 3.199 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0007826/0.009145, allocations: 0.4937 MB / 377.4 MB, free: 2.703 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0009852/0.01013, allocations: 0.5827 MB / 378 MB, free: 2.117 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007177/0.01085, allocations: 430.8 kB / 378.5 MB, free: 1.695 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.001075/0.01192, allocations: 1.398 MB / 379.9 MB, free: 300 kB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005944/0.01252, allocations: 0.5921 MB / 380.4 MB, free: 15.69 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008511/0.01337, allocations: 0.8415 MB / 381.3 MB, free: 14.84 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006884/0.01406, allocations: 0.6469 MB / 381.9 MB, free: 14.2 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001112/0.01417, allocations: 96 kB / 382 MB, free: 14.1 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005536/0.01472, allocations: 0.5226 MB / 382.5 MB, free: 13.58 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003211/0.01504, allocations: 0.526 MB / 383.1 MB, free: 13.05 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002855/0.01533, allocations: 403.1 kB / 383.5 MB, free: 12.66 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001173/0.0165, allocations: 1.612 MB / 385.1 MB, free: 11.04 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.787e-06/0.01651, allocations: 4 kB / 385.1 MB, free: 11.04 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.042e-06/0.01651, allocations: 0 / 385.1 MB, free: 11.04 MB / 362.7 MB Notification: Performance of Transformations before backend: time 2.205e-05/0.01653, allocations: 0 / 385.1 MB, free: 11.04 MB / 362.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.001904/0.01843, allocations: 1.514 MB / 386.6 MB, free: 9.461 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.75e-05/0.01847, allocations: 11.98 kB / 386.6 MB, free: 9.449 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001317/0.0186, allocations: 156.3 kB / 386.8 MB, free: 9.289 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006263/0.01923, allocations: 296 kB / 387.1 MB, free: 9 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008541/0.02008, allocations: 0.688 MB / 387.7 MB, free: 8.289 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001745/0.02026, allocations: 341.8 kB / 388.1 MB, free: 7.898 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001598/0.02042, allocations: 104.5 kB / 388.2 MB, free: 7.797 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001615/0.02203, allocations: 1.532 MB / 389.7 MB, free: 6.195 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.076e-05/0.02205, allocations: 4 kB / 389.7 MB, free: 6.191 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.114e-05/0.02211, allocations: 32 kB / 389.7 MB, free: 6.16 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.713e-05/0.02221, allocations: 73.97 kB / 389.8 MB, free: 6.086 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001453/0.02366, allocations: 1.159 MB / 391 MB, free: 4.926 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00373/0.02739, allocations: 4.501 MB / 395.5 MB, free: 284 kB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001862/0.02926, allocations: 0.9844 MB / 396.5 MB, free: 15.27 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007135/0.02997, allocations: 0.5141 MB / 397 MB, free: 14.75 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.575e-05/0.03, allocations: 16.64 kB / 397 MB, free: 14.74 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008195/0.03082, allocations: 0.7184 MB / 397.7 MB, free: 14 MB / 378.7 MB Notification: Performance of pre-optimization done (n=80): time 1.733e-06/0.03083, allocations: 0 / 397.7 MB, free: 14 MB / 378.7 MB Notification: Performance of matching and sorting (n=81): time 0.004025/0.03485, allocations: 3.014 MB / 400.7 MB, free: 10.94 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.418e-05/0.0349, allocations: 127.4 kB / 400.8 MB, free: 10.79 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00044/0.03534, allocations: 0.6043 MB / 401.4 MB, free: 10.18 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 5.272e-05/0.0354, allocations: 53.69 kB / 401.5 MB, free: 10.12 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002226/0.03562, allocations: 460.3 kB / 402 MB, free: 9.664 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001694/0.03579, allocations: 285.7 kB / 402.2 MB, free: 9.383 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001917/0.03598, allocations: 198.5 kB / 402.4 MB, free: 9.184 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001284/0.03611, allocations: 394.7 kB / 402.8 MB, free: 8.789 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005213/0.03663, allocations: 0.5193 MB / 403.3 MB, free: 8.266 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009674/0.0376, allocations: 0.7946 MB / 404.1 MB, free: 7.355 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001093/0.03869, allocations: 1.253 MB / 405.4 MB, free: 5.984 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.747e-06/0.03869, allocations: 0 / 405.4 MB, free: 5.984 MB / 378.7 MB Notification: Performance of matching and sorting (n=137) (initialization): time 0.001648/0.04034, allocations: 1.597 MB / 407 MB, free: 4.363 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.553e-05/0.0404, allocations: 61.67 kB / 407 MB, free: 4.297 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.001175/0.04157, allocations: 1.27 MB / 408.3 MB, free: 3.008 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002494/0.04182, allocations: 113.8 kB / 408.4 MB, free: 2.891 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003963/0.04222, allocations: 207.6 kB / 408.6 MB, free: 2.688 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001999/0.04422, allocations: 3.154 MB / 411.8 MB, free: 15.3 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003311/0.04455, allocations: 71.94 kB / 411.8 MB, free: 15.23 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.943e-05/0.04463, allocations: 75.94 kB / 411.9 MB, free: 15.16 MB / 394.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.0003084/0.04494, allocations: 377.6 kB / 412.3 MB, free: 14.78 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001329/0.04507, allocations: 119.4 kB / 412.4 MB, free: 14.66 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001462/0.04653, allocations: 1.187 MB / 413.6 MB, free: 13.46 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.167e-05/0.04654, allocations: 16 kB / 413.6 MB, free: 13.45 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.316e-06/0.04655, allocations: 4 kB / 413.6 MB, free: 13.45 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.474e-06/0.04655, allocations: 3.984 kB / 413.6 MB, free: 13.44 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002359/0.04891, allocations: 2.243 MB / 415.9 MB, free: 11.14 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.957e-06/0.04892, allocations: 4 kB / 415.9 MB, free: 11.13 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003552/0.04927, allocations: 139.8 kB / 416 MB, free: 11 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.259e-05/0.04934, allocations: 40.83 kB / 416 MB, free: 10.95 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.07e-05/0.04938, allocations: 23.98 kB / 416.1 MB, free: 10.93 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009174/0.05029, allocations: 1.531 MB / 417.6 MB, free: 9.285 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.05029, allocations: 0 / 417.6 MB, free: 9.285 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002093/0.05239, allocations: 1.88 MB / 419.5 MB, free: 7.371 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002129/0.0526, allocations: 175.3 kB / 419.6 MB, free: 7.199 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001077/0.05271, allocations: 79.94 kB / 419.7 MB, free: 7.121 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003443/0.05305, allocations: 87.88 kB / 419.8 MB, free: 7.035 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.072e-05/0.05314, allocations: 64.42 kB / 419.9 MB, free: 6.973 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.555e-05/0.05318, allocations: 23.98 kB / 419.9 MB, free: 6.949 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0002842/0.05346, allocations: 406.7 kB / 420.3 MB, free: 6.551 MB / 394.7 MB Notification: Performance of sort global known variables: time 6e-08/0.05346, allocations: 0 / 420.3 MB, free: 6.551 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0005308/0.05399, allocations: 240 kB / 420.5 MB, free: 6.316 MB / 394.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.002446/0.05644, allocations: 2.501 MB / 423 MB, free: 3.773 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.001504/0.05794, allocations: 1.515 MB / 424.5 MB, free: 2.215 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.744e-06/0.05794, allocations: 0 / 424.5 MB, free: 2.215 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009534/0.0589, allocations: 0.6203 MB / 425.2 MB, free: 1.586 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005063/0.0594, allocations: 170.9 kB / 425.3 MB, free: 1.418 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007992/0.0674, allocations: 9.221 MB / 434.5 MB, free: 7.773 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003564/0.06775, allocations: 0.5193 MB / 435.1 MB, free: 7.219 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0003647/0.06812, allocations: 242.5 kB / 435.3 MB, free: 6.977 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003147/0.06843, allocations: 332.4 kB / 435.6 MB, free: 6.652 MB / 410.7 MB Notification: Performance of SimCode: time 8.62e-07/0.06843, allocations: 0 / 435.6 MB, free: 6.652 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1485/0.2169, allocations: 20.39 MB / 456 MB, free: 107.3 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.581/7.797, allocations: 9.5 kB / 456 MB, free: 107.3 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.37853595521301] Failed to read output from testmodel.py, exit status != 0: 7.887944104149938 7.894693681 7.876874963 Calling exit ...