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.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo", uses=false) 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001613/0.001613, allocations: 110.4 kB / 16.92 MB, free: 6.332 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001885/0.001886, allocations: 191.4 kB / 17.85 MB, free: 5.414 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.373/1.373, allocations: 222.9 MB / 241.5 MB, free: 15.3 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo): time 0.1769/0.1769, allocations: 38.03 MB / 329.7 MB, free: 8.793 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001286/0.001286, allocations: 60.8 kB / 398.9 MB, free: 33.93 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.101/0.1023, allocations: 58.06 MB / 457 MB, free: 7.953 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Transmission.VoltageStability): time 0.01008/0.1124, allocations: 8.931 MB / 465.9 MB, free: 14.98 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.004916/0.1174, allocations: 3.041 MB / 468.9 MB, free: 11.93 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006707/0.1181, allocations: 31.81 kB / 469 MB, free: 11.9 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002654/0.1207, allocations: 1.073 MB / 470 MB, free: 10.82 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001725/0.1225, allocations: 0.6257 MB / 470.7 MB, free: 10.2 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001759/0.1243, allocations: 0.721 MB / 471.4 MB, free: 9.473 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001978/0.1262, allocations: 1.629 MB / 473 MB, free: 7.836 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001302/0.1276, allocations: 0.9053 MB / 473.9 MB, free: 6.914 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001327/0.1289, allocations: 0.7237 MB / 474.6 MB, free: 6.188 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001465/0.1304, allocations: 0.9424 MB / 475.6 MB, free: 5.242 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002773/0.1307, allocations: 108 kB / 475.7 MB, free: 5.137 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001012/0.1317, allocations: 455.3 kB / 476.1 MB, free: 4.691 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0008511/0.1326, allocations: 0.6625 MB / 476.8 MB, free: 4.027 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001415/0.134, allocations: 0.7075 MB / 477.5 MB, free: 3.316 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002222/0.1362, allocations: 1.752 MB / 479.3 MB, free: 1.559 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.947e-06/0.1362, allocations: 0 / 479.3 MB, free: 1.559 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.292e-06/0.1363, allocations: 0 / 479.3 MB, free: 1.559 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.105e-05/0.1363, allocations: 0 / 479.3 MB, free: 1.559 MB / 350.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.003531/0.1399, allocations: 1.65 MB / 480.9 MB, free: 15.85 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.414e-05/0.1399, allocations: 11.89 kB / 480.9 MB, free: 15.84 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003181/0.1402, allocations: 194.5 kB / 481.1 MB, free: 15.64 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001725/0.142, allocations: 274.9 kB / 481.4 MB, free: 15.37 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001397/0.1434, allocations: 0.8363 MB / 482.2 MB, free: 14.49 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.172e-05/0.1435, allocations: 94.7 kB / 482.3 MB, free: 14.39 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003151/0.1438, allocations: 151.8 kB / 482.5 MB, free: 14.25 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002455/0.1462, allocations: 1.846 MB / 484.3 MB, free: 12.22 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.167e-05/0.1463, allocations: 15.94 kB / 484.3 MB, free: 12.2 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001114/0.1464, allocations: 51.94 kB / 484.4 MB, free: 12.15 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002823/0.1467, allocations: 98.16 kB / 484.5 MB, free: 12.05 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002208/0.1489, allocations: 1.491 MB / 486 MB, free: 10.55 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008756/0.1577, allocations: 8.292 MB / 494.2 MB, free: 1.922 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001244/0.159, allocations: 1.162 MB / 495.4 MB, free: 0.6367 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005954/0.1596, allocations: 488.2 kB / 495.9 MB, free: 156 kB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.578e-05/0.1596, allocations: 16.64 kB / 495.9 MB, free: 140 kB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.075e-05/0.1597, allocations: 55.09 kB / 496 MB, free: 76 kB / 366.1 MB Notification: Performance of pre-optimization done (n=82): time 2.355e-06/0.1597, allocations: 0 / 496 MB, free: 76 kB / 366.1 MB Notification: Performance of matching and sorting (n=83): time 0.003599/0.1633, allocations: 2.429 MB / 498.4 MB, free: 13.59 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.958e-05/0.1634, allocations: 89.7 kB / 498.5 MB, free: 13.48 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008492/0.1642, allocations: 0.8251 MB / 499.3 MB, free: 12.65 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 5.33e-05/0.1643, allocations: 41.83 kB / 499.3 MB, free: 12.61 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004021/0.1647, allocations: 0.6803 MB / 0.4883 GB, free: 11.91 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000221/0.1649, allocations: 307.7 kB / 0.4886 GB, free: 11.61 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003182/0.1652, allocations: 255.3 kB / 0.4888 GB, free: 11.35 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001665/0.1654, allocations: 410.7 kB / 0.4892 GB, free: 10.94 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006627/0.1661, allocations: 463.6 kB / 0.4897 GB, free: 10.49 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001015/0.1671, allocations: 0.9968 MB / 0.4906 GB, free: 9.238 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001915/0.169, allocations: 1.592 MB / 0.4922 GB, free: 7.383 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.482e-05/0.1691, allocations: 4 kB / 0.4922 GB, free: 7.379 MB / 382.1 MB Notification: Performance of matching and sorting (n=177) (initialization): time 0.002965/0.172, allocations: 1.776 MB / 0.4939 GB, free: 5.59 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.029e-05/0.1721, allocations: 12 kB / 0.4939 GB, free: 5.578 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.001644/0.1737, allocations: 0.9998 MB / 0.4949 GB, free: 4.566 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008268/0.1746, allocations: 238.5 kB / 0.4951 GB, free: 4.324 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000952/0.1755, allocations: 315.5 kB / 0.4955 GB, free: 4.016 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004998/0.1805, allocations: 5.18 MB / 0.5005 GB, free: 14.41 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009898/0.1816, allocations: 55.89 kB / 0.5006 GB, free: 14.36 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001476/0.1817, allocations: 71.98 kB / 0.5006 GB, free: 14.29 MB / 398.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.0006108/0.1824, allocations: 429.2 kB / 0.501 GB, free: 13.86 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002151/0.1826, allocations: 98.78 kB / 0.5011 GB, free: 13.76 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001611/0.1842, allocations: 0.9493 MB / 0.5021 GB, free: 12.8 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.357e-05/0.1842, allocations: 11.94 kB / 0.5021 GB, free: 12.79 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.781e-06/0.1842, allocations: 3.984 kB / 0.5021 GB, free: 12.79 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.134e-05/0.1843, allocations: 3.984 kB / 0.5021 GB, free: 12.78 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003648/0.1879, allocations: 2.123 MB / 0.5042 GB, free: 10.58 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.075e-06/0.1879, allocations: 3.984 kB / 0.5042 GB, free: 10.58 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009194/0.1889, allocations: 187.9 kB / 0.5043 GB, free: 10.39 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.256e-05/0.1889, allocations: 4 kB / 0.5043 GB, free: 10.39 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.703e-05/0.189, allocations: 23.98 kB / 0.5044 GB, free: 10.37 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.656e-06/0.189, allocations: 8 kB / 0.5044 GB, free: 10.36 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.644e-06/0.189, allocations: 0 / 0.5044 GB, free: 10.36 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001813/0.1908, allocations: 1.412 MB / 0.5058 GB, free: 8.914 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002362/0.1911, allocations: 160 kB / 0.5059 GB, free: 8.738 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001359/0.1912, allocations: 23.98 kB / 0.5059 GB, free: 8.715 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004095/0.1916, allocations: 23.98 kB / 0.5059 GB, free: 8.691 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001008/0.1917, allocations: 68.53 kB / 0.506 GB, free: 8.621 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.651e-05/0.1918, allocations: 20 kB / 0.506 GB, free: 8.602 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0006431/0.1924, allocations: 0.5458 MB / 0.5066 GB, free: 8.059 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.553e-06/0.1924, allocations: 0 / 0.5066 GB, free: 8.059 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.001066/0.1935, allocations: 295.9 kB / 0.5068 GB, free: 7.77 MB / 398.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.002082/0.1956, allocations: 1.965 MB / 0.5088 GB, free: 5.754 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.002768/0.1984, allocations: 1.755 MB / 0.5105 GB, free: 3.961 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 4.809e-06/0.1984, allocations: 4.625 kB / 0.5105 GB, free: 3.957 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005557/0.199, allocations: 415.4 kB / 0.5109 GB, free: 3.555 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001151/0.2001, allocations: 178.8 kB / 0.5111 GB, free: 3.387 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1877/0.3878, allocations: 10.66 MB / 0.5215 GB, free: 66.52 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008203/0.3887, allocations: 1.251 MB / 0.5227 GB, free: 65.75 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.001154/0.3899, allocations: 417.6 kB / 0.5231 GB, free: 65.73 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005236/0.3904, allocations: 467.4 kB / 0.5235 GB, free: 65.38 MB / 398.1 MB Notification: Performance of SimCode: time 8.72e-07/0.3904, allocations: 0 / 0.5235 GB, free: 65.38 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04791/0.4383, allocations: 20.48 MB / 0.5435 GB, free: 55.44 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.411/9.849, allocations: 5.5 kB / 0.5435 GB, free: 55.44 MB / 398.1 MB (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 --timeout=50 --tolerance=1e-06 PowerSystems_PowerSystems_Examples_AC3ph_Transmission_VoltageStability.fmu > PowerSystems_PowerSystems.Examples.AC3ph.Transmission.VoltageStability.pipe 2>&1)