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.001321/0.001321, allocations: 116.2 kB / 18.49 MB, free: 4.582 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.001441/0.001441, allocations: 214.8 kB / 21.46 MB, free: 1.629 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.55/1.55, allocations: 230.6 MB / 254.8 MB, free: 15.05 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.2027/0.2027, 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 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.AC3ph.Transmission.VoltageStability,fileNamePrefix="PowerSystems_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.002716/0.002716, allocations: 67.91 kB / 487.8 MB, free: 22.05 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1412/0.1439, allocations: 62.42 MB / 0.5374 GB, free: 7.527 MB / 398.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Transmission.VoltageStability): time 0.01175/0.1557, allocations: 9.02 MB / 0.5462 GB, free: 14.47 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.006512/0.1622, allocations: 3.096 MB / 0.5492 GB, free: 11.36 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006891/0.1629, allocations: 43.62 kB / 0.5492 GB, free: 11.32 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002889/0.1658, allocations: 1.1 MB / 0.5503 GB, free: 10.22 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001764/0.1675, allocations: 0.6336 MB / 0.5509 GB, free: 9.582 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002093/0.1696, allocations: 0.7365 MB / 0.5517 GB, free: 8.844 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.002194/0.1718, allocations: 1.625 MB / 0.5532 GB, free: 7.211 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001032/0.1729, allocations: 0.7063 MB / 0.5539 GB, free: 6.48 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001277/0.1741, allocations: 0.751 MB / 0.5547 GB, free: 5.727 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001418/0.1756, allocations: 1.001 MB / 0.5556 GB, free: 4.723 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001667/0.1757, allocations: 104 kB / 0.5557 GB, free: 4.621 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001069/0.1768, allocations: 0.4915 MB / 0.5562 GB, free: 4.129 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006786/0.1775, allocations: 0.6779 MB / 0.5569 GB, free: 3.449 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007869/0.1783, allocations: 0.7075 MB / 0.5576 GB, free: 2.738 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00231/0.1806, allocations: 1.809 MB / 0.5593 GB, free: 0.9219 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.432e-06/0.1806, allocations: 4 kB / 0.5593 GB, free: 0.918 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.322e-06/0.1806, allocations: 3.938 kB / 0.5593 GB, free: 0.9141 MB / 414.1 MB Notification: Performance of Transformations before backend: time 2.669e-05/0.1806, allocations: 0 / 0.5593 GB, free: 0.9141 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.003542/0.1841, allocations: 1.695 MB / 0.561 GB, free: 15.16 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.422e-05/0.1842, allocations: 8.031 kB / 0.561 GB, free: 15.15 MB / 430.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 4.504e-05/0.1842, allocations: 30.53 kB / 0.561 GB, free: 15.12 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002371/0.1845, allocations: 198.4 kB / 0.5612 GB, free: 14.92 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002329/0.1868, allocations: 395.6 kB / 0.5616 GB, free: 14.53 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001901/0.1887, allocations: 0.8877 MB / 0.5625 GB, free: 13.6 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.614e-05/0.1888, allocations: 94.45 kB / 0.5626 GB, free: 13.5 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003693/0.1892, allocations: 155.9 kB / 0.5627 GB, free: 13.35 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00289/0.1921, allocations: 1.846 MB / 0.5645 GB, free: 11.32 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.084e-05/0.1921, allocations: 11.89 kB / 0.5645 GB, free: 11.31 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001195/0.1922, allocations: 51.98 kB / 0.5646 GB, free: 11.26 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003232/0.1925, allocations: 102.2 kB / 0.5647 GB, free: 11.16 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002409/0.1949, allocations: 1.491 MB / 0.5661 GB, free: 9.66 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01089/0.2058, allocations: 8.266 MB / 0.5742 GB, free: 1.062 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00149/0.2073, allocations: 1.13 MB / 0.5753 GB, free: 15.8 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007266/0.2081, allocations: 444.2 kB / 0.5757 GB, free: 15.36 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.829e-05/0.2081, allocations: 20.62 kB / 0.5757 GB, free: 15.34 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.021e-05/0.2082, allocations: 47.22 kB / 0.5758 GB, free: 15.29 MB / 446.1 MB Notification: Performance of pre-optimization done (n=82): time 2.896e-06/0.2082, allocations: 0 / 0.5758 GB, free: 15.29 MB / 446.1 MB Notification: Performance of matching and sorting (n=83): time 0.004423/0.2126, allocations: 2.468 MB / 0.5782 GB, free: 12.76 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.612e-05/0.2127, allocations: 85.77 kB / 0.5783 GB, free: 12.66 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001094/0.2138, allocations: 0.8214 MB / 0.5791 GB, free: 11.82 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 5.805e-05/0.2138, allocations: 41.83 kB / 0.5791 GB, free: 11.77 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005358/0.2144, allocations: 0.706 MB / 0.5798 GB, free: 11.06 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003275/0.2147, allocations: 321.3 kB / 0.5801 GB, free: 10.74 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003847/0.2151, allocations: 259.4 kB / 0.5804 GB, free: 10.48 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.000262/0.2153, allocations: 410.7 kB / 0.5808 GB, free: 10.07 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007488/0.2161, allocations: 455.7 kB / 0.5812 GB, free: 9.629 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001184/0.2173, allocations: 1.001 MB / 0.5822 GB, free: 8.379 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002114/0.2194, allocations: 1.592 MB / 0.5837 GB, free: 6.531 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.157e-06/0.2194, allocations: 4 kB / 0.5837 GB, free: 6.527 MB / 446.1 MB Notification: Performance of matching and sorting (n=177) (initialization): time 0.003332/0.2227, allocations: 1.776 MB / 0.5855 GB, free: 4.73 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.839e-05/0.2228, allocations: 15.94 kB / 0.5855 GB, free: 4.715 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.001872/0.2246, allocations: 0.9812 MB / 0.5864 GB, free: 3.727 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009295/0.2256, allocations: 246.4 kB / 0.5867 GB, free: 3.477 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001079/0.2266, allocations: 307.5 kB / 0.587 GB, free: 3.176 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.3041/0.5307, allocations: 5.168 MB / 0.592 GB, free: 47.64 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000962/0.5317, allocations: 56.61 kB / 0.5921 GB, free: 47.64 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001153/0.5318, allocations: 70.78 kB / 0.5921 GB, free: 47.64 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.0005692/0.5324, allocations: 432 kB / 0.5925 GB, free: 47.53 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001443/0.5325, allocations: 103.8 kB / 0.5926 GB, free: 47.53 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001556/0.5341, allocations: 0.9512 MB / 0.5936 GB, free: 47.46 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.807e-06/0.5341, allocations: 7.781 kB / 0.5936 GB, free: 47.46 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.415e-06/0.5341, allocations: 1.156 kB / 0.5936 GB, free: 47.46 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.249e-05/0.5341, allocations: 10.11 kB / 0.5936 GB, free: 47.46 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003898/0.538, allocations: 2.123 MB / 0.5957 GB, free: 46.84 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.023e-06/0.538, allocations: 3.203 kB / 0.5957 GB, free: 46.84 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009243/0.5389, allocations: 186.9 kB / 0.5958 GB, free: 46.83 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.157e-05/0.5389, allocations: 4.188 kB / 0.5959 GB, free: 46.83 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.985e-05/0.539, allocations: 24.58 kB / 0.5959 GB, free: 46.82 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.072e-05/0.539, allocations: 7 kB / 0.5959 GB, free: 46.82 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.15e-06/0.539, allocations: 4.625 kB / 0.5959 GB, free: 46.82 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001999/0.541, allocations: 1.413 MB / 0.5973 GB, free: 46.22 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001731/0.5412, allocations: 163 kB / 0.5974 GB, free: 46.12 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001106/0.5413, allocations: 25.5 kB / 0.5974 GB, free: 46.11 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004014/0.5417, allocations: 26.91 kB / 0.5975 GB, free: 46.1 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001071/0.5418, allocations: 55.94 kB / 0.5975 GB, free: 46.09 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.542e-05/0.5418, allocations: 25 kB / 0.5975 GB, free: 46.09 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0007974/0.5426, allocations: 0.5405 MB / 0.5981 GB, free: 45.88 MB / 446.1 MB Notification: Performance of sort global known variables: time 9e-08/0.5426, allocations: 0 / 0.5981 GB, free: 45.88 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001317/0.544, allocations: 296.4 kB / 0.5984 GB, free: 45.84 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.002166/0.5461, allocations: 1.974 MB / 0.6003 GB, free: 44.67 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.002711/0.5488, allocations: 1.415 MB / 0.6017 GB, free: 44 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 5.13e-06/0.5488, allocations: 3.969 kB / 0.6017 GB, free: 44 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006467/0.5495, allocations: 381.8 kB / 0.602 GB, free: 43.89 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001225/0.5507, allocations: 191.5 kB / 0.6022 GB, free: 43.82 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01547/0.5662, allocations: 10.33 MB / 0.6123 GB, free: 37.98 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009601/0.5671, allocations: 1.247 MB / 0.6135 GB, free: 37.2 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.00106/0.5682, allocations: 415.5 kB / 0.6139 GB, free: 37.16 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005247/0.5687, allocations: 467.8 kB / 0.6144 GB, free: 36.81 MB / 446.1 MB Notification: Performance of SimCode: time 7.31e-07/0.5687, allocations: 0 / 0.6144 GB, free: 36.81 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04631/0.615, allocations: 21.15 MB / 0.635 GB, free: 19.71 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.06/12.67, allocations: 12.61 kB / 0.635 GB, free: 19.71 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 & /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 os._exit(0), Time elapsed: 15.738124198978767] Failed to read output from testmodel.py, exit status != 0: 12.831250522984192 12.853295427 12.667626762 Calling exit ...