Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC3ph.Transmission.VoltageStability.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.001598/0.001598, allocations: 123.4 kB / 17.79 MB, free: 5.227 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.001896/0.001896, allocations: 208.3 kB / 20.75 MB, free: 2.273 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.511/1.511, 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.1877/0.1877, allocations: 38.5 MB / 348.7 MB, free: 2.586 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.Transmission.VoltageStability,fileNamePrefix="PowerSystems_PowerSystems_Examples_AC3ph_Transmission_VoltageStability",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.AC3ph.Transmission.VoltageStability,fileNamePrefix="PowerSystems_PowerSystems_Examples_AC3ph_Transmission_VoltageStability",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.001976/0.001976, allocations: 67.91 kB / 487.1 MB, free: 22.05 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1206/0.1226, allocations: 62.42 MB / 0.5367 GB, free: 7.535 MB / 398.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Transmission.VoltageStability): time 0.01163/0.1343, allocations: 9.024 MB / 0.5455 GB, free: 14.47 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.006305/0.1406, allocations: 3.092 MB / 0.5485 GB, free: 11.37 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007346/0.1413, allocations: 43.62 kB / 0.5486 GB, free: 11.33 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002901/0.1442, allocations: 1.096 MB / 0.5496 GB, free: 10.23 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001708/0.1459, allocations: 0.6336 MB / 0.5502 GB, free: 9.594 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001988/0.1479, allocations: 0.7327 MB / 0.551 GB, free: 8.859 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.002304/0.1502, allocations: 1.621 MB / 0.5525 GB, free: 7.23 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001158/0.1513, allocations: 0.7179 MB / 0.5532 GB, free: 6.488 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001501/0.1528, allocations: 0.7432 MB / 0.554 GB, free: 5.742 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00153/0.1544, allocations: 1.005 MB / 0.5549 GB, free: 4.734 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001738/0.1546, allocations: 104 kB / 0.555 GB, free: 4.633 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001019/0.1556, allocations: 0.4914 MB / 0.5555 GB, free: 4.141 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006624/0.1562, allocations: 0.6779 MB / 0.5562 GB, free: 3.461 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008384/0.1571, allocations: 0.7075 MB / 0.5569 GB, free: 2.75 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00237/0.1594, allocations: 1.813 MB / 0.5586 GB, free: 0.9297 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.502e-06/0.1594, allocations: 0 / 0.5586 GB, free: 0.9297 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.593e-06/0.1595, allocations: 0 / 0.5586 GB, free: 0.9297 MB / 414.1 MB Notification: Performance of Transformations before backend: time 3.176e-05/0.1595, allocations: 0 / 0.5586 GB, free: 0.9297 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: 330 * Number of variables: 330 Notification: Performance of Generate backend data structure: time 0.003259/0.1627, allocations: 1.695 MB / 0.5603 GB, free: 15.18 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.865e-05/0.1628, allocations: 8.031 kB / 0.5603 GB, free: 15.17 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002475/0.163, allocations: 198.4 kB / 0.5605 GB, free: 14.96 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002295/0.1653, allocations: 395.6 kB / 0.5609 GB, free: 14.58 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001646/0.167, allocations: 0.8877 MB / 0.5617 GB, free: 13.64 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.786e-05/0.1671, allocations: 94.64 kB / 0.5618 GB, free: 13.55 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003558/0.1674, allocations: 147.9 kB / 0.562 GB, free: 13.41 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002857/0.1703, allocations: 1.85 MB / 0.5638 GB, free: 11.38 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.399e-05/0.1703, allocations: 19.83 kB / 0.5638 GB, free: 11.36 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001287/0.1704, allocations: 51.98 kB / 0.5639 GB, free: 11.3 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003146/0.1708, allocations: 94.16 kB / 0.5639 GB, free: 11.21 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002419/0.1732, allocations: 1.499 MB / 0.5654 GB, free: 9.703 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01036/0.1835, allocations: 8.274 MB / 0.5735 GB, free: 1.098 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00173/0.1853, allocations: 1.126 MB / 0.5746 GB, free: 15.84 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000706/0.186, allocations: 444.2 kB / 0.575 GB, free: 15.4 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.88e-05/0.186, allocations: 12.64 kB / 0.575 GB, free: 15.39 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.172e-05/0.1861, allocations: 43.22 kB / 0.5751 GB, free: 15.34 MB / 446.1 MB Notification: Performance of pre-optimization done (n=82): time 3.106e-06/0.1861, allocations: 4 kB / 0.5751 GB, free: 15.33 MB / 446.1 MB Notification: Performance of matching and sorting (n=83): time 0.004401/0.1905, allocations: 2.464 MB / 0.5775 GB, free: 12.81 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.05e-05/0.1906, allocations: 93.7 kB / 0.5776 GB, free: 12.7 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001111/0.1917, allocations: 0.8253 MB / 0.5784 GB, free: 11.86 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 6.063e-05/0.1917, allocations: 37.7 kB / 0.5784 GB, free: 11.82 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005684/0.1923, allocations: 0.6982 MB / 0.5791 GB, free: 11.11 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003169/0.1926, allocations: 325.4 kB / 0.5794 GB, free: 10.79 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000354/0.193, allocations: 259.4 kB / 0.5796 GB, free: 10.53 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0002578/0.1932, allocations: 414.7 kB / 0.58 GB, free: 10.12 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007193/0.1939, allocations: 451.7 kB / 0.5805 GB, free: 9.676 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00116/0.1951, allocations: 1.001 MB / 0.5814 GB, free: 8.426 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002088/0.1972, allocations: 1.589 MB / 0.583 GB, free: 6.582 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.005e-05/0.1972, allocations: 11.94 kB / 0.583 GB, free: 6.57 MB / 446.1 MB Notification: Performance of matching and sorting (n=177) (initialization): time 0.00331/0.2005, allocations: 1.765 MB / 0.5847 GB, free: 4.785 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.717e-05/0.2005, allocations: 12.19 kB / 0.5847 GB, free: 4.773 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.001835/0.2024, allocations: 0.9773 MB / 0.5857 GB, free: 3.789 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009232/0.2033, allocations: 254.3 kB / 0.5859 GB, free: 3.531 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001056/0.2043, allocations: 311.5 kB / 0.5862 GB, free: 3.227 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2487/0.4531, allocations: 5.171 MB / 0.5913 GB, free: 47.15 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009199/0.454, allocations: 55.45 kB / 0.5913 GB, free: 47.15 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001119/0.4541, allocations: 69.31 kB / 0.5914 GB, free: 47.15 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 84 * 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 (168): * Single equations (assignments): 165 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,3,100.0%), (1,3,100.0%), (1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0005858/0.4547, allocations: 433 kB / 0.5918 GB, free: 47.04 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001459/0.4549, allocations: 103.3 kB / 0.5919 GB, free: 47.04 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001716/0.4566, allocations: 0.9539 MB / 0.5929 GB, free: 46.97 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.434e-05/0.4566, allocations: 9.5 kB / 0.5929 GB, free: 46.97 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.644e-06/0.4566, allocations: 0 / 0.5929 GB, free: 46.97 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.663e-05/0.4566, allocations: 10.44 kB / 0.5929 GB, free: 46.97 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004387/0.461, allocations: 2.124 MB / 0.5949 GB, free: 46.34 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.524e-06/0.461, allocations: 1.594 kB / 0.5949 GB, free: 46.34 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009806/0.462, allocations: 189.2 kB / 0.5951 GB, free: 46.34 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.17e-05/0.462, allocations: 5.594 kB / 0.5951 GB, free: 46.34 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.051e-05/0.4621, allocations: 23.48 kB / 0.5952 GB, free: 46.32 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.12e-05/0.4621, allocations: 9.312 kB / 0.5952 GB, free: 46.32 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.238e-06/0.4621, allocations: 1.688 kB / 0.5952 GB, free: 46.32 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00207/0.4641, allocations: 1.407 MB / 0.5965 GB, free: 45.73 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001877/0.4643, allocations: 165.7 kB / 0.5967 GB, free: 45.63 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001113/0.4644, allocations: 29.06 kB / 0.5967 GB, free: 45.62 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004196/0.4649, allocations: 27.92 kB / 0.5968 GB, free: 45.61 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001221/0.465, allocations: 51.86 kB / 0.5968 GB, free: 45.6 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.623e-05/0.465, allocations: 29.81 kB / 0.5968 GB, free: 45.59 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0007551/0.4658, allocations: 0.5386 MB / 0.5974 GB, free: 45.38 MB / 446.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.4658, allocations: 1.656 kB / 0.5974 GB, free: 45.38 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001266/0.4671, allocations: 298.1 kB / 0.5976 GB, free: 45.34 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 9 (line0.i[1],line0.i[2],line0.i[3],line1.i[1],line1.i[2],line1.i[3],line2.i[1],line2.i[2],line2.i[3]) * 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 (86): * Single equations (assignments): 85 * 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.002077/0.4691, allocations: 1.973 MB / 0.5996 GB, free: 44.18 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.002701/0.4718, allocations: 1.408 MB / 0.6009 GB, free: 43.52 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 4.478e-06/0.4718, allocations: 2.719 kB / 0.6009 GB, free: 43.52 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006138/0.4725, allocations: 387.8 kB / 0.6013 GB, free: 43.41 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001083/0.4735, allocations: 187.3 kB / 0.6015 GB, free: 43.34 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01739/0.4909, allocations: 10.34 MB / 0.6116 GB, free: 37.49 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008787/0.4918, allocations: 1.251 MB / 0.6128 GB, free: 36.71 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.001065/0.4929, allocations: 418.4 kB / 0.6132 GB, free: 36.66 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005523/0.4934, allocations: 466.4 kB / 0.6137 GB, free: 36.31 MB / 446.1 MB Notification: Performance of SimCode: time 1.744e-06/0.4934, allocations: 0 / 0.6137 GB, free: 36.31 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04703/0.5405, allocations: 21.11 MB / 0.6343 GB, free: 19.41 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.01/12.55, allocations: 10.61 kB / 0.6343 GB, free: 19.4 MB / 446.1 MB " [Timeout remaining time 647] (rm -f PowerSystems_PowerSystems.Examples.AC3ph.Transmission.VoltageStability.pipe ; mkfifo PowerSystems_PowerSystems.Examples.AC3ph.Transmission.VoltageStability.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.AC3ph.Transmission.VoltageStability.pipe >> ../files/PowerSystems_PowerSystems.Examples.AC3ph.Transmission.VoltageStability.sim & python3 -m fmpy simulate --output-file PowerSystems_PowerSystems.Examples.AC3ph.Transmission.VoltageStability_res.csv --start-time 0 --stop-time 180 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.18 PowerSystems_PowerSystems_Examples_AC3ph_Transmission_VoltageStability.fmu > PowerSystems_PowerSystems.Examples.AC3ph.Transmission.VoltageStability.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 15.529368538002018] Failed to read output from testmodel.py, exit status != 0: 12.641269282001304 12.65631419 12.493676839 Calling exit ...