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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo", uses=false) Using package PowerSystems with version 1.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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: translateModel(PowerSystems.Examples.AC3ph.Transmission.VoltageStability,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Transmission.VoltageStability") translateModel(PowerSystems.Examples.AC3ph.Transmission.VoltageStability,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Transmission.VoltageStability") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001092/0.001092, allocations: 116.3 kB / 17.07 MB, free: 6 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.00102/0.00102, allocations: 198.9 kB / 18 MB, free: 5.078 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.506/1.506, allocations: 205.1 MB / 223.9 MB, free: 12.24 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo): time 0.1749/0.1749, allocations: 37.98 MB / 309.2 MB, free: 5.953 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00155/0.00155, allocations: 63.91 kB / 431.9 MB, free: 15.64 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.118/0.1196, allocations: 55.24 MB / 487.1 MB, free: 8.34 MB / 366.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Transmission.VoltageStability): time 0.01009/0.1297, allocations: 8.925 MB / 496 MB, free: 15.37 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.005323/0.1351, allocations: 3.085 MB / 499.1 MB, free: 12.27 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005446/0.1356, allocations: 31.81 kB / 499.2 MB, free: 12.24 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002601/0.1382, allocations: 1.077 MB / 0.4885 GB, free: 11.16 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001569/0.1398, allocations: 0.6258 MB / 0.4891 GB, free: 10.53 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001808/0.1416, allocations: 0.7287 MB / 0.4898 GB, free: 9.797 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.00193/0.1436, allocations: 1.629 MB / 0.4914 GB, free: 8.164 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001141/0.1447, allocations: 0.9014 MB / 0.4923 GB, free: 7.238 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001145/0.1459, allocations: 0.7315 MB / 0.493 GB, free: 6.504 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001353/0.1473, allocations: 0.9424 MB / 0.4939 GB, free: 5.559 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000167/0.1474, allocations: 108 kB / 0.494 GB, free: 5.453 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00107/0.1485, allocations: 455.3 kB / 0.4945 GB, free: 5.008 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006176/0.1492, allocations: 0.6624 MB / 0.4951 GB, free: 4.344 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006884/0.1499, allocations: 0.7113 MB / 0.4958 GB, free: 3.629 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002249/0.1521, allocations: 1.783 MB / 0.4976 GB, free: 1.84 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.394e-06/0.1521, allocations: 4 kB / 0.4976 GB, free: 1.836 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.114e-06/0.1521, allocations: 0 / 0.4976 GB, free: 1.836 MB / 382.1 MB Notification: Performance of Transformations before backend: time 2.299e-05/0.1522, allocations: 0 / 0.4976 GB, free: 1.836 MB / 382.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.004099/0.1563, allocations: 1.639 MB / 0.4992 GB, free: 144 kB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.175e-05/0.1563, allocations: 11.89 kB / 0.4992 GB, free: 132 kB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001648/0.158, allocations: 271 kB / 0.4994 GB, free: 15.86 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001619/0.1596, allocations: 0.887 MB / 0.5003 GB, free: 14.93 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.304e-05/0.1597, allocations: 90.66 kB / 0.5004 GB, free: 14.84 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003403/0.1601, allocations: 164 kB / 0.5005 GB, free: 14.68 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002638/0.1627, allocations: 1.846 MB / 0.5023 GB, free: 12.65 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.478e-05/0.1627, allocations: 7.938 kB / 0.5024 GB, free: 12.64 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001119/0.1629, allocations: 51.98 kB / 0.5024 GB, free: 12.59 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002776/0.1632, allocations: 98.16 kB / 0.5025 GB, free: 12.5 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002241/0.1654, allocations: 1.495 MB / 0.504 GB, free: 10.99 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008744/0.1742, allocations: 8.253 MB / 0.512 GB, free: 2.406 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00141/0.1756, allocations: 1.172 MB / 0.5132 GB, free: 1.105 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006556/0.1763, allocations: 492 kB / 0.5136 GB, free: 0.6172 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.741e-05/0.1763, allocations: 16.64 kB / 0.5136 GB, free: 0.6016 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.923e-05/0.1764, allocations: 43.22 kB / 0.5137 GB, free: 0.5508 MB / 398.1 MB Notification: Performance of pre-optimization done (n=82): time 3.086e-06/0.1764, allocations: 3.938 kB / 0.5137 GB, free: 0.5469 MB / 398.1 MB Notification: Performance of matching and sorting (n=83): time 0.004015/0.1804, allocations: 2.433 MB / 0.5161 GB, free: 14.05 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.47e-05/0.1805, allocations: 93.69 kB / 0.5162 GB, free: 13.95 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009524/0.1815, allocations: 0.8212 MB / 0.517 GB, free: 13.11 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 5.379e-05/0.1815, allocations: 45.83 kB / 0.517 GB, free: 13.06 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000511/0.182, allocations: 0.6841 MB / 0.5177 GB, free: 12.37 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002393/0.1823, allocations: 303.7 kB / 0.518 GB, free: 12.07 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003882/0.1827, allocations: 259.3 kB / 0.5182 GB, free: 11.81 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002331/0.1829, allocations: 410.7 kB / 0.5186 GB, free: 11.4 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000699/0.1836, allocations: 459.6 kB / 0.519 GB, free: 10.95 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009979/0.1846, allocations: 1.001 MB / 0.52 GB, free: 9.695 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002094/0.1867, allocations: 1.588 MB / 0.5216 GB, free: 7.844 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.416e-06/0.1868, allocations: 4 kB / 0.5216 GB, free: 7.84 MB / 414.1 MB Notification: Performance of matching and sorting (n=177) (initialization): time 0.003099/0.1899, allocations: 1.768 MB / 0.5233 GB, free: 6.059 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001187/0.19, allocations: 16 kB / 0.5233 GB, free: 6.043 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.001663/0.1917, allocations: 0.989 MB / 0.5243 GB, free: 5.043 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008463/0.1925, allocations: 242.5 kB / 0.5245 GB, free: 4.797 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009832/0.1935, allocations: 315.5 kB / 0.5248 GB, free: 4.488 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.25/0.4436, allocations: 5.168 MB / 0.5299 GB, free: 49.04 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001097/0.4447, allocations: 57.25 kB / 0.5299 GB, free: 49.04 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.5e-05/0.4448, allocations: 69.03 kB / 0.53 GB, free: 49.04 MB / 414.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.0005999/0.4454, allocations: 432.8 kB / 0.5304 GB, free: 48.92 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001454/0.4456, allocations: 98.72 kB / 0.5305 GB, free: 48.92 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001548/0.4471, allocations: 0.9491 MB / 0.5314 GB, free: 48.86 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.775e-06/0.4471, allocations: 13.38 kB / 0.5314 GB, free: 48.86 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.194e-06/0.4471, allocations: 0.75 kB / 0.5314 GB, free: 48.86 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.028e-05/0.4472, allocations: 5.688 kB / 0.5314 GB, free: 48.86 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003236/0.4504, allocations: 2.124 MB / 0.5335 GB, free: 48.46 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.44e-06/0.4504, allocations: 2.062 kB / 0.5335 GB, free: 48.46 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000866/0.4513, allocations: 188.8 kB / 0.5337 GB, free: 48.45 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.616e-06/0.4513, allocations: 5.375 kB / 0.5337 GB, free: 48.45 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.073e-05/0.4514, allocations: 19.36 kB / 0.5337 GB, free: 48.44 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.106e-06/0.4514, allocations: 17.36 kB / 0.5337 GB, free: 48.44 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.697e-06/0.4514, allocations: 5.594 kB / 0.5337 GB, free: 48.44 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0017/0.4531, allocations: 1.4 MB / 0.5351 GB, free: 47.86 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001472/0.4533, allocations: 161.7 kB / 0.5353 GB, free: 47.76 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001137/0.4534, allocations: 26.39 kB / 0.5353 GB, free: 47.75 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000381/0.4538, allocations: 25.7 kB / 0.5353 GB, free: 47.73 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.701e-05/0.4539, allocations: 51.41 kB / 0.5354 GB, free: 47.73 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.981e-05/0.4539, allocations: 32.27 kB / 0.5354 GB, free: 47.72 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0006017/0.4545, allocations: 0.5372 MB / 0.5359 GB, free: 47.51 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.4545, allocations: 1.188 kB / 0.5359 GB, free: 47.51 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0009691/0.4555, allocations: 296 kB / 0.5362 GB, free: 47.48 MB / 414.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.0001336/0.4556, allocations: 122.5 kB / 0.5363 GB, free: 47.38 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.001956/0.4576, allocations: 1.468 MB / 0.5377 GB, free: 46.71 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.955e-06/0.4576, allocations: 2.188 kB / 0.5377 GB, free: 46.71 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005219/0.4582, allocations: 412.7 kB / 0.5381 GB, free: 46.59 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008748/0.459, allocations: 187.6 kB / 0.5383 GB, free: 46.51 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003855/0.4629, allocations: 2.71 MB / 0.541 GB, free: 45.17 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007278/0.4637, allocations: 1.251 MB / 0.5422 GB, free: 44.4 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0009193/0.4646, allocations: 421.4 kB / 0.5426 GB, free: 44.35 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002175/0.4648, allocations: 83.91 kB / 0.5427 GB, free: 44.34 MB / 414.1 MB Notification: Performance of SimCode: time 5.31e-07/0.4648, allocations: 0 / 0.5427 GB, free: 44.34 MB / 414.1 MB Notification: Performance of Templates: time 0.01923/0.484, allocations: 11.21 MB / 0.5536 GB, free: 40.8 MB / 414.1 MB make -j1 -f PowerSystems_PowerSystems.Examples.AC3ph.Transmission.VoltageStability.makefile (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 & ./PowerSystems_PowerSystems.Examples.AC3ph.Transmission.VoltageStability -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.AC3ph.Transmission.VoltageStability.pipe 2>&1)