Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_latest_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.001357/0.001357, allocations: 116.9 kB / 18.49 MB, free: 4.426 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.001614/0.001614, allocations: 221.4 kB / 21.46 MB, free: 1.469 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.558/1.558, allocations: 230.6 MB / 254.8 MB, free: 15.02 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems master/package.mo): time 0.1846/0.1846, allocations: 38.5 MB / 349.4 MB, free: 2.574 MB / 270.1 MB " [Timeout remaining time 180] Using package PowerSystems with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems master/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_latest_PowerSystems_Examples_AC3ph_Transmission_VoltageStability",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.AC3ph.Transmission.VoltageStability,fileNamePrefix="PowerSystems_latest_PowerSystems_Examples_AC3ph_Transmission_VoltageStability",fmuType="cs",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.002115/0.002115, allocations: 67.89 kB / 487.9 MB, free: 22.05 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1315/0.1337, allocations: 62.41 MB / 0.5374 GB, free: 7.52 MB / 398.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Transmission.VoltageStability): time 0.01154/0.1452, allocations: 9.023 MB / 0.5462 GB, free: 14.46 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.005709/0.1509, allocations: 3.096 MB / 0.5492 GB, free: 11.35 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006069/0.1515, allocations: 47.56 kB / 0.5493 GB, free: 11.3 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002895/0.1544, allocations: 1.085 MB / 0.5503 GB, free: 10.21 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001507/0.1559, allocations: 0.6375 MB / 0.5509 GB, free: 9.574 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001858/0.1578, allocations: 0.7288 MB / 0.5516 GB, free: 8.844 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.001925/0.1597, allocations: 1.629 MB / 0.5532 GB, free: 7.207 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001193/0.1609, allocations: 0.7024 MB / 0.5539 GB, free: 6.48 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001651/0.1625, allocations: 0.7588 MB / 0.5547 GB, free: 5.719 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001854/0.1644, allocations: 1.001 MB / 0.5556 GB, free: 4.715 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002548/0.1647, allocations: 107.9 kB / 0.5557 GB, free: 4.609 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001411/0.1661, allocations: 499.2 kB / 0.5562 GB, free: 4.121 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007406/0.1668, allocations: 0.6818 MB / 0.5569 GB, free: 3.438 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008247/0.1676, allocations: 0.7075 MB / 0.5576 GB, free: 2.727 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002917/0.1705, allocations: 1.813 MB / 0.5593 GB, free: 0.9062 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.435e-06/0.1706, allocations: 4 kB / 0.5594 GB, free: 0.9023 MB / 414.1 MB Notification: Performance of FrontEnd: time 5.11e-06/0.1706, allocations: 3.984 kB / 0.5594 GB, free: 0.8984 MB / 414.1 MB Notification: Performance of Transformations before backend: time 3.986e-05/0.1706, allocations: 0 / 0.5594 GB, free: 0.8984 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.003567/0.1742, allocations: 1.684 MB / 0.561 GB, free: 15.16 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.009e-05/0.1742, allocations: 12.03 kB / 0.561 GB, free: 15.14 MB / 430.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 4.608e-05/0.1743, allocations: 34.47 kB / 0.561 GB, free: 15.11 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003581/0.1746, allocations: 194.5 kB / 0.5612 GB, free: 14.91 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002491/0.1771, allocations: 395.6 kB / 0.5616 GB, free: 14.52 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002232/0.1793, allocations: 0.8877 MB / 0.5625 GB, free: 13.59 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001153/0.1795, allocations: 94.45 kB / 0.5626 GB, free: 13.5 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000418/0.1799, allocations: 148 kB / 0.5627 GB, free: 13.35 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003191/0.1831, allocations: 1.85 MB / 0.5645 GB, free: 11.32 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.645e-05/0.1831, allocations: 15.89 kB / 0.5645 GB, free: 11.3 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001246/0.1832, allocations: 44 kB / 0.5646 GB, free: 11.26 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003345/0.1836, allocations: 106.1 kB / 0.5647 GB, free: 11.16 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002794/0.1864, allocations: 1.488 MB / 0.5661 GB, free: 9.66 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01171/0.1981, allocations: 8.278 MB / 0.5742 GB, free: 1.051 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00173/0.1998, allocations: 1.121 MB / 0.5753 GB, free: 15.8 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007721/0.2006, allocations: 448.2 kB / 0.5757 GB, free: 15.35 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.914e-05/0.2006, allocations: 24.56 kB / 0.5758 GB, free: 15.33 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.965e-05/0.2007, allocations: 43.22 kB / 0.5758 GB, free: 15.28 MB / 446.1 MB Notification: Performance of pre-optimization done (n=82): time 4.198e-06/0.2007, allocations: 0 / 0.5758 GB, free: 15.28 MB / 446.1 MB Notification: Performance of matching and sorting (n=83): time 0.004665/0.2054, allocations: 2.468 MB / 0.5782 GB, free: 12.75 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.214e-05/0.2055, allocations: 89.7 kB / 0.5783 GB, free: 12.64 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001213/0.2067, allocations: 0.8214 MB / 0.5791 GB, free: 11.81 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 6.413e-05/0.2067, allocations: 37.7 kB / 0.5791 GB, free: 11.77 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000599/0.2073, allocations: 0.706 MB / 0.5798 GB, free: 11.05 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003169/0.2076, allocations: 321.3 kB / 0.5801 GB, free: 10.73 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003974/0.208, allocations: 255.4 kB / 0.5804 GB, free: 10.48 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.000267/0.2083, allocations: 422.7 kB / 0.5808 GB, free: 10.06 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007713/0.2091, allocations: 451.7 kB / 0.5812 GB, free: 9.617 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001372/0.2105, allocations: 1.001 MB / 0.5822 GB, free: 8.367 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002449/0.2129, allocations: 1.592 MB / 0.5837 GB, free: 6.52 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.111e-05/0.2129, allocations: 4 kB / 0.5837 GB, free: 6.516 MB / 446.1 MB Notification: Performance of matching and sorting (n=177) (initialization): time 0.003559/0.2165, allocations: 1.772 MB / 0.5855 GB, free: 4.723 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.187e-05/0.2165, allocations: 12 kB / 0.5855 GB, free: 4.711 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.001879/0.2184, allocations: 0.9859 MB / 0.5864 GB, free: 3.719 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009399/0.2193, allocations: 238.3 kB / 0.5867 GB, free: 3.477 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001122/0.2204, allocations: 315.5 kB / 0.587 GB, free: 3.168 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2949/0.5154, allocations: 5.171 MB / 0.592 GB, free: 47.66 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001987/0.5173, allocations: 54.83 kB / 0.5921 GB, free: 47.66 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002395/0.5176, allocations: 69.17 kB / 0.5921 GB, free: 47.66 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.001192/0.5188, allocations: 434.7 kB / 0.5926 GB, free: 47.55 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002917/0.5191, allocations: 104.7 kB / 0.5927 GB, free: 47.55 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002479/0.5215, allocations: 0.9481 MB / 0.5936 GB, free: 47.48 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.742e-05/0.5216, allocations: 8.531 kB / 0.5936 GB, free: 47.48 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.13e-06/0.5216, allocations: 0.9062 kB / 0.5936 GB, free: 47.48 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.968e-05/0.5216, allocations: 9.438 kB / 0.5936 GB, free: 47.48 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006207/0.5278, allocations: 2.126 MB / 0.5957 GB, free: 46.83 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.052e-05/0.5278, allocations: 2.625 kB / 0.5957 GB, free: 46.83 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001425/0.5292, allocations: 183.4 kB / 0.5958 GB, free: 46.83 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.891e-05/0.5293, allocations: 5.703 kB / 0.5959 GB, free: 46.83 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.715e-05/0.5293, allocations: 22.72 kB / 0.5959 GB, free: 46.82 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.542e-05/0.5294, allocations: 8.922 kB / 0.5959 GB, free: 46.82 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.091e-06/0.5294, allocations: 5.75 kB / 0.5959 GB, free: 46.82 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002892/0.5323, allocations: 1.408 MB / 0.5973 GB, free: 46.21 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000303/0.5326, allocations: 168.5 kB / 0.5974 GB, free: 46.12 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001694/0.5327, allocations: 25.38 kB / 0.5974 GB, free: 46.11 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006223/0.5333, allocations: 25.95 kB / 0.5975 GB, free: 46.09 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001722/0.5335, allocations: 53.92 kB / 0.5975 GB, free: 46.09 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.273e-05/0.5336, allocations: 30.58 kB / 0.5976 GB, free: 46.08 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.001091/0.5347, allocations: 0.5387 MB / 0.5981 GB, free: 45.87 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.5347, allocations: 0 / 0.5981 GB, free: 45.87 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001863/0.5366, allocations: 295.8 kB / 0.5984 GB, free: 45.83 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.003307/0.5399, allocations: 1.973 MB / 0.6003 GB, free: 44.67 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.003889/0.5438, allocations: 1.413 MB / 0.6017 GB, free: 44.02 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 4.168e-06/0.5438, allocations: 0 / 0.6017 GB, free: 44.02 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009194/0.5447, allocations: 386.8 kB / 0.602 GB, free: 43.91 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001448/0.5461, allocations: 190.5 kB / 0.6022 GB, free: 43.83 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0215/0.5676, allocations: 10.34 MB / 0.6123 GB, free: 38 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001085/0.5687, allocations: 1.241 MB / 0.6135 GB, free: 37.22 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.001593/0.5703, allocations: 416 kB / 0.6139 GB, free: 37.18 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007712/0.5711, allocations: 470.8 kB / 0.6144 GB, free: 36.82 MB / 446.1 MB Notification: Performance of SimCode: time 7.31e-07/0.5711, allocations: 0 / 0.6144 GB, free: 36.82 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06355/0.6346, allocations: 21.17 MB / 0.635 GB, free: 19.68 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.13/12.76, allocations: 8 kB / 0.6351 GB, free: 19.68 MB / 446.1 MB " [Timeout remaining time 647] (rm -f PowerSystems_latest_PowerSystems.Examples.AC3ph.Transmission.VoltageStability.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.AC3ph.Transmission.VoltageStability.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.AC3ph.Transmission.VoltageStability.pipe >> ../files/PowerSystems_latest_PowerSystems.Examples.AC3ph.Transmission.VoltageStability.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=PowerSystems_latest_PowerSystems.Examples.AC3ph.Transmission.VoltageStability_res.mat --tempDir=temp_PowerSystems_latest_PowerSystems_Examples_AC3ph_Transmission_VoltageStability_fmu --startTime=0 --stopTime=180 --stepSize=0.18 --timeout=50 --tolerance=1e-06 PowerSystems_latest_PowerSystems_Examples_AC3ph_Transmission_VoltageStability.fmu > PowerSystems_latest_PowerSystems.Examples.AC3ph.Transmission.VoltageStability.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 15.813580782036297] Failed to read output from testmodel.py, exit status != 0: 12.919435855001211 12.942587072 12.767611948 Calling exit ...