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.001057/0.001057, allocations: 91.66 kB / 20.95 MB, free: 3.594 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.001157/0.001157, allocations: 166 kB / 24.26 MB, free: 288 kB / 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.9011/0.9011, allocations: 177.1 MB / 204.6 MB, free: 5.59 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.2497/0.2497, allocations: 29.42 MB / 290.5 MB, free: 2.43 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.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: Performance of FrontEnd - loaded program: time 1.903e-06/1.903e-06, allocations: 0 / 368.4 MB, free: 11.81 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.043e-05/2.233e-05, allocations: 2.312 kB / 368.4 MB, free: 11.81 MB / 346.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Transmission.VoltageStability): time 0.006861/0.006884, allocations: 8.294 MB / 376.7 MB, free: 3.473 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.004247/0.01113, allocations: 2.874 MB / 379.6 MB, free: 0.5898 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007306/0.01186, allocations: 43.62 kB / 379.6 MB, free: 0.5469 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002152/0.01401, allocations: 1.05 MB / 380.6 MB, free: 15.49 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001941/0.01595, allocations: 0.6485 MB / 381.3 MB, free: 14.84 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001822/0.01778, allocations: 0.7633 MB / 382.1 MB, free: 14.07 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.00271/0.02049, allocations: 1.66 MB / 383.7 MB, free: 12.41 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001338/0.02182, allocations: 0.6866 MB / 384.4 MB, free: 11.7 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002017/0.02384, allocations: 0.9776 MB / 385.4 MB, free: 10.72 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001342/0.02518, allocations: 0.8923 MB / 386.3 MB, free: 9.828 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002251/0.02541, allocations: 104 kB / 386.4 MB, free: 9.727 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009895/0.0264, allocations: 0.4912 MB / 386.9 MB, free: 9.234 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0007948/0.02719, allocations: 0.6974 MB / 387.6 MB, free: 8.535 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000467/0.02766, allocations: 0.4988 MB / 388.1 MB, free: 8.035 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001635/0.02929, allocations: 1.85 MB / 389.9 MB, free: 6.18 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.41e-06/0.0293, allocations: 0 / 389.9 MB, free: 6.18 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.573e-06/0.0293, allocations: 0 / 389.9 MB, free: 6.18 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.643e-05/0.02932, allocations: 0 / 389.9 MB, free: 6.18 MB / 362.7 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.002273/0.03159, allocations: 1.608 MB / 391.5 MB, free: 4.531 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.178e-05/0.03164, allocations: 11.98 kB / 391.5 MB, free: 4.52 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001661/0.03181, allocations: 198.5 kB / 391.7 MB, free: 4.316 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001397/0.03321, allocations: 0.5345 MB / 392.3 MB, free: 3.781 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00109/0.0343, allocations: 0.8461 MB / 393.1 MB, free: 2.91 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.603e-05/0.03434, allocations: 86.7 kB / 393.2 MB, free: 2.824 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002194/0.03456, allocations: 160.5 kB / 393.3 MB, free: 2.668 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001858/0.03642, allocations: 1.847 MB / 395.2 MB, free: 0.6367 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.983e-05/0.03645, allocations: 7.938 kB / 395.2 MB, free: 0.6289 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.307e-05/0.03652, allocations: 55.98 kB / 395.3 MB, free: 0.5742 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00016/0.03668, allocations: 102.1 kB / 395.4 MB, free: 484 kB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001493/0.03817, allocations: 1.48 MB / 396.8 MB, free: 14.98 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006668/0.04484, allocations: 7.932 MB / 404.8 MB, free: 6.727 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009082/0.04575, allocations: 0.6594 MB / 405.4 MB, free: 6.047 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004659/0.04622, allocations: 449.2 kB / 405.9 MB, free: 5.602 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.663e-05/0.04627, allocations: 20.66 kB / 405.9 MB, free: 5.582 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.158e-05/0.04632, allocations: 43.16 kB / 405.9 MB, free: 5.531 MB / 378.7 MB Notification: Performance of pre-optimization done (n=82): time 4.829e-06/0.04632, allocations: 0 / 405.9 MB, free: 5.531 MB / 378.7 MB Notification: Performance of matching and sorting (n=83): time 0.00329/0.04961, allocations: 2.412 MB / 408.3 MB, free: 3.082 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0004355/0.05005, allocations: 85.77 kB / 408.4 MB, free: 2.98 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007661/0.05081, allocations: 0.8602 MB / 409.3 MB, free: 2.109 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 4.283e-05/0.05085, allocations: 37.7 kB / 409.3 MB, free: 2.066 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003391/0.05119, allocations: 0.7021 MB / 410 MB, free: 1.355 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001834/0.05138, allocations: 317.4 kB / 410.3 MB, free: 1.043 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002165/0.05159, allocations: 255.4 kB / 410.6 MB, free: 0.7852 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001455/0.05174, allocations: 418.7 kB / 411 MB, free: 376 kB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004758/0.05222, allocations: 447.7 kB / 411.4 MB, free: 15.93 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007328/0.05295, allocations: 1.005 MB / 412.4 MB, free: 14.67 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001364/0.05431, allocations: 1.589 MB / 414 MB, free: 12.83 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.428e-06/0.05432, allocations: 4 kB / 414 MB, free: 12.82 MB / 394.7 MB Notification: Performance of matching and sorting (n=177) (initialization): time 0.002514/0.05684, allocations: 1.827 MB / 415.9 MB, free: 10.98 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.853e-05/0.05686, allocations: 16.03 kB / 415.9 MB, free: 10.96 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.001095/0.05796, allocations: 0.9812 MB / 416.8 MB, free: 9.977 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000535/0.05849, allocations: 250.3 kB / 417.1 MB, free: 9.723 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006173/0.05911, allocations: 311.5 kB / 417.4 MB, free: 9.418 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003682/0.06279, allocations: 4.846 MB / 422.2 MB, free: 4.227 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006982/0.06349, allocations: 59.92 kB / 422.3 MB, free: 4.168 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.156e-05/0.06357, allocations: 67.98 kB / 422.4 MB, free: 4.102 MB / 394.7 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.0006104/0.06418, allocations: 433.2 kB / 422.8 MB, free: 3.668 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001466/0.06433, allocations: 131.3 kB / 422.9 MB, free: 3.539 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001014/0.06534, allocations: 0.9493 MB / 423.9 MB, free: 2.578 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.492e-06/0.06535, allocations: 8 kB / 423.9 MB, free: 2.57 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.204e-06/0.06535, allocations: 0 / 423.9 MB, free: 2.57 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.504e-06/0.06536, allocations: 7.984 kB / 423.9 MB, free: 2.562 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002451/0.06781, allocations: 2.023 MB / 425.9 MB, free: 484 kB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.35e-06/0.06782, allocations: 144 / 425.9 MB, free: 484 kB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004669/0.06828, allocations: 183.8 kB / 426.1 MB, free: 300 kB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.105e-06/0.06829, allocations: 16.17 kB / 426.1 MB, free: 284 kB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.508e-05/0.06833, allocations: 23.98 kB / 426.1 MB, free: 260 kB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.669e-06/0.06833, allocations: 4 kB / 426.1 MB, free: 256 kB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.845e-06/0.06833, allocations: 4 kB / 426.1 MB, free: 252 kB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001257/0.06959, allocations: 1.438 MB / 427.6 MB, free: 14.76 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001488/0.06974, allocations: 91.33 kB / 427.7 MB, free: 14.67 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.121e-05/0.06981, allocations: 27.94 kB / 427.7 MB, free: 14.64 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002062/0.07002, allocations: 23.98 kB / 427.7 MB, free: 14.62 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.194e-05/0.07008, allocations: 56.59 kB / 427.8 MB, free: 14.57 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.433e-05/0.07011, allocations: 31.92 kB / 427.8 MB, free: 14.54 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0004413/0.07056, allocations: 0.538 MB / 428.3 MB, free: 14 MB / 410.7 MB Notification: Performance of sort global known variables: time 7e-08/0.07056, allocations: 0 / 428.3 MB, free: 14 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.000771/0.07133, allocations: 300 kB / 428.6 MB, free: 13.71 MB / 410.7 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.001823/0.07315, allocations: 2.001 MB / 430.6 MB, free: 11.66 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.001833/0.07498, allocations: 1.406 MB / 432 MB, free: 10.21 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 4.308e-06/0.07499, allocations: 0 / 432 MB, free: 10.21 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003632/0.07535, allocations: 385.2 kB / 432.4 MB, free: 9.844 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007485/0.0761, allocations: 190.1 kB / 432.6 MB, free: 9.664 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1319/0.208, allocations: 10.22 MB / 442.8 MB, free: 108.2 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004215/0.2084, allocations: 0.6552 MB / 443.5 MB, free: 108.1 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0006551/0.2091, allocations: 414.2 kB / 443.9 MB, free: 108.1 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003917/0.2095, allocations: 469.5 kB / 444.3 MB, free: 108.1 MB / 410.7 MB Notification: Performance of SimCode: time 1.533e-06/0.2095, allocations: 0 / 444.3 MB, free: 108.1 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03676/0.2462, allocations: 22.28 MB / 466.6 MB, free: 105.6 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.517/7.764, allocations: 7.375 kB / 466.6 MB, free: 105.6 MB / 410.7 MB " [Timeout remaining time 652] (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: 9.686853311955929] Failed to read output from testmodel.py, exit status != 0: 7.860051463358104 7.87047956 7.83910744 Calling exit ...