Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC1ph_DC.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.0008838/0.0008838, 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.001024/0.001024, allocations: 170.3 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.9405/0.9405, 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.2468/0.2468, allocations: 29.4 MB / 290.1 MB, free: 2.461 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.Inverters.InverterToLoad,fileNamePrefix="PowerSystems_PowerSystems_Examples_AC1ph_DC_Inverters_InverterToLoad",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.AC1ph_DC.Inverters.InverterToLoad,fileNamePrefix="PowerSystems_PowerSystems_Examples_AC1ph_DC_Inverters_InverterToLoad",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.403e-06/1.403e-06, allocations: 0 / 430.2 MB, free: 13.61 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.555e-05/1.695e-05, allocations: 4.109 kB / 430.2 MB, free: 13.61 MB / 410.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Inverters.InverterToLoad): time 0.004919/0.004936, allocations: 5.705 MB / 435.9 MB, free: 7.871 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.002475/0.00741, allocations: 1.519 MB / 437.4 MB, free: 6.348 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003302/0.00774, allocations: 35.69 kB / 437.5 MB, free: 6.312 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004248/0.008165, allocations: 146.8 kB / 437.6 MB, free: 6.168 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0007417/0.008907, allocations: 373.7 kB / 438 MB, free: 5.801 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006207/0.009528, allocations: 331.4 kB / 438.3 MB, free: 5.477 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.001194/0.01072, allocations: 1.348 MB / 439.6 MB, free: 4.125 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002988/0.01102, allocations: 229.2 kB / 439.9 MB, free: 3.895 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001063/0.01208, allocations: 0.7287 MB / 440.6 MB, free: 3.164 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006691/0.01275, allocations: 0.5222 MB / 441.1 MB, free: 2.641 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001104/0.01286, allocations: 88 kB / 441.2 MB, free: 2.555 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001093/0.01297, allocations: 92 kB / 441.3 MB, free: 2.465 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002623/0.01323, allocations: 375 kB / 441.7 MB, free: 2.098 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002638/0.0135, allocations: 299.4 kB / 442 MB, free: 1.805 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0009708/0.01447, allocations: 1.11 MB / 443.1 MB, free: 0.6914 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.067e-06/0.01447, allocations: 0 / 443.1 MB, free: 0.6914 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.493e-06/0.01447, allocations: 0 / 443.1 MB, free: 0.6914 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.541e-05/0.01449, allocations: 0 / 443.1 MB, free: 0.6914 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: 140 * Number of variables: 140 Notification: Performance of Generate backend data structure: time 0.1846/0.1991, allocations: 1.132 MB / 444.2 MB, free: 54.7 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.778e-05/0.1991, allocations: 15.61 kB / 444.2 MB, free: 54.7 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.665e-05/0.1992, allocations: 111.8 kB / 444.3 MB, free: 54.66 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001261/0.1994, allocations: 85.94 kB / 444.4 MB, free: 54.62 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00083/0.2002, allocations: 0.5904 MB / 445 MB, free: 54.41 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000264/0.2005, allocations: 0.7426 MB / 445.7 MB, free: 53.63 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.541e-05/0.2005, allocations: 60.03 kB / 445.8 MB, free: 53.61 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001137/0.2017, allocations: 1.04 MB / 446.8 MB, free: 53.21 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.403e-05/0.2017, allocations: 3.156 kB / 446.8 MB, free: 53.21 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.268e-05/0.2017, allocations: 22.16 kB / 446.9 MB, free: 53.2 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.002e-05/0.2017, allocations: 16 kB / 446.9 MB, free: 53.2 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001335/0.2031, allocations: 1.087 MB / 448 MB, free: 52.89 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002544/0.2056, allocations: 2.968 MB / 450.9 MB, free: 51.11 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001106/0.2067, allocations: 0.7247 MB / 451.7 MB, free: 50.89 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006932/0.2074, allocations: 0.5203 MB / 452.2 MB, free: 50.73 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.334e-05/0.2074, allocations: 3.75 kB / 452.2 MB, free: 50.73 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007247/0.2082, allocations: 0.6248 MB / 452.8 MB, free: 50.49 MB / 410.7 MB Notification: Performance of pre-optimization done (n=49): time 2.154e-06/0.2082, allocations: 0 / 452.8 MB, free: 50.49 MB / 410.7 MB Notification: Performance of matching and sorting (n=49): time 0.002135/0.2103, allocations: 1.408 MB / 454.2 MB, free: 50.07 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.688e-05/0.2104, allocations: 149.2 kB / 454.4 MB, free: 49.91 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002375/0.2106, allocations: 400.7 kB / 454.8 MB, free: 49.71 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 4.978e-05/0.2106, allocations: 40.11 kB / 454.8 MB, free: 49.67 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001162/0.2108, allocations: 298.3 kB / 455.1 MB, free: 49.45 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.903e-05/0.2108, allocations: 172.2 kB / 455.3 MB, free: 49.32 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001201/0.211, allocations: 120.2 kB / 455.4 MB, free: 49.26 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 4.869e-05/0.211, allocations: 354.6 kB / 455.7 MB, free: 48.93 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005396/0.2115, allocations: 493 kB / 456.2 MB, free: 48.75 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005451/0.2121, allocations: 0.5903 MB / 456.8 MB, free: 48.46 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000973/0.2131, allocations: 0.8815 MB / 457.7 MB, free: 48.07 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.707e-06/0.2131, allocations: 0 / 457.7 MB, free: 48.07 MB / 410.7 MB Notification: Performance of matching and sorting (n=72) (initialization): time 0.001254/0.2143, allocations: 1.144 MB / 458.8 MB, free: 47.63 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.915e-05/0.2144, allocations: 60.08 kB / 458.9 MB, free: 47.59 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.542e-06/0.2144, allocations: 0 / 458.9 MB, free: 47.59 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001247/0.2145, allocations: 28.25 kB / 458.9 MB, free: 47.57 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002608/0.2171, allocations: 1.109 MB / 460 MB, free: 47.53 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004027/0.2211, allocations: 5.732 MB / 465.7 MB, free: 43.25 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000337/0.2215, allocations: 117.5 kB / 465.9 MB, free: 43.2 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.282e-05/0.2215, allocations: 41.16 kB / 465.9 MB, free: 43.2 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: 14 (inverter.modulator.t0,$PRE.inverter.modulator.t0,inverter.modulator.sigdel_t,$PRE.inverter.modulator.sigdel_t,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) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (66): * Single equations (assignments): 62 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 2 systems {1, 1} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002325/0.2218, allocations: 254.9 kB / 466.1 MB, free: 43.02 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.932e-05/0.2218, allocations: 49.84 kB / 466.2 MB, free: 42.99 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001384/0.2232, allocations: 1.001 MB / 467.2 MB, free: 42.67 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.759e-06/0.2232, allocations: 10.22 kB / 467.2 MB, free: 42.66 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.618e-06/0.2232, allocations: 5.438 kB / 467.2 MB, free: 42.66 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.346e-06/0.2232, allocations: 10.3 kB / 467.2 MB, free: 42.66 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002088/0.2253, allocations: 1.995 MB / 469.2 MB, free: 41.71 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.06e-06/0.2253, allocations: 6.312 kB / 469.2 MB, free: 41.71 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003237/0.2285, allocations: 1.282 MB / 470.5 MB, free: 41.67 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.22e-05/0.2286, allocations: 21.77 kB / 470.5 MB, free: 41.66 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.937e-05/0.2287, allocations: 21.55 kB / 470.5 MB, free: 41.65 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004397/0.2291, allocations: 1.278 MB / 471.8 MB, free: 40.38 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.699e-06/0.2291, allocations: 9.438 kB / 471.8 MB, free: 40.38 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002182/0.2313, allocations: 1.729 MB / 473.6 MB, free: 39.71 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001619/0.2315, allocations: 141.7 kB / 473.7 MB, free: 39.64 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.415e-05/0.2315, allocations: 31.41 kB / 473.7 MB, free: 39.62 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003161/0.2318, allocations: 86.58 kB / 473.8 MB, free: 39.62 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001488/0.232, allocations: 91.98 kB / 473.9 MB, free: 39.61 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.951e-05/0.232, allocations: 23.5 kB / 473.9 MB, free: 39.6 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.000184/0.2322, allocations: 270.4 kB / 474.2 MB, free: 39.47 MB / 410.7 MB Notification: Performance of sort global known variables: time 7e-08/0.2322, allocations: 2.906 kB / 474.2 MB, free: 39.47 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0005122/0.2327, allocations: 186.6 kB / 474.4 MB, free: 39.43 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 3 (meterDC.pav,meterAC.pav,ind.i) * Number of discrete variables: 8 ($whenCondition1,system.initime,inverter.modulator.gates[1],inverter.modulator.gates[2],inverter.modulator.gates[3],inverter.modulator.gates[4],inverter.modulator.sigdel_t,inverter.modulator.t0) * Number of discrete states: 6 (inverter.modulator.t0,inverter.modulator.sigdel_t,inverter.modulator.gates[3],inverter.modulator.gates[4],inverter.modulator.gates[1],inverter.modulator.gates[2]) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (51): * Single equations (assignments): 43 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 7 * 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,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.002314/0.235, allocations: 2.308 MB / 476.7 MB, free: 38.21 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.003771/0.2388, allocations: 2.172 MB / 478.9 MB, free: 37.69 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.414e-06/0.2388, allocations: 0 / 478.9 MB, free: 37.69 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001816/0.2406, allocations: 1.051 MB / 479.9 MB, free: 37.42 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005146/0.2411, allocations: 138.5 kB / 480 MB, free: 37.38 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007316/0.2484, allocations: 6.711 MB / 486.8 MB, free: 33.95 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002876/0.2487, allocations: 331.5 kB / 487.1 MB, free: 33.83 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0003588/0.2491, allocations: 160.7 kB / 487.2 MB, free: 33.8 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002481/0.2493, allocations: 201.2 kB / 487.4 MB, free: 33.65 MB / 410.7 MB Notification: Performance of SimCode: time 1.804e-06/0.2493, allocations: 0 / 487.4 MB, free: 33.65 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03131/0.2807, allocations: 15.29 MB / 0.4909 GB, free: 28.92 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.086/8.366, allocations: 13.94 kB / 0.491 GB, free: 28.91 MB / 410.7 MB " [Timeout remaining time 652] (rm -f PowerSystems_PowerSystems.Examples.AC1ph_DC.Inverters.InverterToLoad.pipe ; mkfifo PowerSystems_PowerSystems.Examples.AC1ph_DC.Inverters.InverterToLoad.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.AC1ph_DC.Inverters.InverterToLoad.pipe >> ../files/PowerSystems_PowerSystems.Examples.AC1ph_DC.Inverters.InverterToLoad.sim & python3 -m fmpy simulate --output-file PowerSystems_PowerSystems.Examples.AC1ph_DC.Inverters.InverterToLoad_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_Inverters_InverterToLoad.fmu > PowerSystems_PowerSystems.Examples.AC1ph_DC.Inverters.InverterToLoad.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 10.554797662422061] Failed to read output from testmodel.py, exit status != 0: 8.46185037586838 8.468858715 8.452395034 Calling exit ...