Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Rectifier.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.001216/0.001216, 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.0009975/0.0009975, 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.8861/0.8861, allocations: 177.1 MB / 204.3 MB, free: 5.75 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.2102/0.2102, allocations: 29.4 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.Rectifier,fileNamePrefix="PowerSystems_PowerSystems_Examples_AC1ph_DC_Elementary_Rectifier",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.AC1ph_DC.Elementary.Rectifier,fileNamePrefix="PowerSystems_PowerSystems_Examples_AC1ph_DC_Elementary_Rectifier",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.563e-06/1.563e-06, allocations: 0 / 430.2 MB, free: 13.59 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.566e-05/1.722e-05, allocations: 4.109 kB / 430.2 MB, free: 13.59 MB / 410.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Elementary.Rectifier): time 0.004747/0.004764, allocations: 6.033 MB / 436.3 MB, free: 7.52 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001715/0.006479, allocations: 1.394 MB / 437.6 MB, free: 6.121 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000253/0.006732, allocations: 35.69 kB / 437.7 MB, free: 6.086 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004191/0.007151, allocations: 154.8 kB / 437.8 MB, free: 5.934 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000606/0.007757, allocations: 445.4 kB / 438.3 MB, free: 5.496 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003585/0.008115, allocations: 219.5 kB / 438.5 MB, free: 5.281 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.000759/0.008874, allocations: 1.133 MB / 439.6 MB, free: 4.145 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002638/0.009138, allocations: 225.2 kB / 439.8 MB, free: 3.918 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006427/0.009781, allocations: 0.6465 MB / 440.5 MB, free: 3.27 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005373/0.01032, allocations: 0.5182 MB / 441 MB, free: 2.75 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 7.048e-05/0.01039, allocations: 68 kB / 441.1 MB, free: 2.684 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.588e-05/0.01047, allocations: 64 kB / 441.1 MB, free: 2.621 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001936/0.01067, allocations: 339.1 kB / 441.5 MB, free: 2.289 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001735/0.01084, allocations: 263.4 kB / 441.7 MB, free: 2.031 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00057/0.01141, allocations: 0.8802 MB / 442.6 MB, free: 1.148 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.154e-06/0.01141, allocations: 0 / 442.6 MB, free: 1.148 MB / 410.7 MB Notification: Performance of FrontEnd: time 9.52e-07/0.01141, allocations: 0 / 442.6 MB, free: 1.148 MB / 410.7 MB Notification: Performance of Transformations before backend: time 7.714e-06/0.01142, allocations: 0 / 442.6 MB, free: 1.148 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: 138 * Number of variables: 138 Notification: Performance of Generate backend data structure: time 0.001201/0.01262, allocations: 0.9704 MB / 443.6 MB, free: 144 kB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.871e-05/0.01266, allocations: 11.98 kB / 443.6 MB, free: 132 kB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.979e-05/0.01274, allocations: 102.7 kB / 443.7 MB, free: 20 kB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.157/0.1697, allocations: 77.61 kB / 443.8 MB, free: 54.93 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008592/0.1706, allocations: 0.5104 MB / 444.3 MB, free: 54.78 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001367/0.1707, allocations: 225.2 kB / 444.5 MB, free: 54.59 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.409e-05/0.1708, allocations: 51.94 kB / 444.5 MB, free: 54.59 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008461/0.1716, allocations: 0.7835 MB / 445.3 MB, free: 54.36 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.558e-05/0.1716, allocations: 7.031 kB / 445.3 MB, free: 54.36 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.295e-05/0.1717, allocations: 19.12 kB / 445.3 MB, free: 54.34 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.256e-05/0.1718, allocations: 42.17 kB / 445.4 MB, free: 54.33 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007218/0.1725, allocations: 0.6919 MB / 446.1 MB, free: 54.12 MB / 410.7 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002175/0.1747, allocations: 2.496 MB / 448.6 MB, free: 52.63 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000865/0.1755, allocations: 0.7006 MB / 449.3 MB, free: 52.41 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002897/0.1758, allocations: 306.5 kB / 449.6 MB, free: 52.3 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.496e-05/0.1758, allocations: 13.91 kB / 449.6 MB, free: 52.3 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.932e-05/0.1759, allocations: 35.66 kB / 449.6 MB, free: 52.26 MB / 410.7 MB Notification: Performance of pre-optimization done (n=38): time 1.844e-06/0.1759, allocations: 0 / 449.6 MB, free: 52.26 MB / 410.7 MB Notification: Performance of matching and sorting (n=39): time 0.001963/0.1778, allocations: 1.655 MB / 451.3 MB, free: 51.54 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.944e-05/0.1778, allocations: 87.78 kB / 451.4 MB, free: 51.44 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002516/0.1781, allocations: 430.7 kB / 451.8 MB, free: 51.24 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.08e-05/0.1781, allocations: 33.7 kB / 451.8 MB, free: 51.2 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.214e-05/0.1782, allocations: 317.6 kB / 452.1 MB, free: 50.95 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.951e-05/0.1783, allocations: 149.3 kB / 452.3 MB, free: 50.84 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.769e-05/0.1783, allocations: 84.62 kB / 452.4 MB, free: 50.79 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 4.193e-05/0.1784, allocations: 361.8 kB / 452.7 MB, free: 50.46 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002373/0.1786, allocations: 239.6 kB / 452.9 MB, free: 50.39 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002512/0.1789, allocations: 342.3 kB / 453.3 MB, free: 50.2 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004929/0.1794, allocations: 0.5854 MB / 453.9 MB, free: 49.88 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/0.1794, allocations: 7.156 kB / 453.9 MB, free: 49.88 MB / 410.7 MB Notification: Performance of matching and sorting (n=56) (initialization): time 0.0006685/0.18, allocations: 0.7142 MB / 454.6 MB, free: 49.6 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.312e-05/0.18, allocations: 6.625 kB / 454.6 MB, free: 49.6 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.192e-06/0.1801, allocations: 3.281 kB / 454.6 MB, free: 49.6 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001517/0.1802, allocations: 79.03 kB / 454.7 MB, free: 49.57 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006211/0.1808, allocations: 285.7 kB / 454.9 MB, free: 49.55 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002289/0.1831, allocations: 6.075 MB / 461 MB, free: 44.06 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001668/0.1833, allocations: 36.86 kB / 461.1 MB, free: 44.05 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.031e-05/0.1833, allocations: 23.78 kB / 461.1 MB, free: 44.05 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * Number of states: 0 () * Number of discrete variables: 1 (system.initime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (54): * Single equations (assignments): 50 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 2 * 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): 2 systems {(1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001574/0.1835, allocations: 233.5 kB / 461.3 MB, free: 43.88 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.847e-05/0.1835, allocations: 50.19 kB / 461.4 MB, free: 43.85 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006489/0.1841, allocations: 0.6628 MB / 462 MB, free: 43.58 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.205e-06/0.1841, allocations: 3 kB / 462 MB, free: 43.58 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.016e-06/0.1841, allocations: 7.656 kB / 462 MB, free: 43.58 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.178e-06/0.1842, allocations: 3.469 kB / 462 MB, free: 43.58 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001161/0.1853, allocations: 1.332 MB / 463.4 MB, free: 42.94 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.944e-06/0.1853, allocations: 0 / 463.4 MB, free: 42.94 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007015/0.186, allocations: 303.1 kB / 463.7 MB, free: 42.93 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001267/0.1861, allocations: 86.78 kB / 463.7 MB, free: 42.9 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.073e-05/0.1862, allocations: 14.53 kB / 463.8 MB, free: 42.89 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008173/0.187, allocations: 2.934 MB / 466.7 MB, free: 40.14 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.763e-06/0.187, allocations: 14.45 kB / 466.7 MB, free: 40.14 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008976/0.1879, allocations: 1.041 MB / 467.8 MB, free: 39.66 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.608e-05/0.1879, allocations: 47.83 kB / 467.8 MB, free: 39.63 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.335e-05/0.188, allocations: 15.34 kB / 467.8 MB, free: 39.62 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001489/0.1881, allocations: 33.77 kB / 467.8 MB, free: 39.61 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.494e-05/0.1882, allocations: 40.62 kB / 467.9 MB, free: 39.61 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.66e-05/0.1882, allocations: 13.69 kB / 467.9 MB, free: 39.6 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.000162/0.1884, allocations: 292.4 kB / 468.2 MB, free: 39.46 MB / 410.7 MB Notification: Performance of sort global known variables: time 7e-08/0.1884, allocations: 0 / 468.2 MB, free: 39.46 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0003577/0.1887, allocations: 138.2 kB / 468.3 MB, free: 39.45 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: 1 (system.initime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (39): * Single equations (assignments): 36 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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,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.001001/0.1897, allocations: 1.591 MB / 469.9 MB, free: 38.44 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.001204/0.1909, allocations: 0.9702 MB / 470.9 MB, free: 38.05 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.905e-06/0.1909, allocations: 4 kB / 470.9 MB, free: 38.05 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008281/0.1917, allocations: 0.7101 MB / 471.6 MB, free: 37.73 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004397/0.1922, allocations: 135.5 kB / 471.7 MB, free: 37.69 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003981/0.1962, allocations: 5.272 MB / 477 MB, free: 34.81 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001989/0.1964, allocations: 351.2 kB / 477.3 MB, free: 34.69 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.000177/0.1965, allocations: 100.7 kB / 477.4 MB, free: 34.67 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001676/0.1967, allocations: 203.9 kB / 477.6 MB, free: 34.52 MB / 410.7 MB Notification: Performance of SimCode: time 8.02e-07/0.1967, allocations: 0 / 477.6 MB, free: 34.52 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02878/0.2255, allocations: 14.24 MB / 491.9 MB, free: 32.55 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.26/8.486, allocations: 12.69 kB / 491.9 MB, free: 32.55 MB / 410.7 MB " [Timeout remaining time 651] (rm -f PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Rectifier.pipe ; mkfifo PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Rectifier.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Rectifier.pipe >> ../files/PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Rectifier.sim & python3 -m fmpy simulate --output-file PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Rectifier_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_Rectifier.fmu > PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Rectifier.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.448387438431382] Failed to read output from testmodel.py, exit status != 0: 8.581035242415965 8.592568586 8.579389851 Calling exit ...