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.001369/0.001369, allocations: 111.1 kB / 20.44 MB, free: 1.062 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.001671/0.001671, allocations: 215.8 kB / 23.73 MB, free: 4.156 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.483/1.483, allocations: 230.6 MB / 257.5 MB, free: 7.812 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.1879/0.1879, allocations: 38.56 MB / 352.5 MB, free: 12.3 MB / 286.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.002267/0.002267, allocations: 67.89 kB / 492.5 MB, free: 4.676 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3245/0.3268, allocations: 62.46 MB / 0.542 GB, free: 232 kB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Transmission.VoltageStability): time 0.012/0.3388, allocations: 8.36 MB / 0.5501 GB, free: 9.875 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.005545/0.3443, allocations: 2.863 MB / 0.5529 GB, free: 7.645 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005189/0.3449, allocations: 45.97 kB / 0.553 GB, free: 7.621 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002717/0.3476, allocations: 1.065 MB / 0.554 GB, free: 6.809 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001348/0.3489, allocations: 0.6319 MB / 0.5546 GB, free: 6.285 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001913/0.3508, allocations: 0.7403 MB / 0.5553 GB, free: 5.762 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.001899/0.3527, allocations: 1.624 MB / 0.5569 GB, free: 4.855 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001062/0.3538, allocations: 0.6835 MB / 0.5576 GB, free: 4.145 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001129/0.3549, allocations: 0.751 MB / 0.5583 GB, free: 3.391 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001388/0.3563, allocations: 0.9656 MB / 0.5593 GB, free: 2.422 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001821/0.3565, allocations: 104 kB / 0.5594 GB, free: 2.32 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001062/0.3576, allocations: 495.2 kB / 0.5598 GB, free: 1.836 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007177/0.3583, allocations: 0.674 MB / 0.5605 GB, free: 1.16 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006785/0.359, allocations: 0.5949 MB / 0.5611 GB, free: 0.5625 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002116/0.3611, allocations: 1.821 MB / 0.5629 GB, free: 14.73 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.547e-06/0.3611, allocations: 4 kB / 0.5629 GB, free: 14.73 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.563e-06/0.3611, allocations: 0 / 0.5629 GB, free: 14.73 MB / 414.1 MB Notification: Performance of Transformations before backend: time 2.114e-05/0.3611, allocations: 0 / 0.5629 GB, free: 14.73 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.003094/0.3642, allocations: 1.62 MB / 0.5644 GB, free: 13.07 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.358e-05/0.3642, allocations: 11.98 kB / 0.5645 GB, free: 13.06 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000255/0.3645, allocations: 198.5 kB / 0.5646 GB, free: 12.86 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002307/0.3668, allocations: 395.6 kB / 0.565 GB, free: 12.47 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002024/0.3688, allocations: 0.8116 MB / 0.5658 GB, free: 11.62 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.94e-05/0.3689, allocations: 86.7 kB / 0.5659 GB, free: 11.54 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003537/0.3692, allocations: 159.8 kB / 0.566 GB, free: 11.38 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002801/0.372, allocations: 1.846 MB / 0.5679 GB, free: 9.355 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.192e-05/0.3721, allocations: 7.938 kB / 0.5679 GB, free: 9.348 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001233/0.3722, allocations: 51.98 kB / 0.5679 GB, free: 9.297 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003201/0.3725, allocations: 106.1 kB / 0.568 GB, free: 9.191 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002445/0.375, allocations: 1.48 MB / 0.5695 GB, free: 7.703 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009625/0.3846, allocations: 7.918 MB / 0.5772 GB, free: 15.46 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001231/0.3858, allocations: 0.6655 MB / 0.5778 GB, free: 14.78 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000679/0.3865, allocations: 452.2 kB / 0.5783 GB, free: 14.33 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.23e-05/0.3866, allocations: 12.66 kB / 0.5783 GB, free: 14.31 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.849e-05/0.3866, allocations: 39.22 kB / 0.5783 GB, free: 14.27 MB / 430.1 MB Notification: Performance of pre-optimization done (n=82): time 2.985e-06/0.3866, allocations: 0 / 0.5783 GB, free: 14.27 MB / 430.1 MB Notification: Performance of matching and sorting (n=83): time 0.004173/0.3908, allocations: 2.396 MB / 0.5807 GB, free: 11.84 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.646e-05/0.3908, allocations: 89.7 kB / 0.5807 GB, free: 11.73 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001123/0.392, allocations: 0.8563 MB / 0.5816 GB, free: 10.86 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 6.487e-05/0.392, allocations: 45.61 kB / 0.5816 GB, free: 10.81 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006235/0.3927, allocations: 0.7021 MB / 0.5823 GB, free: 10.1 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002987/0.393, allocations: 317.4 kB / 0.5826 GB, free: 9.789 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003685/0.3933, allocations: 259.4 kB / 0.5829 GB, free: 9.531 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0002314/0.3936, allocations: 410.7 kB / 0.5832 GB, free: 9.121 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007059/0.3943, allocations: 459.7 kB / 0.5837 GB, free: 8.672 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00114/0.3954, allocations: 1.005 MB / 0.5847 GB, free: 7.418 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002091/0.3975, allocations: 1.589 MB / 0.5862 GB, free: 5.566 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.279e-05/0.3975, allocations: 8 kB / 0.5862 GB, free: 5.559 MB / 430.1 MB Notification: Performance of matching and sorting (n=177) (initialization): time 0.003379/0.4009, allocations: 1.765 MB / 0.588 GB, free: 3.781 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.531e-05/0.4009, allocations: 20.06 kB / 0.588 GB, free: 3.762 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.001863/0.4028, allocations: 0.9696 MB / 0.5889 GB, free: 2.781 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000943/0.4037, allocations: 246.3 kB / 0.5892 GB, free: 2.531 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0011/0.4048, allocations: 311.5 kB / 0.5894 GB, free: 2.227 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005613/0.4104, allocations: 4.843 MB / 0.5942 GB, free: 13.04 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001015/0.4115, allocations: 63.88 kB / 0.5942 GB, free: 12.98 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001172/0.4116, allocations: 68 kB / 0.5943 GB, free: 12.91 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.0006782/0.4123, allocations: 429.2 kB / 0.5947 GB, free: 12.48 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001865/0.4124, allocations: 99.34 kB / 0.5948 GB, free: 12.38 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001676/0.4141, allocations: 0.9532 MB / 0.5957 GB, free: 11.42 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.53e-05/0.4142, allocations: 15.94 kB / 0.5958 GB, free: 11.4 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.075e-06/0.4142, allocations: 0 / 0.5958 GB, free: 11.4 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.729e-06/0.4142, allocations: 3.984 kB / 0.5958 GB, free: 11.4 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004091/0.4183, allocations: 2.012 MB / 0.5977 GB, free: 9.316 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.084e-06/0.4183, allocations: 4 kB / 0.5977 GB, free: 9.312 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009865/0.4193, allocations: 184 kB / 0.5979 GB, free: 9.133 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.466e-06/0.4193, allocations: 12 kB / 0.5979 GB, free: 9.121 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.177e-05/0.4194, allocations: 23.98 kB / 0.5979 GB, free: 9.098 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.907e-06/0.4194, allocations: 7.938 kB / 0.5979 GB, free: 9.09 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.208e-06/0.4194, allocations: 4 kB / 0.5979 GB, free: 9.086 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002144/0.4215, allocations: 1.406 MB / 0.5993 GB, free: 7.652 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002223/0.4217, allocations: 91.33 kB / 0.5994 GB, free: 7.562 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001194/0.4219, allocations: 19.98 kB / 0.5994 GB, free: 7.543 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004207/0.4223, allocations: 24.17 kB / 0.5995 GB, free: 7.52 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00011/0.4224, allocations: 56.5 kB / 0.5995 GB, free: 7.465 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.925e-05/0.4225, allocations: 35.92 kB / 0.5995 GB, free: 7.43 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0007268/0.4232, allocations: 0.538 MB / 0.6001 GB, free: 6.891 MB / 446.1 MB Notification: Performance of sort global known variables: time 7e-08/0.4232, allocations: 0 / 0.6001 GB, free: 6.891 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001108/0.4243, allocations: 299.9 kB / 0.6003 GB, free: 6.598 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.002644/0.4269, allocations: 1.989 MB / 0.6023 GB, free: 4.559 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.002412/0.4293, allocations: 1.407 MB / 0.6037 GB, free: 3.117 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.878e-06/0.4294, allocations: 1.75 kB / 0.6037 GB, free: 3.117 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006519/0.43, allocations: 383.4 kB / 0.604 GB, free: 2.738 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009463/0.4309, allocations: 192.7 kB / 0.6042 GB, free: 2.559 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01549/0.4464, allocations: 10.33 MB / 0.6143 GB, free: 7.535 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008788/0.4473, allocations: 0.6538 MB / 0.6149 GB, free: 6.844 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.001132/0.4485, allocations: 412.7 kB / 0.6153 GB, free: 6.438 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006508/0.4491, allocations: 467.3 kB / 0.6158 GB, free: 5.98 MB / 462.1 MB Notification: Performance of SimCode: time 1.242e-06/0.4491, allocations: 4 kB / 0.6158 GB, free: 5.977 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06612/0.5152, allocations: 22.03 MB / 0.6373 GB, free: 216 kB / 478.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.38/12.89, allocations: 6.391 kB / 0.6373 GB, free: 212 kB / 478.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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_PowerSystems_PowerSystems_Examples_AC3ph_Transmission_VoltageStability_fmu --startTime=0 --stopTime=180 --stepSize=0.18 --timeout=50 --tolerance=1e-06 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.761619720607996] Failed to read output from testmodel.py, exit status != 0: 13.019320854917169 13.044282859 12.678131488 Calling exit ...