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.00125/0.001251, allocations: 111.5 kB / 17.06 MB, free: 5.973 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.001052/0.001052, allocations: 200 kB / 18.01 MB, free: 5.055 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.712/1.712, allocations: 205.1 MB / 223.9 MB, free: 12.28 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo): time 0.1799/0.1799, allocations: 37.99 MB / 309.2 MB, free: 5.945 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.001548/0.001549, allocations: 67.91 kB / 431.9 MB, free: 15.63 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1315/0.1331, allocations: 55.24 MB / 487.1 MB, free: 8.332 MB / 366.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Transmission.VoltageStability): time 0.009902/0.143, allocations: 8.925 MB / 496 MB, free: 15.36 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.005658/0.1487, allocations: 3.081 MB / 499.1 MB, free: 12.27 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007528/0.1495, allocations: 31.81 kB / 499.2 MB, free: 12.23 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002886/0.1525, allocations: 1.085 MB / 0.4885 GB, free: 11.14 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001849/0.1544, allocations: 0.6219 MB / 0.4891 GB, free: 10.52 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002257/0.1567, allocations: 0.7288 MB / 0.4898 GB, free: 9.789 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.00234/0.159, allocations: 1.617 MB / 0.4914 GB, free: 8.168 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001387/0.1604, allocations: 0.9014 MB / 0.4923 GB, free: 7.242 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001469/0.1619, allocations: 0.7392 MB / 0.493 GB, free: 6.5 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001729/0.1636, allocations: 0.9425 MB / 0.4939 GB, free: 5.555 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003688/0.164, allocations: 104 kB / 0.494 GB, free: 5.453 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001249/0.1653, allocations: 455.2 kB / 0.4945 GB, free: 5.008 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0009058/0.1662, allocations: 0.6663 MB / 0.4951 GB, free: 4.34 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001402/0.1676, allocations: 0.7075 MB / 0.4958 GB, free: 3.629 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00252/0.1701, allocations: 1.779 MB / 0.4976 GB, free: 1.844 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.144e-06/0.1702, allocations: 3.984 kB / 0.4976 GB, free: 1.84 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.014e-06/0.1702, allocations: 0 / 0.4976 GB, free: 1.84 MB / 382.1 MB Notification: Performance of Transformations before backend: time 8.692e-05/0.1703, allocations: 0 / 0.4976 GB, free: 1.84 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.003786/0.1741, allocations: 1.639 MB / 0.4992 GB, free: 148 kB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.848e-05/0.1741, allocations: 11.89 kB / 0.4992 GB, free: 136 kB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001709/0.1758, allocations: 274.9 kB / 0.4994 GB, free: 15.86 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001617/0.1775, allocations: 0.8948 MB / 0.5003 GB, free: 14.93 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.418e-05/0.1775, allocations: 86.7 kB / 0.5004 GB, free: 14.84 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003248/0.1779, allocations: 156 kB / 0.5005 GB, free: 14.69 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002488/0.1804, allocations: 1.85 MB / 0.5023 GB, free: 12.65 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.233e-05/0.1804, allocations: 11.94 kB / 0.5024 GB, free: 12.64 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001131/0.1805, allocations: 48 kB / 0.5024 GB, free: 12.59 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00028/0.1808, allocations: 98.16 kB / 0.5025 GB, free: 12.5 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002123/0.183, allocations: 1.491 MB / 0.5039 GB, free: 11 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008695/0.1917, allocations: 8.261 MB / 0.512 GB, free: 2.402 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001379/0.1931, allocations: 1.165 MB / 0.5132 GB, free: 1.109 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006429/0.1937, allocations: 492 kB / 0.5136 GB, free: 0.6211 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.889e-05/0.1938, allocations: 20.64 kB / 0.5136 GB, free: 0.6016 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.008e-05/0.1939, allocations: 47.09 kB / 0.5137 GB, free: 0.5469 MB / 398.1 MB Notification: Performance of pre-optimization done (n=82): time 2.404e-06/0.1939, allocations: 0 / 0.5137 GB, free: 0.5469 MB / 398.1 MB Notification: Performance of matching and sorting (n=83): time 0.004159/0.198, allocations: 2.437 MB / 0.5161 GB, free: 14.05 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.766e-05/0.1981, allocations: 89.83 kB / 0.5162 GB, free: 13.95 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009439/0.1991, allocations: 0.8251 MB / 0.517 GB, free: 13.11 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 5.29e-05/0.1991, allocations: 37.7 kB / 0.517 GB, free: 13.07 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004768/0.1996, allocations: 0.6842 MB / 0.5177 GB, free: 12.37 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002496/0.1999, allocations: 311.6 kB / 0.518 GB, free: 12.06 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003271/0.2002, allocations: 255.3 kB / 0.5182 GB, free: 11.81 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001889/0.2004, allocations: 414.7 kB / 0.5186 GB, free: 11.39 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006552/0.2011, allocations: 447.7 kB / 0.519 GB, free: 10.96 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001019/0.2021, allocations: 1.005 MB / 0.52 GB, free: 9.699 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001899/0.204, allocations: 1.585 MB / 0.5216 GB, free: 7.852 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.16e-05/0.204, allocations: 8 kB / 0.5216 GB, free: 7.844 MB / 414.1 MB Notification: Performance of matching and sorting (n=177) (initialization): time 0.003136/0.2072, allocations: 1.772 MB / 0.5233 GB, free: 6.059 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.536e-05/0.2072, allocations: 16 kB / 0.5233 GB, free: 6.043 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.001686/0.2089, allocations: 0.9851 MB / 0.5243 GB, free: 5.047 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00114/0.2101, allocations: 250.7 kB / 0.5245 GB, free: 4.793 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009864/0.2111, allocations: 315.5 kB / 0.5248 GB, free: 4.484 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.3261/0.5372, allocations: 5.168 MB / 0.5299 GB, free: 48.96 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00162/0.5388, allocations: 57.03 kB / 0.5299 GB, free: 48.96 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001817/0.539, allocations: 69.02 kB / 0.53 GB, free: 48.96 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.001007/0.5401, allocations: 429.3 kB / 0.5304 GB, free: 48.85 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002811/0.5404, allocations: 106.3 kB / 0.5305 GB, free: 48.85 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00259/0.543, allocations: 0.9453 MB / 0.5314 GB, free: 48.79 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.726e-05/0.543, allocations: 8.812 kB / 0.5314 GB, free: 48.79 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.839e-06/0.543, allocations: 4.844 kB / 0.5314 GB, free: 48.79 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.131e-05/0.5431, allocations: 4.828 kB / 0.5314 GB, free: 48.79 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007191/0.5503, allocations: 2.123 MB / 0.5335 GB, free: 48.39 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.317e-05/0.5503, allocations: 2.25 kB / 0.5335 GB, free: 48.39 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001825/0.5521, allocations: 183.5 kB / 0.5337 GB, free: 48.39 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.766e-05/0.5522, allocations: 5.547 kB / 0.5337 GB, free: 48.39 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001105/0.5523, allocations: 24.3 kB / 0.5337 GB, free: 48.38 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.605e-05/0.5524, allocations: 11.72 kB / 0.5337 GB, free: 48.38 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.474e-06/0.5524, allocations: 5.938 kB / 0.5337 GB, free: 48.38 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003745/0.5561, allocations: 1.403 MB / 0.5351 GB, free: 47.79 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004966/0.5567, allocations: 165.4 kB / 0.5352 GB, free: 47.7 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003319/0.557, allocations: 26.17 kB / 0.5353 GB, free: 47.68 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009096/0.558, allocations: 24.8 kB / 0.5353 GB, free: 47.67 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001918/0.5582, allocations: 51.23 kB / 0.5353 GB, free: 47.66 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001073/0.5583, allocations: 27.47 kB / 0.5354 GB, free: 47.66 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.001701/0.56, allocations: 0.5419 MB / 0.5359 GB, free: 47.45 MB / 414.1 MB Notification: Performance of sort global known variables: time 3.7e-07/0.56, allocations: 0 / 0.5359 GB, free: 47.45 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.002477/0.5625, allocations: 292 kB / 0.5362 GB, free: 47.42 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.0002925/0.5628, allocations: 124.4 kB / 0.5363 GB, free: 47.32 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.004258/0.5671, allocations: 1.473 MB / 0.5377 GB, free: 46.65 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 7.133e-06/0.5671, allocations: 0 / 0.5377 GB, free: 46.65 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001121/0.5683, allocations: 413.9 kB / 0.5381 GB, free: 46.52 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002109/0.5704, allocations: 190.9 kB / 0.5383 GB, free: 46.45 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009512/0.5799, allocations: 2.705 MB / 0.541 GB, free: 45.11 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002238/0.5822, allocations: 1.254 MB / 0.5422 GB, free: 44.33 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.002657/0.5849, allocations: 419 kB / 0.5426 GB, free: 44.29 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005954/0.5856, allocations: 82.81 kB / 0.5427 GB, free: 44.28 MB / 414.1 MB Notification: Performance of SimCode: time 1.914e-06/0.5856, allocations: 0 / 0.5427 GB, free: 44.28 MB / 414.1 MB Notification: Performance of Templates: time 0.03706/0.6227, allocations: 11.08 MB / 0.5535 GB, free: 40.89 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)