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.0008117/0.0008117, allocations: 83.69 kB / 20.67 MB, free: 3.887 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.0007773/0.0007773, allocations: 170 kB / 23.95 MB, free: 0.6094 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.8588/0.8588, allocations: 177.1 MB / 204.3 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.2159/0.2159, allocations: 29.4 MB / 290.1 MB, free: 2.449 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.AC1ph_DC.Elementary.Inverter,fileNamePrefix="PowerSystems_PowerSystems_Examples_AC1ph_DC_Elementary_Inverter",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.AC1ph_DC.Elementary.Inverter,fileNamePrefix="PowerSystems_PowerSystems_Examples_AC1ph_DC_Elementary_Inverter",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.804e-06/1.804e-06, allocations: 0 / 430.2 MB, free: 13.61 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.796e-05/1.977e-05, allocations: 4.531 kB / 430.2 MB, free: 13.6 MB / 410.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Elementary.Inverter): time 0.005267/0.005287, allocations: 6.161 MB / 436.4 MB, free: 7.406 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001684/0.006971, allocations: 1.297 MB / 437.7 MB, free: 6.105 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002716/0.007243, allocations: 39.69 kB / 437.7 MB, free: 6.066 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002849/0.007527, allocations: 134.8 kB / 437.8 MB, free: 5.934 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0007278/0.008255, allocations: 441.4 kB / 438.3 MB, free: 5.5 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004023/0.008657, allocations: 251.5 kB / 438.5 MB, free: 5.254 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0008384/0.009496, allocations: 1.125 MB / 439.7 MB, free: 4.125 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000287/0.009783, allocations: 258.1 kB / 439.9 MB, free: 3.863 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006827/0.01047, allocations: 0.666 MB / 440.6 MB, free: 3.195 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005115/0.01098, allocations: 0.4909 MB / 441.1 MB, free: 2.703 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 7.458e-05/0.01105, allocations: 68 kB / 441.1 MB, free: 2.637 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.977e-05/0.01114, allocations: 64 kB / 441.2 MB, free: 2.574 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002431/0.01138, allocations: 359 kB / 441.5 MB, free: 2.223 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002235/0.01161, allocations: 271.4 kB / 441.8 MB, free: 1.957 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000888/0.0125, allocations: 0.9229 MB / 442.7 MB, free: 1.031 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.464e-06/0.0125, allocations: 0 / 442.7 MB, free: 1.031 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.353e-06/0.0125, allocations: 0 / 442.7 MB, free: 1.031 MB / 410.7 MB Notification: Performance of Transformations before backend: time 9.748e-06/0.01251, allocations: 3.938 kB / 442.7 MB, free: 1.027 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.1736/0.1861, allocations: 1.082 MB / 443.8 MB, free: 54.82 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.991e-05/0.1861, allocations: 13.02 kB / 443.8 MB, free: 54.82 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001203/0.1863, allocations: 111.9 kB / 443.9 MB, free: 54.78 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001079/0.1864, allocations: 88.95 kB / 444 MB, free: 54.74 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006515/0.187, allocations: 0.5433 MB / 444.6 MB, free: 54.55 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.313e-05/0.1871, allocations: 214.7 kB / 444.8 MB, free: 54.37 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.468e-05/0.1872, allocations: 73.5 kB / 444.8 MB, free: 54.37 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007886/0.188, allocations: 0.868 MB / 445.7 MB, free: 54.02 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.451e-05/0.188, allocations: 2.969 kB / 445.7 MB, free: 54.02 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.499e-05/0.188, allocations: 25.12 kB / 445.7 MB, free: 54 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.298e-05/0.1881, allocations: 40.22 kB / 445.8 MB, free: 54 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006132/0.1887, allocations: 0.6232 MB / 446.4 MB, free: 53.8 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001777/0.1905, allocations: 2.533 MB / 448.9 MB, free: 52.18 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007503/0.1912, allocations: 0.5605 MB / 449.5 MB, free: 52 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000347/0.1916, allocations: 303.8 kB / 449.8 MB, free: 51.91 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.86e-05/0.1916, allocations: 6.797 kB / 449.8 MB, free: 51.91 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003497/0.1919, allocations: 358 kB / 450.2 MB, free: 51.75 MB / 410.7 MB Notification: Performance of pre-optimization done (n=41): time 1.754e-06/0.1919, allocations: 0 / 450.2 MB, free: 51.75 MB / 410.7 MB Notification: Performance of matching and sorting (n=42): time 0.002024/0.194, allocations: 1.673 MB / 451.8 MB, free: 50.99 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.438e-05/0.194, allocations: 124.8 kB / 451.9 MB, free: 50.85 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002924/0.1943, allocations: 0.5216 MB / 452.5 MB, free: 50.62 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.252e-05/0.1943, allocations: 40.05 kB / 452.5 MB, free: 50.58 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001077/0.1944, allocations: 364.6 kB / 452.9 MB, free: 50.29 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.213e-05/0.1945, allocations: 143.3 kB / 453 MB, free: 50.18 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.83e-05/0.1946, allocations: 120.5 kB / 453.1 MB, free: 50.12 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 4.712e-05/0.1946, allocations: 372.8 kB / 453.5 MB, free: 49.78 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000204/0.1948, allocations: 260.5 kB / 453.7 MB, free: 49.67 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002196/0.195, allocations: 426.3 kB / 454.2 MB, free: 49.36 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004069/0.1954, allocations: 0.6161 MB / 454.8 MB, free: 48.95 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.973e-06/0.1954, allocations: 0 / 454.8 MB, free: 48.95 MB / 410.7 MB Notification: Performance of matching and sorting (n=74) (initialization): time 0.0006439/0.1961, allocations: 0.843 MB / 455.6 MB, free: 48.56 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.906e-05/0.1961, allocations: 53.62 kB / 455.7 MB, free: 48.52 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.654e-06/0.1961, allocations: 7.219 kB / 455.7 MB, free: 48.52 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001754/0.1963, allocations: 99.08 kB / 455.8 MB, free: 48.48 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000195/0.1965, allocations: 105 kB / 455.9 MB, free: 48.47 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001167/0.1977, allocations: 3.033 MB / 458.9 MB, free: 45.68 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001683/0.1978, allocations: 33.59 kB / 458.9 MB, free: 45.67 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.284e-05/0.1979, allocations: 43.72 kB / 459 MB, free: 45.66 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.0001815/0.1981, allocations: 270.7 kB / 459.2 MB, free: 45.48 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.038e-05/0.1981, allocations: 60.69 kB / 459.3 MB, free: 45.45 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006965/0.1988, allocations: 0.6314 MB / 459.9 MB, free: 45.21 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.645e-06/0.1988, allocations: 3.125 kB / 459.9 MB, free: 45.21 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.096e-06/0.1988, allocations: 3.25 kB / 459.9 MB, free: 45.21 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.518e-06/0.1988, allocations: 0 / 459.9 MB, free: 45.21 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001183/0.2, allocations: 1.37 MB / 461.3 MB, free: 44.51 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.485e-06/0.2, allocations: 7.391 kB / 461.3 MB, free: 44.5 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001538/0.2002, allocations: 63.41 kB / 461.4 MB, free: 44.5 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001577/0.2003, allocations: 99.2 kB / 461.5 MB, free: 44.46 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.492e-05/0.2003, allocations: 20.73 kB / 461.5 MB, free: 44.46 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000989/0.2013, allocations: 3.03 MB / 464.5 MB, free: 41.66 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/0.2013, allocations: 0 / 464.5 MB, free: 41.66 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009692/0.2023, allocations: 1.006 MB / 465.5 MB, free: 41.2 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001055/0.2024, allocations: 93.42 kB / 465.6 MB, free: 41.16 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.853e-05/0.2024, allocations: 28.98 kB / 465.7 MB, free: 41.14 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001814/0.2026, allocations: 41.58 kB / 465.7 MB, free: 41.13 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.908e-05/0.2027, allocations: 34.14 kB / 465.7 MB, free: 41.12 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.971e-05/0.2027, allocations: 18.66 kB / 465.7 MB, free: 41.12 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0001955/0.2029, allocations: 354.1 kB / 466.1 MB, free: 40.96 MB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.2029, allocations: 4 kB / 466.1 MB, free: 40.96 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0003674/0.2033, allocations: 154.7 kB / 466.2 MB, free: 40.95 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 0.001124/0.2044, allocations: 1.541 MB / 467.8 MB, free: 39.97 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0007603/0.2051, allocations: 0.8859 MB / 468.7 MB, free: 39.48 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.743e-06/0.2051, allocations: 7.031 kB / 468.7 MB, free: 39.47 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003837/0.2055, allocations: 489.1 kB / 469.2 MB, free: 39.18 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004445/0.206, allocations: 156.3 kB / 469.3 MB, free: 39.13 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004033/0.21, allocations: 5.976 MB / 475.3 MB, free: 35.73 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002086/0.2102, allocations: 376.4 kB / 475.7 MB, free: 35.61 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0001684/0.2104, allocations: 102.1 kB / 475.8 MB, free: 35.59 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001635/0.2106, allocations: 234 kB / 476 MB, free: 35.42 MB / 410.7 MB Notification: Performance of SimCode: time 1.042e-06/0.2106, allocations: 0 / 476 MB, free: 35.42 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02999/0.2405, allocations: 14.54 MB / 490.5 MB, free: 33.43 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.395/7.635, allocations: 10.78 kB / 490.5 MB, free: 33.43 MB / 410.7 MB " [Timeout remaining time 652] (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 & python3 -m fmpy simulate --output-file PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Inverter_res.csv --start-time 0 --stop-time 0.2 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0002 PowerSystems_PowerSystems_Examples_AC1ph_DC_Elementary_Inverter.fmu > PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Inverter.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 9.620801917277277] Failed to read output from testmodel.py, exit status != 0: 7.722187693230808 7.731267054 7.717140035 Calling exit ...