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.0008867/0.0008867, allocations: 87.61 kB / 20.77 MB, free: 3.754 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.001079/0.001079, allocations: 166 kB / 24.06 MB, free: 476 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.9099/0.9099, allocations: 177.1 MB / 204.4 MB, free: 5.715 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.2192/0.2192, allocations: 29.42 MB / 290.2 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.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.804e-06/1.804e-06, allocations: 0 / 430.4 MB, free: 13.53 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.429e-05/2.609e-05, allocations: 6.219 kB / 430.4 MB, free: 13.52 MB / 410.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Inverters.InverterToLoad): time 0.006051/0.006077, allocations: 5.712 MB / 436.1 MB, free: 7.777 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.002488/0.008565, allocations: 1.527 MB / 437.7 MB, free: 6.246 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003569/0.008922, allocations: 35.69 kB / 437.7 MB, free: 6.211 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004658/0.009387, allocations: 138.9 kB / 437.8 MB, free: 6.074 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0007385/0.01013, allocations: 377.7 kB / 438.2 MB, free: 5.703 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005968/0.01072, allocations: 319.4 kB / 438.5 MB, free: 5.391 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.001166/0.01189, allocations: 1.356 MB / 439.9 MB, free: 4.031 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003223/0.01221, allocations: 229.2 kB / 440.1 MB, free: 3.801 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001029/0.01324, allocations: 0.7325 MB / 440.8 MB, free: 3.066 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007602/0.014, allocations: 0.5183 MB / 441.4 MB, free: 2.547 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001461/0.01415, allocations: 92 kB / 441.4 MB, free: 2.457 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001333/0.01428, allocations: 88 kB / 441.5 MB, free: 2.371 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002683/0.01455, allocations: 367.1 kB / 441.9 MB, free: 2.012 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0005639/0.01511, allocations: 303.4 kB / 442.2 MB, free: 1.715 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0009609/0.01607, allocations: 1.11 MB / 443.3 MB, free: 0.6016 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.238e-06/0.01608, allocations: 4 kB / 443.3 MB, free: 0.5977 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.674e-06/0.01608, allocations: 0 / 443.3 MB, free: 0.5977 MB / 410.7 MB Notification: Performance of Transformations before backend: time 2.752e-05/0.01611, allocations: 0 / 443.3 MB, free: 0.5977 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.1753/0.1914, allocations: 1.129 MB / 444.4 MB, free: 54.75 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.197e-05/0.1914, allocations: 13.17 kB / 444.4 MB, free: 54.75 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001387/0.1916, allocations: 110.2 kB / 444.5 MB, free: 54.71 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000148/0.1917, allocations: 86.53 kB / 444.6 MB, free: 54.67 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001094/0.1928, allocations: 0.6182 MB / 445.2 MB, free: 54.45 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003496/0.1932, allocations: 0.7449 MB / 446 MB, free: 53.67 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001119/0.1933, allocations: 55.31 kB / 446 MB, free: 53.65 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001283/0.1946, allocations: 1.044 MB / 447.1 MB, free: 53.25 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.528e-05/0.1946, allocations: 0 / 447.1 MB, free: 53.25 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.359e-05/0.1946, allocations: 26.38 kB / 447.1 MB, free: 53.23 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.097e-05/0.1946, allocations: 16.84 kB / 447.1 MB, free: 53.23 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001435/0.1961, allocations: 1.087 MB / 448.2 MB, free: 52.93 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002871/0.1989, allocations: 2.978 MB / 451.2 MB, free: 51.16 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001121/0.2001, allocations: 0.7216 MB / 451.9 MB, free: 50.93 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007173/0.2008, allocations: 0.5217 MB / 452.4 MB, free: 50.77 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.783e-05/0.2008, allocations: 6.906 kB / 452.4 MB, free: 50.77 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007725/0.2016, allocations: 0.6178 MB / 453.1 MB, free: 50.54 MB / 410.7 MB Notification: Performance of pre-optimization done (n=49): time 2.404e-06/0.2016, allocations: 0 / 453.1 MB, free: 50.54 MB / 410.7 MB Notification: Performance of matching and sorting (n=49): time 0.002303/0.2039, allocations: 1.419 MB / 454.5 MB, free: 50.11 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.958e-05/0.2039, allocations: 142.3 kB / 454.6 MB, free: 49.95 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002894/0.2042, allocations: 398.3 kB / 455 MB, free: 49.75 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 4.052e-05/0.2043, allocations: 40.27 kB / 455.1 MB, free: 49.71 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001226/0.2044, allocations: 301.6 kB / 455.3 MB, free: 49.48 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.863e-05/0.2045, allocations: 172.8 kB / 455.5 MB, free: 49.36 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001238/0.2046, allocations: 117.9 kB / 455.6 MB, free: 49.3 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 5.545e-05/0.2047, allocations: 357.6 kB / 456 MB, free: 48.96 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005457/0.2052, allocations: 494.9 kB / 456.5 MB, free: 48.79 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005619/0.2058, allocations: 0.5843 MB / 457 MB, free: 48.5 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001048/0.2068, allocations: 0.8858 MB / 457.9 MB, free: 48.11 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.698e-06/0.2068, allocations: 3.312 kB / 457.9 MB, free: 48.11 MB / 410.7 MB Notification: Performance of matching and sorting (n=72) (initialization): time 0.001373/0.2082, allocations: 1.141 MB / 459.1 MB, free: 47.67 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.751e-05/0.2082, allocations: 54.12 kB / 459.1 MB, free: 47.62 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.846e-06/0.2083, allocations: 3.375 kB / 459.1 MB, free: 47.62 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001411/0.2084, allocations: 28.06 kB / 459.2 MB, free: 47.62 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002643/0.211, allocations: 1.104 MB / 460.3 MB, free: 47.57 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00414/0.2152, allocations: 5.734 MB / 466 MB, free: 43.29 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004471/0.2156, allocations: 115.7 kB / 466.1 MB, free: 43.25 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.388e-05/0.2157, allocations: 40.84 kB / 466.2 MB, free: 43.24 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.0003241/0.216, allocations: 252.2 kB / 466.4 MB, free: 43.06 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.457e-05/0.2161, allocations: 50.19 kB / 466.4 MB, free: 43.04 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001481/0.2176, allocations: 1.013 MB / 467.5 MB, free: 42.7 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.892e-06/0.2176, allocations: 6.281 kB / 467.5 MB, free: 42.7 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.13e-06/0.2176, allocations: 3.938 kB / 467.5 MB, free: 42.7 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.277e-06/0.2176, allocations: 3.469 kB / 467.5 MB, free: 42.7 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002169/0.2198, allocations: 2.003 MB / 469.5 MB, free: 41.75 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.3e-06/0.2198, allocations: 3.125 kB / 469.5 MB, free: 41.75 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003182/0.2229, allocations: 1.282 MB / 470.8 MB, free: 41.71 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.301e-05/0.223, allocations: 25.22 kB / 470.8 MB, free: 41.7 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.199e-05/0.2231, allocations: 14.56 kB / 470.8 MB, free: 41.69 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004763/0.2235, allocations: 1.282 MB / 472.1 MB, free: 40.42 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.074e-06/0.2235, allocations: 160 / 472.1 MB, free: 40.42 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002115/0.2257, allocations: 1.741 MB / 473.8 MB, free: 39.75 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001893/0.2258, allocations: 133.5 kB / 474 MB, free: 39.68 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.738e-05/0.2259, allocations: 27.45 kB / 474 MB, free: 39.67 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003293/0.2262, allocations: 94.3 kB / 474.1 MB, free: 39.66 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001555/0.2264, allocations: 98.34 kB / 474.2 MB, free: 39.65 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.634e-05/0.2264, allocations: 19.31 kB / 474.2 MB, free: 39.64 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0001939/0.2266, allocations: 267.6 kB / 474.5 MB, free: 39.51 MB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.2266, allocations: 0 / 474.5 MB, free: 39.51 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0004799/0.2271, allocations: 187.2 kB / 474.6 MB, free: 39.47 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.002168/0.2293, allocations: 2.308 MB / 476.9 MB, free: 38.25 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.003922/0.2332, allocations: 2.172 MB / 479.1 MB, free: 37.73 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.517e-06/0.2332, allocations: 0 / 479.1 MB, free: 37.73 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001848/0.235, allocations: 1.051 MB / 480.2 MB, free: 37.45 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006478/0.2357, allocations: 146.6 kB / 480.3 MB, free: 37.41 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007404/0.2431, allocations: 6.706 MB / 487 MB, free: 33.99 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002618/0.2433, allocations: 332.5 kB / 487.3 MB, free: 33.87 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.000408/0.2438, allocations: 159.2 kB / 487.5 MB, free: 33.84 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002296/0.244, allocations: 197.8 kB / 487.7 MB, free: 33.7 MB / 410.7 MB Notification: Performance of SimCode: time 1.393e-06/0.244, allocations: 5.281 kB / 487.7 MB, free: 33.69 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03319/0.2772, allocations: 15.29 MB / 0.4912 GB, free: 28.93 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.12/8.397, allocations: 1.438 kB / 0.4912 GB, free: 28.93 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.489991961047053] Failed to read output from testmodel.py, exit status != 0: 8.493861548602581 8.503436551 8.485903409 Calling exit ...