Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Line.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.001268/0.001268, allocations: 124.4 kB / 17.79 MB, free: 5.266 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.001371/0.001371, allocations: 199.3 kB / 20.74 MB, free: 2.32 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.609/1.609, allocations: 230.6 MB / 254.1 MB, free: 15.09 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.1925/0.1925, allocations: 38.5 MB / 348.7 MB, free: 2.625 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.Line,fileNamePrefix="PowerSystems_PowerSystems_Examples_AC1ph_DC_Elementary_Line",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.AC1ph_DC.Elementary.Line,fileNamePrefix="PowerSystems_PowerSystems_Examples_AC1ph_DC_Elementary_Line",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.001986/0.001986, allocations: 63.91 kB / 487.1 MB, free: 22.1 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1279/0.1299, allocations: 62.41 MB / 0.5367 GB, free: 7.59 MB / 398.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Elementary.Line): time 0.007286/0.1372, allocations: 4.969 MB / 0.5415 GB, free: 2.598 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002468/0.1397, allocations: 1.332 MB / 0.5428 GB, free: 1.262 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002286/0.1399, allocations: 23.81 kB / 0.5428 GB, free: 1.238 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004678/0.1404, allocations: 123.1 kB / 0.543 GB, free: 1.117 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007533/0.1411, allocations: 334.4 kB / 0.5433 GB, free: 0.7891 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004535/0.1416, allocations: 147.7 kB / 0.5434 GB, free: 0.6445 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008074/0.1424, allocations: 0.697 MB / 0.5441 GB, free: 15.95 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002736/0.1427, allocations: 131.9 kB / 0.5442 GB, free: 15.81 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004952/0.1432, allocations: 318.8 kB / 0.5445 GB, free: 15.5 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006575/0.1438, allocations: 466.7 kB / 0.545 GB, free: 15.04 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 8.13e-05/0.1439, allocations: 44 kB / 0.545 GB, free: 15 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.895e-05/0.144, allocations: 48 kB / 0.5451 GB, free: 14.95 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002658/0.1443, allocations: 243.3 kB / 0.5453 GB, free: 14.71 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003289/0.1446, allocations: 290.6 kB / 0.5456 GB, free: 14.43 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007541/0.1453, allocations: 0.5993 MB / 0.5462 GB, free: 13.83 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.14e-06/0.1453, allocations: 0 / 0.5462 GB, free: 13.83 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.643e-06/0.1454, allocations: 0 / 0.5462 GB, free: 13.83 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.125e-05/0.1454, allocations: 4 kB / 0.5462 GB, free: 13.82 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: 84 * Number of variables: 84 Notification: Performance of Generate backend data structure: time 0.00216/0.1475, allocations: 0.963 MB / 0.5471 GB, free: 12.81 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.766e-05/0.1476, allocations: 8.031 kB / 0.5471 GB, free: 12.8 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001086/0.1477, allocations: 78.7 kB / 0.5472 GB, free: 12.72 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001201/0.1478, allocations: 56.56 kB / 0.5472 GB, free: 12.66 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001275/0.1491, allocations: 0.6152 MB / 0.5478 GB, free: 12.01 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.859e-05/0.1491, allocations: 28.66 kB / 0.5479 GB, free: 11.98 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001028/0.1492, allocations: 43.98 kB / 0.5479 GB, free: 11.94 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009485/0.1502, allocations: 0.544 MB / 0.5484 GB, free: 11.36 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.797e-05/0.1502, allocations: 3.938 kB / 0.5484 GB, free: 11.36 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.825e-05/0.1502, allocations: 16 kB / 0.5485 GB, free: 11.34 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003571/0.1506, allocations: 92.5 kB / 0.5485 GB, free: 11.25 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005832/0.1512, allocations: 354.3 kB / 0.5489 GB, free: 10.9 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003213/0.1544, allocations: 2.063 MB / 0.5509 GB, free: 8.758 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009368/0.1553, allocations: 383.7 kB / 0.5513 GB, free: 8.367 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005621/0.1559, allocations: 285.5 kB / 0.5515 GB, free: 8.082 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.638e-05/0.1559, allocations: 4 kB / 0.5515 GB, free: 8.078 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.778e-05/0.1559, allocations: 38.5 kB / 0.5516 GB, free: 8.031 MB / 414.1 MB Notification: Performance of pre-optimization done (n=32): time 2.184e-06/0.1559, allocations: 4 kB / 0.5516 GB, free: 8.027 MB / 414.1 MB Notification: Performance of matching and sorting (n=33): time 0.005128/0.1611, allocations: 2.538 MB / 0.5541 GB, free: 5.281 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.794e-05/0.1612, allocations: 81.11 kB / 0.5541 GB, free: 5.184 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004769/0.1616, allocations: 381.6 kB / 0.5545 GB, free: 4.797 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 5.349e-05/0.1617, allocations: 29.73 kB / 0.5545 GB, free: 4.762 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002189/0.1619, allocations: 260.6 kB / 0.5548 GB, free: 4.5 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001338/0.162, allocations: 142.8 kB / 0.5549 GB, free: 4.359 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001716/0.1622, allocations: 98.2 kB / 0.555 GB, free: 4.258 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.000216/0.1624, allocations: 362.7 kB / 0.5554 GB, free: 3.895 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003844/0.1628, allocations: 245 kB / 0.5556 GB, free: 3.656 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004738/0.1633, allocations: 358.7 kB / 0.5559 GB, free: 3.258 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008752/0.1642, allocations: 0.6118 MB / 0.5565 GB, free: 2.602 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.881e-06/0.1642, allocations: 4 kB / 0.5565 GB, free: 2.598 MB / 414.1 MB Notification: Performance of matching and sorting (n=60) (initialization): time 0.001858/0.166, allocations: 0.9981 MB / 0.5575 GB, free: 1.586 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.017e-05/0.1661, allocations: 8 kB / 0.5575 GB, free: 1.578 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.738e-06/0.1661, allocations: 7.938 kB / 0.5575 GB, free: 1.57 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001076/0.1671, allocations: 413.5 kB / 0.5579 GB, free: 1.16 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003009/0.1674, allocations: 79.89 kB / 0.558 GB, free: 1.082 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006358/0.1738, allocations: 5.143 MB / 0.563 GB, free: 11.66 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004109/0.1742, allocations: 39.95 kB / 0.5631 GB, free: 11.62 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.24e-05/0.1743, allocations: 20.11 kB / 0.5631 GB, free: 11.61 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 (48): * Single equations (assignments): 46 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * 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,6,100.0%), (1,6,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0003356/0.1746, allocations: 209.6 kB / 0.5633 GB, free: 11.39 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.936e-05/0.1747, allocations: 47.78 kB / 0.5633 GB, free: 11.34 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001642/0.1763, allocations: 0.8308 MB / 0.5641 GB, free: 10.48 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.157e-06/0.1763, allocations: 7.984 kB / 0.5641 GB, free: 10.48 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.198e-06/0.1763, allocations: 0 / 0.5641 GB, free: 10.48 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.671e-06/0.1763, allocations: 4 kB / 0.5641 GB, free: 10.47 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002402/0.1787, allocations: 1.411 MB / 0.5655 GB, free: 8.98 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.216e-06/0.1787, allocations: 0 / 0.5655 GB, free: 8.98 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001614/0.1789, allocations: 36.02 kB / 0.5656 GB, free: 8.945 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00127/0.1802, allocations: 453.3 kB / 0.566 GB, free: 8.48 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.771e-05/0.1802, allocations: 31.97 kB / 0.566 GB, free: 8.449 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006731/0.187, allocations: 6.706 MB / 0.5726 GB, free: 1.176 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.468e-06/0.187, allocations: 3.938 kB / 0.5726 GB, free: 1.172 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002001/0.189, allocations: 1.122 MB / 0.5737 GB, free: 4 kB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001506/0.1891, allocations: 120.8 kB / 0.5738 GB, free: 15.87 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.345e-05/0.1892, allocations: 31.97 kB / 0.5738 GB, free: 15.84 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003042/0.1895, allocations: 31.95 kB / 0.5738 GB, free: 15.8 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001103/0.1896, allocations: 35.94 kB / 0.5739 GB, free: 15.77 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.436e-05/0.1897, allocations: 15.92 kB / 0.5739 GB, free: 15.75 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0003988/0.1901, allocations: 263.2 kB / 0.5741 GB, free: 15.5 MB / 446.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1901, allocations: 0 / 0.5741 GB, free: 15.5 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0008333/0.1909, allocations: 163.9 kB / 0.5743 GB, free: 15.34 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 14 (line.v[1,1],line.v[1,2],line.v[1,3],line.v[2,1],line.v[2,2],line.v[2,3],line.i[1,1],line.i[1,2],line.i[1,3],line.i[1,4],line.i[2,1],line.i[2,2],line.i[2,3],line.i[2,4]) * 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 (29): * Single equations (assignments): 21 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (not torn): 3 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 3 systems {(2,100.0%), (2,100.0%), (2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(1,1,100.0%), (1,1,100.0%), (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.002343/0.1932, allocations: 1.696 MB / 0.576 GB, free: 13.59 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.001937/0.1952, allocations: 0.8689 MB / 0.5768 GB, free: 12.7 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.427e-06/0.1952, allocations: 0 / 0.5768 GB, free: 12.7 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001686/0.1969, allocations: 1.075 MB / 0.5779 GB, free: 11.51 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007143/0.1976, allocations: 124.8 kB / 0.578 GB, free: 11.39 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01023/0.2078, allocations: 6.268 MB / 0.5841 GB, free: 4.93 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006938/0.2085, allocations: 0.8859 MB / 0.585 GB, free: 4.016 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0002987/0.2088, allocations: 72.33 kB / 0.585 GB, free: 3.945 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002449/0.209, allocations: 151.4 kB / 0.5852 GB, free: 3.797 MB / 446.1 MB Notification: Performance of SimCode: time 9.41e-07/0.209, allocations: 0 / 0.5852 GB, free: 3.797 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3168/0.5259, allocations: 12.54 MB / 0.5974 GB, free: 52.21 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.64/11.17, allocations: 7.609 kB / 0.5974 GB, free: 52.21 MB / 446.1 MB " [Timeout remaining time 649] (rm -f PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Line.pipe ; mkfifo PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Line.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Line.pipe >> ../files/PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Line.sim & python3 -m fmpy simulate --output-file PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Line_res.csv --start-time 0 --stop-time 0.2 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0001 PowerSystems_PowerSystems_Examples_AC1ph_DC_Elementary_Line.fmu > PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Line.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 14.904548544989666] Failed to read output from testmodel.py, exit status != 0: 11.254945426990162 11.268527649 11.120523726 Calling exit ...