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.001251/0.001251, allocations: 128.5 kB / 17.79 MB, free: 5.246 MB / 14.72 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.001395/0.001395, allocations: 207.2 kB / 20.75 MB, free: 2.297 MB / 14.72 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 1.478/1.478, allocations: 230.6 MB / 254.1 MB, free: 15.08 MB / 206.1 MB " [Timeout remaining time 178] 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.1816/0.1816, allocations: 38.5 MB / 348.7 MB, free: 2.578 MB / 270.1 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: PowerSystems requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001953/0.001953, allocations: 67.91 kB / 487.1 MB, free: 22.05 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1179/0.1198, allocations: 62.41 MB / 0.5367 GB, free: 7.527 MB / 398.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Elementary.Rectifier): time 0.008414/0.1282, allocations: 6.422 MB / 0.5429 GB, free: 1.078 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002631/0.1309, allocations: 1.484 MB / 0.5444 GB, free: 15.59 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003334/0.1312, allocations: 31.69 kB / 0.5444 GB, free: 15.56 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005347/0.1317, allocations: 146.8 kB / 0.5446 GB, free: 15.41 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008799/0.1326, allocations: 437.9 kB / 0.545 GB, free: 14.98 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000472/0.1331, allocations: 215.6 kB / 0.5452 GB, free: 14.77 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.001263/0.1343, allocations: 1.118 MB / 0.5463 GB, free: 13.65 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004021/0.1347, allocations: 272.7 kB / 0.5465 GB, free: 13.38 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007055/0.1354, allocations: 498.1 kB / 0.547 GB, free: 12.89 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008339/0.1363, allocations: 0.5723 MB / 0.5476 GB, free: 12.32 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 9.975e-05/0.1364, allocations: 68 kB / 0.5476 GB, free: 12.25 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001304/0.1365, allocations: 64 kB / 0.5477 GB, free: 12.19 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003308/0.1368, allocations: 323.1 kB / 0.548 GB, free: 11.88 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003801/0.1372, allocations: 370.3 kB / 0.5484 GB, free: 11.51 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009996/0.1382, allocations: 0.8717 MB / 0.5492 GB, free: 10.64 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.07e-06/0.1382, allocations: 0 / 0.5492 GB, free: 10.64 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.974e-06/0.1382, allocations: 0 / 0.5492 GB, free: 10.64 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.743e-05/0.1382, allocations: 0 / 0.5492 GB, free: 10.64 MB / 414.1 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.002127/0.1404, allocations: 1.046 MB / 0.5502 GB, free: 9.535 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.941e-05/0.1404, allocations: 12.03 kB / 0.5502 GB, free: 9.523 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001816/0.1406, allocations: 102.6 kB / 0.5503 GB, free: 9.414 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001353/0.1407, allocations: 76.47 kB / 0.5504 GB, free: 9.34 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001041/0.1418, allocations: 0.5929 MB / 0.551 GB, free: 8.707 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001771/0.1419, allocations: 120.6 kB / 0.5511 GB, free: 8.578 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001045/0.1421, allocations: 56 kB / 0.5512 GB, free: 8.523 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001445/0.1435, allocations: 0.7811 MB / 0.5519 GB, free: 7.703 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.043e-05/0.1435, allocations: 3.938 kB / 0.5519 GB, free: 7.699 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.669e-05/0.1436, allocations: 28 kB / 0.5519 GB, free: 7.672 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001283/0.1437, allocations: 36.91 kB / 0.552 GB, free: 7.637 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001482/0.1452, allocations: 0.6947 MB / 0.5527 GB, free: 6.938 MB / 414.1 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.004591/0.1498, allocations: 2.697 MB / 0.5553 GB, free: 4.141 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001983/0.1518, allocations: 0.8581 MB / 0.5561 GB, free: 3.227 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006481/0.1524, allocations: 309.6 kB / 0.5564 GB, free: 2.918 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.823e-05/0.1525, allocations: 4 kB / 0.5564 GB, free: 2.914 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.814e-05/0.1525, allocations: 38.56 kB / 0.5565 GB, free: 2.867 MB / 414.1 MB Notification: Performance of pre-optimization done (n=38): time 2.425e-06/0.1525, allocations: 0 / 0.5565 GB, free: 2.867 MB / 414.1 MB Notification: Performance of matching and sorting (n=39): time 0.004298/0.1568, allocations: 1.957 MB / 0.5584 GB, free: 0.793 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.109e-05/0.1569, allocations: 89.05 kB / 0.5585 GB, free: 0.6875 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004913/0.1573, allocations: 417.9 kB / 0.5589 GB, free: 280 kB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 4.833e-05/0.1574, allocations: 33.7 kB / 0.5589 GB, free: 240 kB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002615/0.1577, allocations: 325 kB / 0.5592 GB, free: 15.91 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001322/0.1578, allocations: 142.8 kB / 0.5593 GB, free: 15.77 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001562/0.1579, allocations: 86.25 kB / 0.5594 GB, free: 15.68 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001821/0.1581, allocations: 358.8 kB / 0.5598 GB, free: 15.32 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005298/0.1587, allocations: 236.9 kB / 0.56 GB, free: 15.09 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006813/0.1593, allocations: 358.3 kB / 0.5603 GB, free: 14.69 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00114/0.1605, allocations: 0.5742 MB / 0.5609 GB, free: 14.07 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-06/0.1605, allocations: 4 kB / 0.5609 GB, free: 14.07 MB / 430.1 MB Notification: Performance of matching and sorting (n=56) (initialization): time 0.001534/0.162, allocations: 0.7921 MB / 0.5617 GB, free: 13.24 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.984e-05/0.162, allocations: 8 kB / 0.5617 GB, free: 13.23 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.177e-05/0.162, allocations: 4 kB / 0.5617 GB, free: 13.23 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000271/0.1623, allocations: 77.88 kB / 0.5618 GB, free: 13.15 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001516/0.1638, allocations: 287.5 kB / 0.562 GB, free: 12.87 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007322/0.1712, allocations: 6.513 MB / 0.5684 GB, free: 5.801 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005236/0.1717, allocations: 39.95 kB / 0.5684 GB, free: 5.762 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.978e-05/0.1717, allocations: 19.94 kB / 0.5684 GB, free: 5.742 MB / 430.1 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.0003957/0.1721, allocations: 237.5 kB / 0.5687 GB, free: 5.5 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001055/0.1722, allocations: 51.67 kB / 0.5687 GB, free: 5.449 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001513/0.1737, allocations: 0.73 MB / 0.5694 GB, free: 4.691 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.781e-06/0.1737, allocations: 4 kB / 0.5694 GB, free: 4.688 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.878e-06/0.1737, allocations: 0 / 0.5694 GB, free: 4.688 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.397e-06/0.1738, allocations: 11.98 kB / 0.5695 GB, free: 4.676 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002699/0.1764, allocations: 1.496 MB / 0.5709 GB, free: 3.09 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.838e-06/0.1765, allocations: 0 / 0.5709 GB, free: 3.09 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001676/0.1781, allocations: 295.6 kB / 0.5712 GB, free: 2.801 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003076/0.1784, allocations: 85.62 kB / 0.5713 GB, free: 2.711 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.052e-05/0.1785, allocations: 11.98 kB / 0.5713 GB, free: 2.699 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002798/0.1813, allocations: 3.185 MB / 0.5744 GB, free: 15.23 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.883e-06/0.1813, allocations: 0 / 0.5744 GB, free: 15.23 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002049/0.1833, allocations: 1.115 MB / 0.5755 GB, free: 14.06 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001661/0.1835, allocations: 128.8 kB / 0.5756 GB, free: 13.92 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.605e-05/0.1836, allocations: 12 kB / 0.5756 GB, free: 13.91 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003327/0.1839, allocations: 39.83 kB / 0.5757 GB, free: 13.87 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000138/0.184, allocations: 39.89 kB / 0.5757 GB, free: 13.83 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.867e-05/0.1841, allocations: 8 kB / 0.5757 GB, free: 13.82 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0004049/0.1845, allocations: 299.1 kB / 0.576 GB, free: 13.53 MB / 446.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1845, allocations: 0 / 0.576 GB, free: 13.53 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0007373/0.1852, allocations: 136 kB / 0.5761 GB, free: 13.4 MB / 446.1 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.002362/0.1876, allocations: 1.67 MB / 0.5778 GB, free: 11.67 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.002711/0.1903, allocations: 0.9699 MB / 0.5787 GB, free: 10.67 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.477e-06/0.1903, allocations: 4 kB / 0.5787 GB, free: 10.67 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002033/0.1923, allocations: 0.7044 MB / 0.5794 GB, free: 9.938 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008516/0.1932, allocations: 144.1 kB / 0.5795 GB, free: 9.805 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00857/0.2017, allocations: 5.525 MB / 0.5849 GB, free: 4.043 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006413/0.2024, allocations: 0.9448 MB / 0.5858 GB, free: 3.07 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0003228/0.2027, allocations: 100.5 kB / 0.5859 GB, free: 2.973 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003692/0.2031, allocations: 203.4 kB / 0.5861 GB, free: 2.773 MB / 446.1 MB Notification: Performance of SimCode: time 6.81e-07/0.2031, allocations: 0 / 0.5861 GB, free: 2.773 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2627/0.4657, allocations: 12.95 MB / 0.5988 GB, free: 50.53 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.38/13.85, allocations: 10.16 kB / 0.5988 GB, free: 50.52 MB / 446.1 MB " [Timeout remaining time 646] (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: 16.83269950900285] Failed to read output from testmodel.py, exit status != 0: 13.94785507900815 13.958826228 13.818387441 Calling exit ...