Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.Generic.Network.NetworkLoop_dq0.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001338/0.001338, allocations: 119.4 kB / 18.41 MB, free: 4.637 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001334/0.001334, allocations: 192.3 kB / 21.35 MB, free: 1.699 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.422/1.422, allocations: 222.9 MB / 247.1 MB, free: 4.328 MB / 190.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.2837/0.2837, allocations: 38.01 MB / 337.2 MB, free: 12.98 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.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: translateModel(PowerSystems.Examples.Generic.Network.NetworkLoop_dq0,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.Generic.Network.NetworkLoop_dq0") translateModel(PowerSystems.Examples.Generic.Network.NetworkLoop_dq0,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.Generic.Network.NetworkLoop_dq0") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001965/0.001965, allocations: 68.42 kB / 467.5 MB, free: 27.6 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09703/0.09901, allocations: 58.07 MB / 0.5133 GB, free: 9.719 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Generic.Network.NetworkLoop_dq0): time 0.008879/0.1079, allocations: 7.429 MB / 0.5205 GB, free: 2.254 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.006314/0.1143, allocations: 4.432 MB / 0.5249 GB, free: 13.8 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000321/0.1146, allocations: 12 kB / 0.5249 GB, free: 13.79 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002556/0.1172, allocations: 1.039 MB / 0.5259 GB, free: 12.75 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002798/0.12, allocations: 1.269 MB / 0.5271 GB, free: 11.48 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008673/0.1209, allocations: 351 kB / 0.5275 GB, free: 11.13 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.001562/0.1225, allocations: 1.395 MB / 0.5288 GB, free: 9.734 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001118/0.1236, allocations: 0.8047 MB / 0.5296 GB, free: 8.914 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008484/0.1245, allocations: 0.6381 MB / 0.5302 GB, free: 8.273 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009242/0.1254, allocations: 0.7399 MB / 0.531 GB, free: 7.531 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001199/0.1255, allocations: 80 kB / 0.531 GB, free: 7.453 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002595/0.1281, allocations: 1.52 MB / 0.5325 GB, free: 5.93 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006024/0.1287, allocations: 0.604 MB / 0.5331 GB, free: 5.324 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006124/0.1294, allocations: 0.5639 MB / 0.5337 GB, free: 4.758 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002497/0.1319, allocations: 1.892 MB / 0.5355 GB, free: 2.859 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.807e-06/0.1319, allocations: 0 / 0.5355 GB, free: 2.859 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.392e-06/0.1319, allocations: 0 / 0.5355 GB, free: 2.859 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.258e-05/0.1319, allocations: 0 / 0.5355 GB, free: 2.859 MB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 267 * Number of variables: 267 Notification: Performance of Generate backend data structure: time 0.002111/0.134, allocations: 1.367 MB / 0.5369 GB, free: 1.438 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.376e-05/0.1341, allocations: 15.89 kB / 0.5369 GB, free: 1.422 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003952/0.138, allocations: 0.5464 MB / 0.5374 GB, free: 0.875 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008736/0.1389, allocations: 0.564 MB / 0.5379 GB, free: 276 kB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.916e-05/0.139, allocations: 66.36 kB / 0.538 GB, free: 212 kB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001661/0.1392, allocations: 92.3 kB / 0.5381 GB, free: 120 kB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002443/0.1416, allocations: 1.505 MB / 0.5396 GB, free: 14.57 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.998e-05/0.1417, allocations: 4 kB / 0.5396 GB, free: 14.57 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001144/0.1418, allocations: 39.98 kB / 0.5396 GB, free: 14.53 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001256/0.1419, allocations: 102 kB / 0.5397 GB, free: 14.43 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002547/0.1445, allocations: 1.538 MB / 0.5412 GB, free: 12.88 MB / 414.1 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00787/0.1523, allocations: 4.901 MB / 0.546 GB, free: 7.77 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00192/0.1543, allocations: 1.18 MB / 0.5471 GB, free: 6.57 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001139/0.1554, allocations: 0.7696 MB / 0.5479 GB, free: 5.797 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.345e-05/0.1555, allocations: 21.03 kB / 0.5479 GB, free: 5.777 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.668e-05/0.1556, allocations: 51.56 kB / 0.548 GB, free: 5.715 MB / 414.1 MB Notification: Performance of pre-optimization done (n=107): time 2.805e-06/0.1556, allocations: 0 / 0.548 GB, free: 5.715 MB / 414.1 MB Notification: Performance of matching and sorting (n=108): time 0.008291/0.1639, allocations: 3.703 MB / 0.5516 GB, free: 1.961 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.064e-05/0.164, allocations: 90.11 kB / 0.5517 GB, free: 1.855 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006197/0.1646, allocations: 469.8 kB / 0.5521 GB, free: 1.387 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 6.703e-05/0.1647, allocations: 45.7 kB / 0.5522 GB, free: 1.336 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000332/0.165, allocations: 432.7 kB / 0.5526 GB, free: 0.9062 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003932/0.1654, allocations: 396.6 kB / 0.553 GB, free: 0.5156 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000342/0.1658, allocations: 198.9 kB / 0.5531 GB, free: 324 kB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002165/0.166, allocations: 386.8 kB / 0.5535 GB, free: 15.93 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008919/0.1669, allocations: 0.5335 MB / 0.554 GB, free: 15.39 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001106/0.168, allocations: 0.7578 MB / 0.5548 GB, free: 14.56 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002136/0.1702, allocations: 1.396 MB / 0.5561 GB, free: 13.09 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.701e-06/0.1702, allocations: 3.938 kB / 0.5561 GB, free: 13.08 MB / 430.1 MB Notification: Performance of matching and sorting (n=139) (initialization): time 0.00334/0.1735, allocations: 1.81 MB / 0.5579 GB, free: 11.26 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.246e-05/0.1736, allocations: 4 kB / 0.5579 GB, free: 11.25 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.179e-05/0.1736, allocations: 8 kB / 0.5579 GB, free: 11.25 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001203/0.1748, allocations: 413.4 kB / 0.5583 GB, free: 10.84 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009637/0.1758, allocations: 231.7 kB / 0.5585 GB, free: 10.61 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008079/0.1839, allocations: 6.074 MB / 0.5645 GB, free: 4.234 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008917/0.1848, allocations: 63.92 kB / 0.5645 GB, free: 4.172 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001145/0.1849, allocations: 40 kB / 0.5646 GB, free: 4.133 MB / 430.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 26 * 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 (105): * Single equations (assignments): 103 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(2,26,100.0%), (1,7,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0006429/0.1856, allocations: 377.4 kB / 0.5649 GB, free: 3.754 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001641/0.1857, allocations: 75.53 kB / 0.565 GB, free: 3.68 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003533/0.1893, allocations: 1.807 MB / 0.5668 GB, free: 1.859 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.732e-05/0.1893, allocations: 12 kB / 0.5668 GB, free: 1.848 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.939e-06/0.1893, allocations: 11.88 kB / 0.5668 GB, free: 1.836 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.691e-05/0.1894, allocations: 15.95 kB / 0.5668 GB, free: 1.82 MB / 430.1 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006282/0.1956, allocations: 3.462 MB / 0.5702 GB, free: 14.22 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.937e-06/0.1957, allocations: 11.97 kB / 0.5702 GB, free: 14.21 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007793/0.1965, allocations: 187.8 kB / 0.5704 GB, free: 14.03 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001032/0.1975, allocations: 349.4 kB / 0.5707 GB, free: 13.68 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.56e-05/0.1976, allocations: 27.94 kB / 0.5707 GB, free: 13.65 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007817/0.2054, allocations: 5.783 MB / 0.5764 GB, free: 7.578 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.953e-06/0.2055, allocations: 8 kB / 0.5764 GB, free: 7.57 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003228/0.2087, allocations: 1.829 MB / 0.5782 GB, free: 5.672 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002589/0.209, allocations: 164.6 kB / 0.5783 GB, free: 5.492 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001305/0.2091, allocations: 27.98 kB / 0.5784 GB, free: 5.465 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006007/0.2097, allocations: 51.95 kB / 0.5784 GB, free: 5.414 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000214/0.21, allocations: 96.73 kB / 0.5785 GB, free: 5.32 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.347e-05/0.21, allocations: 36 kB / 0.5785 GB, free: 5.285 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0004381/0.2105, allocations: 331 kB / 0.5788 GB, free: 4.961 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.2105, allocations: 0 / 0.5788 GB, free: 4.961 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001284/0.2118, allocations: 396 kB / 0.5792 GB, free: 4.574 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * 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 simulation (91): * Single equations (assignments): 88 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,7,100.0%), (2,24,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002486/0.2121, allocations: 138.9 kB / 0.5794 GB, free: 4.43 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.003087/0.2151, allocations: 1.76 MB / 0.5811 GB, free: 2.648 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 5.21e-06/0.2152, allocations: 0 / 0.5811 GB, free: 2.648 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001784/0.217, allocations: 1.077 MB / 0.5821 GB, free: 1.551 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008793/0.2179, allocations: 128.5 kB / 0.5823 GB, free: 1.426 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2205/0.4384, allocations: 2.332 MB / 0.5845 GB, free: 64.55 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008709/0.4393, allocations: 1.164 MB / 0.5857 GB, free: 63.86 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004007/0.4397, allocations: 77.64 kB / 0.5857 GB, free: 63.85 MB / 446.1 MB Notification: Performance of SimCode: time 5.21e-07/0.4397, allocations: 2.188 kB / 0.5857 GB, free: 63.85 MB / 446.1 MB Notification: Performance of Templates: time 0.02601/0.4657, allocations: 18.16 MB / 0.6035 GB, free: 58.07 MB / 446.1 MB " [Timeout remaining time 660] make -j1 -f PowerSystems_PowerSystems.Examples.Generic.Network.NetworkLoop_dq0.makefile [Timeout 660] (rm -f PowerSystems_PowerSystems.Examples.Generic.Network.NetworkLoop_dq0.pipe ; mkfifo PowerSystems_PowerSystems.Examples.Generic.Network.NetworkLoop_dq0.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.Generic.Network.NetworkLoop_dq0.pipe >> ../files/PowerSystems_PowerSystems.Examples.Generic.Network.NetworkLoop_dq0.sim & ./PowerSystems_PowerSystems.Examples.Generic.Network.NetworkLoop_dq0 -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.Generic.Network.NetworkLoop_dq0.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 9.37952569394838] Failed to read output from testmodel.py, exit status != 0: 0.4720102909486741 0.48074508499999996 0.347029624 Calling exit ...