Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC3ph.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.001752/0.001752, 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.002571/0.002571, 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.516/1.516, allocations: 230.6 MB / 254.1 MB, free: 15.1 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.2118/0.2118, allocations: 38.51 MB / 348.7 MB, free: 2.699 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.AC3ph.Elementary.Line,fileNamePrefix="PowerSystems_PowerSystems_Examples_AC3ph_Elementary_Line",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.AC3ph.Elementary.Line,fileNamePrefix="PowerSystems_PowerSystems_Examples_AC3ph_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.002655/0.002655, allocations: 67.91 kB / 487.1 MB, free: 22.12 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1566/0.1592, allocations: 62.42 MB / 0.5367 GB, free: 7.594 MB / 398.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Elementary.Line): time 0.01062/0.1698, allocations: 5.236 MB / 0.5418 GB, free: 2.332 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.004245/0.1741, allocations: 1.811 MB / 0.5435 GB, free: 0.5156 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000323/0.1744, allocations: 19.81 kB / 0.5436 GB, free: 0.4961 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001459/0.1759, allocations: 446 kB / 0.544 GB, free: 60 kB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008402/0.1767, allocations: 306.3 kB / 0.5443 GB, free: 15.76 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00106/0.1778, allocations: 363.2 kB / 0.5446 GB, free: 15.4 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009789/0.1787, allocations: 0.7675 MB / 0.5454 GB, free: 14.63 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000548/0.1793, allocations: 298.2 kB / 0.5457 GB, free: 14.33 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005657/0.1798, allocations: 342.8 kB / 0.546 GB, free: 14 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007554/0.1806, allocations: 490.5 kB / 0.5465 GB, free: 13.52 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 9.054e-05/0.1807, allocations: 55.94 kB / 0.5465 GB, free: 13.46 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003888/0.1811, allocations: 179.8 kB / 0.5467 GB, free: 13.29 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003312/0.1814, allocations: 299.2 kB / 0.547 GB, free: 12.99 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003854/0.1818, allocations: 334.4 kB / 0.5473 GB, free: 12.66 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001041/0.1828, allocations: 0.8289 MB / 0.5481 GB, free: 11.83 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.166e-06/0.1828, allocations: 0 / 0.5481 GB, free: 11.83 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.102e-06/0.1828, allocations: 0 / 0.5481 GB, free: 11.83 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.006e-05/0.1829, allocations: 0 / 0.5481 GB, free: 11.83 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: 139 * Number of variables: 139 Notification: Performance of Generate backend data structure: time 0.002632/0.1855, allocations: 0.9362 MB / 0.549 GB, free: 10.84 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.873e-05/0.1856, allocations: 8.031 kB / 0.549 GB, free: 10.83 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001783/0.1857, allocations: 94.7 kB / 0.5491 GB, free: 10.73 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001889/0.1876, allocations: 172.3 kB / 0.5493 GB, free: 10.56 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001596/0.1892, allocations: 0.5318 MB / 0.5498 GB, free: 9.992 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.192e-05/0.1893, allocations: 44.92 kB / 0.5498 GB, free: 9.949 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006001/0.1899, allocations: 131.8 kB / 0.55 GB, free: 9.82 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002044/0.1919, allocations: 0.8651 MB / 0.5508 GB, free: 8.887 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.746e-05/0.192, allocations: 0 / 0.5508 GB, free: 8.887 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.344e-05/0.192, allocations: 19.98 kB / 0.5508 GB, free: 8.867 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0007322/0.1928, allocations: 72.94 kB / 0.5509 GB, free: 8.797 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001747/0.1945, allocations: 0.6243 MB / 0.5515 GB, free: 8.172 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007574/0.2021, allocations: 3.785 MB / 0.5552 GB, free: 4.227 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001709/0.2038, allocations: 0.5266 MB / 0.5557 GB, free: 3.684 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007608/0.2046, allocations: 314.9 kB / 0.556 GB, free: 3.371 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.529e-05/0.2046, allocations: 8.375 kB / 0.556 GB, free: 3.359 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.111e-05/0.2047, allocations: 43 kB / 0.5561 GB, free: 3.309 MB / 414.1 MB Notification: Performance of pre-optimization done (n=48): time 3.457e-06/0.2047, allocations: 0 / 0.5561 GB, free: 3.309 MB / 414.1 MB Notification: Performance of matching and sorting (n=49): time 0.005261/0.21, allocations: 1.848 MB / 0.5579 GB, free: 1.414 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001326/0.2101, allocations: 85.48 kB / 0.5579 GB, free: 1.312 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009293/0.211, allocations: 421.9 kB / 0.5584 GB, free: 0.8984 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000112/0.2111, allocations: 37.7 kB / 0.5584 GB, free: 0.8555 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004616/0.2116, allocations: 336.5 kB / 0.5587 GB, free: 0.5195 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004022/0.212, allocations: 210.3 kB / 0.5589 GB, free: 320 kB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000455/0.2125, allocations: 158.2 kB / 0.5591 GB, free: 152 kB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0003431/0.2128, allocations: 370.7 kB / 0.5594 GB, free: 15.78 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001109/0.2139, allocations: 377.5 kB / 0.5598 GB, free: 15.41 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001391/0.2153, allocations: 0.5979 MB / 0.5604 GB, free: 14.71 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002774/0.2181, allocations: 1.061 MB / 0.5614 GB, free: 13.55 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.022e-05/0.2181, allocations: 4 kB / 0.5614 GB, free: 13.55 MB / 430.1 MB Notification: Performance of matching and sorting (n=100) (initialization): time 0.008741/0.2268, allocations: 1.965 MB / 0.5633 GB, free: 11.57 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.546e-05/0.2269, allocations: 8 kB / 0.5633 GB, free: 11.56 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.898e-05/0.2269, allocations: 11.94 kB / 0.5633 GB, free: 11.55 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004696/0.2316, allocations: 0.9614 MB / 0.5643 GB, free: 10.58 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006601/0.2322, allocations: 119.8 kB / 0.5644 GB, free: 10.46 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01282/0.2451, allocations: 8.19 MB / 0.5724 GB, free: 1.988 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000631/0.2457, allocations: 31.97 kB / 0.5724 GB, free: 1.957 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.923e-05/0.2458, allocations: 39.94 kB / 0.5725 GB, free: 1.918 MB / 430.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 32 * 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 (60): * Single equations (assignments): 58 * 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%), (23,12,23.8%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0004341/0.2462, allocations: 269.6 kB / 0.5727 GB, free: 1.645 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001145/0.2463, allocations: 55.61 kB / 0.5728 GB, free: 1.59 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001406/0.2477, allocations: 0.7218 MB / 0.5735 GB, free: 0.8672 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.632e-06/0.2477, allocations: 4 kB / 0.5735 GB, free: 0.8633 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.117e-06/0.2477, allocations: 4 kB / 0.5735 GB, free: 0.8594 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.564e-06/0.2478, allocations: 3.984 kB / 0.5735 GB, free: 0.8555 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00293/0.2507, allocations: 1.517 MB / 0.575 GB, free: 15.27 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.88e-06/0.2507, allocations: 4.094 kB / 0.575 GB, free: 15.26 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001166/0.2519, allocations: 179.8 kB / 0.5751 GB, free: 15.09 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.023e-05/0.2519, allocations: 4 kB / 0.5751 GB, free: 15.08 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.439e-05/0.2519, allocations: 39.91 kB / 0.5752 GB, free: 15.04 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.729e-06/0.252, allocations: 0 / 0.5752 GB, free: 15.04 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.958e-06/0.252, allocations: 8.062 kB / 0.5752 GB, free: 15.04 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001631/0.2536, allocations: 0.9975 MB / 0.5762 GB, free: 14.01 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001729/0.2538, allocations: 128.7 kB / 0.5763 GB, free: 13.87 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.923e-05/0.2539, allocations: 31.98 kB / 0.5763 GB, free: 13.84 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003609/0.2542, allocations: 23.97 kB / 0.5763 GB, free: 13.81 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.879e-05/0.2543, allocations: 28.39 kB / 0.5764 GB, free: 13.79 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.441e-05/0.2544, allocations: 20 kB / 0.5764 GB, free: 13.77 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0003712/0.2547, allocations: 283.1 kB / 0.5767 GB, free: 13.49 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.2547, allocations: 0 / 0.5767 GB, free: 13.49 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0009477/0.2557, allocations: 212 kB / 0.5769 GB, free: 13.28 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 21 (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.v[3,1],line.v[3,2],line.v[3,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],line.i[3,1],line.i[3,2],line.i[3,3],line.i[3,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 (52): * Single equations (assignments): 51 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001998/0.2577, allocations: 1.558 MB / 0.5784 GB, free: 11.68 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.003054/0.2607, allocations: 1.421 MB / 0.5798 GB, free: 10.23 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 4.198e-06/0.2607, allocations: 0.625 kB / 0.5798 GB, free: 10.23 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000532/0.2613, allocations: 306.3 kB / 0.5801 GB, free: 9.934 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007595/0.262, allocations: 125.7 kB / 0.5802 GB, free: 9.812 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2656/0.5276, allocations: 9.674 MB / 0.5896 GB, free: 51.37 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006867/0.5283, allocations: 0.9872 MB / 0.5906 GB, free: 50.67 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0006331/0.5289, allocations: 200.1 kB / 0.5908 GB, free: 50.66 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003494/0.5293, allocations: 231.6 kB / 0.591 GB, free: 50.66 MB / 446.1 MB Notification: Performance of SimCode: time 9.42e-07/0.5293, allocations: 1.094 kB / 0.591 GB, free: 50.66 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04937/0.5787, allocations: 17.65 MB / 0.6082 GB, free: 45.89 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.12/11.7, allocations: 11.66 kB / 0.6082 GB, free: 45.88 MB / 446.1 MB " [Timeout remaining time 648] (rm -f PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Line.pipe ; mkfifo PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Line.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Line.pipe >> ../files/PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Line.sim & python3 -m fmpy simulate --output-file PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Line_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 PowerSystems_PowerSystems_Examples_AC3ph_Elementary_Line.fmu > PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Line.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 18.19127183299861] Failed to read output from testmodel.py, exit status != 0: 11.792072757991264 11.801889372 11.616790935 Calling exit ...