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.0007704/0.0007704, 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.0008251/0.0008251, allocations: 174 kB / 23.95 MB, free: 0.6133 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.8872/0.8872, allocations: 177.1 MB / 204.3 MB, free: 5.734 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.2436/0.2436, allocations: 29.41 MB / 290.1 MB, free: 2.438 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.373e-06/1.373e-06, allocations: 0 / 430.2 MB, free: 13.6 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.096e-05/2.233e-05, allocations: 4.109 kB / 430.2 MB, free: 13.6 MB / 410.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Elementary.Inverter): time 0.005412/0.005434, allocations: 6.165 MB / 436.4 MB, free: 7.398 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001939/0.007373, allocations: 1.293 MB / 437.7 MB, free: 6.102 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003132/0.007686, allocations: 35.69 kB / 437.7 MB, free: 6.066 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002876/0.007974, allocations: 138.8 kB / 437.8 MB, free: 5.93 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0008187/0.008793, allocations: 437.4 kB / 438.3 MB, free: 5.5 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004627/0.009255, allocations: 251.5 kB / 438.5 MB, free: 5.254 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.001026/0.01028, allocations: 1.133 MB / 439.7 MB, free: 4.117 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003167/0.0106, allocations: 250.1 kB / 439.9 MB, free: 3.863 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007832/0.01138, allocations: 0.6622 MB / 440.6 MB, free: 3.199 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005677/0.01195, allocations: 0.4948 MB / 441.1 MB, free: 2.703 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003487/0.0123, allocations: 68 kB / 441.1 MB, free: 2.637 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001111/0.01241, allocations: 68 kB / 441.2 MB, free: 2.57 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002368/0.01265, allocations: 355 kB / 441.5 MB, free: 2.223 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002387/0.01288, allocations: 275.4 kB / 441.8 MB, free: 1.953 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007488/0.01363, allocations: 0.9229 MB / 442.7 MB, free: 1.027 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.655e-06/0.01364, allocations: 0 / 442.7 MB, free: 1.027 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.603e-06/0.01364, allocations: 0 / 442.7 MB, free: 1.027 MB / 410.7 MB Notification: Performance of Transformations before backend: time 2.292e-05/0.01366, allocations: 3.938 kB / 442.7 MB, free: 1.023 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.1834/0.197, allocations: 1.082 MB / 443.8 MB, free: 55.03 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.926e-05/0.1971, allocations: 13.23 kB / 443.8 MB, free: 55.02 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001402/0.1972, allocations: 109.9 kB / 443.9 MB, free: 54.98 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001298/0.1973, allocations: 89.78 kB / 444 MB, free: 54.95 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007454/0.1981, allocations: 0.5439 MB / 444.6 MB, free: 54.75 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001007/0.1982, allocations: 219.1 kB / 444.8 MB, free: 54.56 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.438e-05/0.1983, allocations: 67.34 kB / 444.8 MB, free: 54.56 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009324/0.1992, allocations: 0.873 MB / 445.7 MB, free: 54.2 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.645e-05/0.1992, allocations: 0 / 445.7 MB, free: 54.2 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.064e-05/0.1993, allocations: 22.62 kB / 445.7 MB, free: 54.19 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001048/0.1994, allocations: 49.03 kB / 445.8 MB, free: 54.18 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007302/0.2001, allocations: 0.6173 MB / 446.4 MB, free: 53.99 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002194/0.2023, allocations: 2.531 MB / 448.9 MB, free: 52.34 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008303/0.2031, allocations: 0.5688 MB / 449.5 MB, free: 52.15 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000387/0.2035, allocations: 299.7 kB / 449.8 MB, free: 52.06 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.337e-05/0.2035, allocations: 5.375 kB / 449.8 MB, free: 52.06 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004213/0.2039, allocations: 359.2 kB / 450.2 MB, free: 51.91 MB / 410.7 MB Notification: Performance of pre-optimization done (n=41): time 2.274e-06/0.204, allocations: 0 / 450.2 MB, free: 51.91 MB / 410.7 MB Notification: Performance of matching and sorting (n=42): time 0.002457/0.2064, allocations: 1.67 MB / 451.8 MB, free: 51.12 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.498e-05/0.2065, allocations: 126.3 kB / 451.9 MB, free: 50.98 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003434/0.2068, allocations: 0.5225 MB / 452.5 MB, free: 50.74 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.589e-05/0.2068, allocations: 37.02 kB / 452.5 MB, free: 50.7 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001367/0.207, allocations: 360.7 kB / 452.9 MB, free: 50.42 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.196e-05/0.207, allocations: 147.5 kB / 453 MB, free: 50.31 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000101/0.2071, allocations: 119.8 kB / 453.1 MB, free: 50.25 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 5.808e-05/0.2072, allocations: 371.7 kB / 453.5 MB, free: 49.91 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000217/0.2074, allocations: 256.6 kB / 453.7 MB, free: 49.8 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002738/0.2077, allocations: 429.8 kB / 454.1 MB, free: 49.49 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004482/0.2081, allocations: 0.6091 MB / 454.8 MB, free: 49.09 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.665e-06/0.2081, allocations: 3.312 kB / 454.8 MB, free: 49.09 MB / 410.7 MB Notification: Performance of matching and sorting (n=74) (initialization): time 0.0007194/0.2088, allocations: 0.8526 MB / 455.6 MB, free: 48.68 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.671e-05/0.2089, allocations: 55.38 kB / 455.7 MB, free: 48.64 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.658e-06/0.2089, allocations: 3.531 kB / 455.7 MB, free: 48.64 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000216/0.2091, allocations: 92.92 kB / 455.8 MB, free: 48.61 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002157/0.2093, allocations: 106.4 kB / 455.9 MB, free: 48.6 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001368/0.2107, allocations: 3.032 MB / 458.9 MB, free: 45.81 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001815/0.2109, allocations: 38.31 kB / 458.9 MB, free: 45.79 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.601e-05/0.2109, allocations: 40.34 kB / 459 MB, free: 45.79 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.0002141/0.2111, allocations: 270.7 kB / 459.2 MB, free: 45.61 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.341e-05/0.2112, allocations: 58.72 kB / 459.3 MB, free: 45.57 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000888/0.2121, allocations: 0.6281 MB / 459.9 MB, free: 45.34 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.877e-06/0.2121, allocations: 7.188 kB / 459.9 MB, free: 45.33 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.179e-06/0.2121, allocations: 4.219 kB / 459.9 MB, free: 45.33 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.733e-06/0.2121, allocations: 3.328 kB / 459.9 MB, free: 45.33 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001304/0.2134, allocations: 1.37 MB / 461.3 MB, free: 44.63 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.847e-06/0.2134, allocations: 2.906 kB / 461.3 MB, free: 44.63 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001583/0.2136, allocations: 65.22 kB / 461.4 MB, free: 44.62 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001703/0.2137, allocations: 101.9 kB / 461.5 MB, free: 44.59 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.779e-05/0.2137, allocations: 17.58 kB / 461.5 MB, free: 44.58 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00113/0.2149, allocations: 3.029 MB / 464.5 MB, free: 41.79 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.284e-06/0.2149, allocations: 6.781 kB / 464.5 MB, free: 41.79 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00104/0.2159, allocations: 0.996 MB / 465.5 MB, free: 41.33 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001141/0.216, allocations: 96.12 kB / 465.6 MB, free: 41.29 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.645e-05/0.2161, allocations: 32 kB / 465.7 MB, free: 41.27 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001832/0.2163, allocations: 44.58 kB / 465.7 MB, free: 41.26 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.51e-05/0.2163, allocations: 30.67 kB / 465.7 MB, free: 41.25 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.046e-05/0.2164, allocations: 24.23 kB / 465.7 MB, free: 41.25 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0002251/0.2166, allocations: 352.7 kB / 466.1 MB, free: 41.09 MB / 410.7 MB Notification: Performance of sort global known variables: time 4e-08/0.2166, allocations: 0 / 466.1 MB, free: 41.09 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0003937/0.217, allocations: 150.6 kB / 466.2 MB, free: 41.07 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.001105/0.2181, allocations: 1.552 MB / 467.8 MB, free: 40.09 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0007989/0.2189, allocations: 0.8822 MB / 468.7 MB, free: 39.6 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.893e-06/0.2189, allocations: 2.906 kB / 468.7 MB, free: 39.6 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004016/0.2193, allocations: 490.4 kB / 469.2 MB, free: 39.3 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004951/0.2198, allocations: 164.9 kB / 469.3 MB, free: 39.26 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004553/0.2243, allocations: 5.978 MB / 475.3 MB, free: 35.85 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002344/0.2246, allocations: 369.5 kB / 475.7 MB, free: 35.73 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0001786/0.2247, allocations: 113 kB / 475.8 MB, free: 35.7 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001679/0.2249, allocations: 226 kB / 476 MB, free: 35.54 MB / 410.7 MB Notification: Performance of SimCode: time 6.81e-07/0.2249, allocations: 0 / 476 MB, free: 35.54 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03297/0.2579, allocations: 14.53 MB / 490.5 MB, free: 33.54 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.34/7.598, allocations: 9.641 kB / 490.5 MB, free: 33.54 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.671983120962977] Failed to read output from testmodel.py, exit status != 0: 7.686498859897256 7.696169111 7.680465929 Calling exit ...