Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_latest_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.0007895/0.0007895, 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.0007934/0.0007934, allocations: 170 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.8863/0.8863, allocations: 177.1 MB / 204.3 MB, free: 5.711 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems master/package.mo): time 0.2207/0.2207, 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 master/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_latest_PowerSystems_Examples_AC1ph_DC_Inverters_InverterToLoad",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.AC1ph_DC.Inverters.InverterToLoad,fileNamePrefix="PowerSystems_latest_PowerSystems_Examples_AC1ph_DC_Inverters_InverterToLoad",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.903e-06/1.903e-06, allocations: 0 / 430.2 MB, free: 13.59 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.521e-05/1.711e-05, allocations: 8.672 kB / 430.2 MB, free: 13.59 MB / 410.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Inverters.InverterToLoad): time 0.005014/0.005031, allocations: 5.705 MB / 435.9 MB, free: 7.848 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.002254/0.007286, allocations: 1.527 MB / 437.4 MB, free: 6.316 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003115/0.007597, allocations: 35.69 kB / 437.5 MB, free: 6.281 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005122/0.008109, allocations: 138.8 kB / 437.6 MB, free: 6.145 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006646/0.008774, allocations: 381.7 kB / 438 MB, free: 5.77 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005514/0.009325, allocations: 327.4 kB / 438.3 MB, free: 5.449 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.001243/0.01057, allocations: 1.344 MB / 439.7 MB, free: 4.102 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002928/0.01086, allocations: 229.2 kB / 439.9 MB, free: 3.871 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008853/0.01175, allocations: 0.7404 MB / 440.6 MB, free: 3.129 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005452/0.01229, allocations: 0.5105 MB / 441.1 MB, free: 2.617 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 9.254e-05/0.01238, allocations: 92 kB / 441.2 MB, free: 2.527 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001097/0.01249, allocations: 88 kB / 441.3 MB, free: 2.441 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002631/0.01276, allocations: 371.1 kB / 441.7 MB, free: 2.078 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002555/0.01301, allocations: 311.3 kB / 442 MB, free: 1.773 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001169/0.01418, allocations: 1.106 MB / 443.1 MB, free: 0.6641 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.715e-06/0.01418, allocations: 0 / 443.1 MB, free: 0.6641 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.082e-06/0.01419, allocations: 0 / 443.1 MB, free: 0.6641 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.222e-05/0.0142, allocations: 0 / 443.1 MB, free: 0.6641 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.1654/0.1796, allocations: 1.134 MB / 444.2 MB, free: 54.71 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.804e-05/0.1796, allocations: 13.61 kB / 444.2 MB, free: 54.7 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001259/0.1798, allocations: 106.8 kB / 444.3 MB, free: 54.66 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001434/0.1799, allocations: 91.27 kB / 444.4 MB, free: 54.62 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009105/0.1808, allocations: 0.5875 MB / 445 MB, free: 54.41 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002649/0.1811, allocations: 0.7331 MB / 445.7 MB, free: 53.62 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.107e-05/0.1812, allocations: 66.42 kB / 445.8 MB, free: 53.6 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001293/0.1824, allocations: 1.044 MB / 446.8 MB, free: 53.21 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.751e-05/0.1825, allocations: 0 / 446.8 MB, free: 53.21 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.818e-05/0.1825, allocations: 25.45 kB / 446.9 MB, free: 53.19 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.491e-05/0.1825, allocations: 19.09 kB / 446.9 MB, free: 53.19 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00145/0.184, allocations: 1.087 MB / 448 MB, free: 52.88 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002717/0.1867, allocations: 2.965 MB / 450.9 MB, free: 51.11 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001107/0.1878, allocations: 0.7246 MB / 451.7 MB, free: 50.88 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006999/0.1885, allocations: 0.5215 MB / 452.2 MB, free: 50.72 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.604e-05/0.1885, allocations: 7.75 kB / 452.2 MB, free: 50.72 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007304/0.1893, allocations: 0.6189 MB / 452.8 MB, free: 50.48 MB / 410.7 MB Notification: Performance of pre-optimization done (n=49): time 2.395e-06/0.1893, allocations: 0 / 452.8 MB, free: 50.48 MB / 410.7 MB Notification: Performance of matching and sorting (n=49): time 0.002129/0.1914, allocations: 1.419 MB / 454.2 MB, free: 50.06 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.833e-05/0.1914, allocations: 138.2 kB / 454.4 MB, free: 49.9 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000229/0.1917, allocations: 398.6 kB / 454.8 MB, free: 49.7 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 3.831e-05/0.1917, allocations: 39.8 kB / 454.8 MB, free: 49.66 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.927e-05/0.1918, allocations: 303.1 kB / 455.1 MB, free: 49.44 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.387e-05/0.1919, allocations: 167.5 kB / 455.3 MB, free: 49.31 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001158/0.192, allocations: 117.8 kB / 455.4 MB, free: 49.25 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 4.665e-05/0.192, allocations: 361 kB / 455.7 MB, free: 48.92 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005473/0.1926, allocations: 492.9 kB / 456.2 MB, free: 48.75 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005475/0.1931, allocations: 0.5849 MB / 456.8 MB, free: 48.46 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001003/0.1941, allocations: 0.8869 MB / 457.7 MB, free: 48.07 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.248e-06/0.1941, allocations: 3.188 kB / 457.7 MB, free: 48.07 MB / 410.7 MB Notification: Performance of matching and sorting (n=72) (initialization): time 0.001277/0.1954, allocations: 1.138 MB / 458.8 MB, free: 47.62 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.44e-05/0.1955, allocations: 54.08 kB / 458.9 MB, free: 47.58 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.404e-06/0.1955, allocations: 2.906 kB / 458.9 MB, free: 47.58 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001132/0.1956, allocations: 28.5 kB / 458.9 MB, free: 47.57 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002635/0.1982, allocations: 1.106 MB / 460 MB, free: 47.53 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003877/0.2021, allocations: 5.741 MB / 465.7 MB, free: 43.23 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003294/0.2024, allocations: 115.7 kB / 465.9 MB, free: 43.2 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.789e-05/0.2025, allocations: 36.88 kB / 465.9 MB, free: 43.19 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.0002143/0.2027, allocations: 256.4 kB / 466.1 MB, free: 43.01 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.375e-05/0.2027, allocations: 49.56 kB / 466.2 MB, free: 42.98 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001447/0.2042, allocations: 1.006 MB / 467.2 MB, free: 42.66 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.34e-06/0.2042, allocations: 6.406 kB / 467.2 MB, free: 42.66 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.148e-06/0.2042, allocations: 7.406 kB / 467.2 MB, free: 42.65 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.68e-06/0.2042, allocations: 0 / 467.2 MB, free: 42.65 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002052/0.2063, allocations: 2.009 MB / 469.2 MB, free: 41.7 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.857e-06/0.2063, allocations: 3.062 kB / 469.2 MB, free: 41.7 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003191/0.2095, allocations: 1.281 MB / 470.5 MB, free: 41.66 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.523e-05/0.2095, allocations: 25.16 kB / 470.5 MB, free: 41.65 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.696e-05/0.2096, allocations: 10.56 kB / 470.5 MB, free: 41.64 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003601/0.2099, allocations: 1.285 MB / 471.8 MB, free: 40.37 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.944e-06/0.2099, allocations: 8 kB / 471.8 MB, free: 40.36 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002021/0.2119, allocations: 1.735 MB / 473.6 MB, free: 39.7 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001554/0.2121, allocations: 136.1 kB / 473.7 MB, free: 39.63 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.358e-05/0.2122, allocations: 29.83 kB / 473.7 MB, free: 39.62 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003126/0.2125, allocations: 97.73 kB / 473.8 MB, free: 39.61 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000127/0.2126, allocations: 89.25 kB / 473.9 MB, free: 39.6 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.595e-05/0.2126, allocations: 19.44 kB / 473.9 MB, free: 39.6 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0001501/0.2128, allocations: 268.9 kB / 474.2 MB, free: 39.46 MB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.2128, allocations: 0 / 474.2 MB, free: 39.46 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0003958/0.2132, allocations: 187.8 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.002166/0.2153, allocations: 2.307 MB / 476.7 MB, free: 38.21 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.003705/0.219, allocations: 2.169 MB / 478.9 MB, free: 37.68 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.284e-06/0.219, allocations: 0 / 478.9 MB, free: 37.68 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001749/0.2208, allocations: 1.061 MB / 479.9 MB, free: 37.4 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004674/0.2213, allocations: 136.2 kB / 480.1 MB, free: 37.36 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00733/0.2286, allocations: 6.707 MB / 486.8 MB, free: 33.94 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003119/0.2289, allocations: 335 kB / 487.1 MB, free: 33.82 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0003882/0.2293, allocations: 155.9 kB / 487.2 MB, free: 33.79 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002442/0.2295, allocations: 202.1 kB / 487.4 MB, free: 33.64 MB / 410.7 MB Notification: Performance of SimCode: time 7.61e-07/0.2295, allocations: 0 / 487.4 MB, free: 33.64 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03341/0.2629, allocations: 15.29 MB / 0.4909 GB, free: 28.92 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.329/8.592, allocations: 11.91 kB / 0.491 GB, free: 28.91 MB / 410.7 MB " [Timeout remaining time 651] (rm -f PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Inverters.InverterToLoad.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Inverters.InverterToLoad.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Inverters.InverterToLoad.pipe >> ../files/PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Inverters.InverterToLoad.sim & python3 -m fmpy simulate --output-file PowerSystems_latest_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_latest_PowerSystems_Examples_AC1ph_DC_Inverters_InverterToLoad.fmu > PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Inverters.InverterToLoad.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 10.730693515390158] Failed to read output from testmodel.py, exit status != 0: 8.687671440653503 8.694190763 8.678602187 Calling exit ...