Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.Generic.Network.NetworkLoop.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.001359/0.001359, allocations: 116.8 kB / 18.41 MB, free: 4.668 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.001351/0.001351, allocations: 190.9 kB / 21.35 MB, free: 1.734 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.432/1.432, allocations: 222.9 MB / 247 MB, free: 4.332 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.2828/0.2828, allocations: 38.01 MB / 337.2 MB, free: 12.97 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,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.Generic.Network.NetworkLoop") translateModel(PowerSystems.Examples.Generic.Network.NetworkLoop,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.Generic.Network.NetworkLoop") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001964/0.001964, allocations: 68.66 kB / 467.5 MB, free: 27.59 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1066/0.1086, allocations: 58.07 MB / 0.5133 GB, free: 9.754 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Generic.Network.NetworkLoop): time 0.008709/0.1173, allocations: 7.406 MB / 0.5205 GB, free: 2.312 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.006304/0.1236, allocations: 4.389 MB / 0.5248 GB, free: 13.91 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004671/0.1242, allocations: 12 kB / 0.5248 GB, free: 13.89 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002588/0.1268, allocations: 1.039 MB / 0.5258 GB, free: 12.85 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002721/0.1295, allocations: 1.199 MB / 0.527 GB, free: 11.65 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008797/0.1304, allocations: 323.1 kB / 0.5273 GB, free: 11.33 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.001717/0.1321, allocations: 1.399 MB / 0.5287 GB, free: 9.93 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001013/0.1331, allocations: 0.6572 MB / 0.5293 GB, free: 9.266 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001062/0.1342, allocations: 0.6225 MB / 0.5299 GB, free: 8.641 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009556/0.1352, allocations: 0.6775 MB / 0.5306 GB, free: 7.961 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001041/0.1353, allocations: 64 kB / 0.5306 GB, free: 7.898 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002372/0.1377, allocations: 1.329 MB / 0.5319 GB, free: 6.566 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005159/0.1382, allocations: 475 kB / 0.5324 GB, free: 6.102 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000527/0.1387, allocations: 441.9 kB / 0.5328 GB, free: 5.668 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002287/0.141, allocations: 1.464 MB / 0.5342 GB, free: 4.199 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.789e-06/0.1411, allocations: 4 kB / 0.5342 GB, free: 4.195 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.603e-06/0.1411, allocations: 0 / 0.5342 GB, free: 4.195 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.662e-05/0.1411, allocations: 3.938 kB / 0.5342 GB, free: 4.191 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: 203 * Number of variables: 203 Notification: Performance of Generate backend data structure: time 0.0018/0.1429, allocations: 1.149 MB / 0.5354 GB, free: 2.984 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.915e-05/0.143, allocations: 11.89 kB / 0.5354 GB, free: 2.973 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003116/0.1461, allocations: 391.9 kB / 0.5357 GB, free: 2.59 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000838/0.1469, allocations: 494.9 kB / 0.5362 GB, free: 2.07 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.739e-05/0.147, allocations: 54.36 kB / 0.5363 GB, free: 2.02 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001864/0.1472, allocations: 76.31 kB / 0.5363 GB, free: 1.945 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001965/0.1492, allocations: 1.176 MB / 0.5375 GB, free: 0.7422 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.955e-05/0.1492, allocations: 4 kB / 0.5375 GB, free: 0.7383 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.247e-05/0.1493, allocations: 27.98 kB / 0.5375 GB, free: 0.7109 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001209/0.1494, allocations: 77.89 kB / 0.5376 GB, free: 0.6367 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002006/0.1514, allocations: 1.241 MB / 0.5388 GB, free: 15.39 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005558/0.157, allocations: 3.5 MB / 0.5422 GB, free: 11.8 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001784/0.1588, allocations: 1.058 MB / 0.5433 GB, free: 10.72 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009571/0.1598, allocations: 0.6682 MB / 0.5439 GB, free: 10.05 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.186e-05/0.1599, allocations: 12.98 kB / 0.5439 GB, free: 10.04 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.631e-05/0.1599, allocations: 47.56 kB / 0.544 GB, free: 9.98 MB / 414.1 MB Notification: Performance of pre-optimization done (n=91): time 2.615e-06/0.1599, allocations: 0 / 0.544 GB, free: 9.98 MB / 414.1 MB Notification: Performance of matching and sorting (n=92): time 0.007109/0.1671, allocations: 3.1 MB / 0.547 GB, free: 6.855 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.875e-05/0.1672, allocations: 90.11 kB / 0.5471 GB, free: 6.746 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004358/0.1676, allocations: 361.6 kB / 0.5474 GB, free: 6.387 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 6.513e-05/0.1677, allocations: 45.64 kB / 0.5475 GB, free: 6.336 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002343/0.1679, allocations: 328.9 kB / 0.5478 GB, free: 6.008 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002909/0.1682, allocations: 325.2 kB / 0.5481 GB, free: 5.688 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002656/0.1685, allocations: 162.6 kB / 0.5483 GB, free: 5.523 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001821/0.1687, allocations: 366.8 kB / 0.5486 GB, free: 5.156 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007146/0.1694, allocations: 465.7 kB / 0.549 GB, free: 4.703 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008038/0.1702, allocations: 0.5696 MB / 0.5496 GB, free: 4.102 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001662/0.1719, allocations: 1.117 MB / 0.5507 GB, free: 2.957 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.775e-06/0.1719, allocations: 0 / 0.5507 GB, free: 2.957 MB / 414.1 MB Notification: Performance of matching and sorting (n=107) (initialization): time 0.00264/0.1745, allocations: 1.473 MB / 0.5521 GB, free: 1.473 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.178e-05/0.1746, allocations: 7.984 kB / 0.5521 GB, free: 1.465 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.216e-06/0.1746, allocations: 4 kB / 0.5521 GB, free: 1.461 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009795/0.1756, allocations: 337.9 kB / 0.5525 GB, free: 1.129 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007276/0.1763, allocations: 187.7 kB / 0.5526 GB, free: 0.9453 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005761/0.1821, allocations: 4.183 MB / 0.5567 GB, free: 12.59 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005674/0.1827, allocations: 43.95 kB / 0.5568 GB, free: 12.55 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.97e-05/0.1828, allocations: 40.05 kB / 0.5568 GB, free: 12.51 MB / 430.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * 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 (80): * Single equations (assignments): 79 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(2,26,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0004475/0.1832, allocations: 293.5 kB / 0.5571 GB, free: 12.21 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001276/0.1834, allocations: 63.62 kB / 0.5572 GB, free: 12.15 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002904/0.1863, allocations: 1.571 MB / 0.5587 GB, free: 10.57 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.412e-05/0.1863, allocations: 12 kB / 0.5587 GB, free: 10.55 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.714e-06/0.1863, allocations: 4 kB / 0.5587 GB, free: 10.55 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.407e-05/0.1863, allocations: 7.969 kB / 0.5587 GB, free: 10.54 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.005242/0.1916, allocations: 3.031 MB / 0.5617 GB, free: 7.387 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.036e-05/0.1916, allocations: 4 kB / 0.5617 GB, free: 7.383 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006434/0.1923, allocations: 167.7 kB / 0.5618 GB, free: 7.219 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008233/0.1931, allocations: 280.9 kB / 0.5621 GB, free: 6.941 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.808e-05/0.1932, allocations: 31.98 kB / 0.5621 GB, free: 6.91 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005351/0.1985, allocations: 3.908 MB / 0.5659 GB, free: 2.852 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.23e-06/0.1986, allocations: 4 kB / 0.5659 GB, free: 2.848 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002673/0.2013, allocations: 1.598 MB / 0.5675 GB, free: 1.184 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001967/0.2015, allocations: 152.6 kB / 0.5677 GB, free: 1.016 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.73e-05/0.2016, allocations: 20 kB / 0.5677 GB, free: 0.9961 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004515/0.202, allocations: 47.88 kB / 0.5677 GB, free: 0.9492 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001732/0.2022, allocations: 84.83 kB / 0.5678 GB, free: 0.8633 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.223e-05/0.2023, allocations: 39.98 kB / 0.5678 GB, free: 0.8242 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0003009/0.2026, allocations: 255.1 kB / 0.5681 GB, free: 0.5781 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.2026, allocations: 0 / 0.5681 GB, free: 0.5781 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0009459/0.2036, allocations: 308 kB / 0.5684 GB, free: 284 kB / 430.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 (82): * Single equations (assignments): 80 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(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.0001758/0.2038, allocations: 127.1 kB / 0.5685 GB, free: 144 kB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.002355/0.2061, allocations: 1.409 MB / 0.5699 GB, free: 14.72 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.887e-06/0.2062, allocations: 0 / 0.5699 GB, free: 14.72 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001316/0.2075, allocations: 0.8438 MB / 0.5707 GB, free: 13.86 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007109/0.2082, allocations: 119.2 kB / 0.5708 GB, free: 13.76 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003045/0.2113, allocations: 1.895 MB / 0.5727 GB, free: 11.78 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007993/0.2121, allocations: 1.068 MB / 0.5737 GB, free: 10.68 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002747/0.2124, allocations: 71.39 kB / 0.5738 GB, free: 10.61 MB / 446.1 MB Notification: Performance of SimCode: time 4.91e-07/0.2124, allocations: 0 / 0.5738 GB, free: 10.61 MB / 446.1 MB Notification: Performance of Templates: time 0.2342/0.4465, allocations: 12.19 MB / 0.5857 GB, free: 64.39 MB / 446.1 MB " [Timeout remaining time 660] make -j1 -f PowerSystems_PowerSystems.Examples.Generic.Network.NetworkLoop.makefile [Timeout 660] (rm -f PowerSystems_PowerSystems.Examples.Generic.Network.NetworkLoop.pipe ; mkfifo PowerSystems_PowerSystems.Examples.Generic.Network.NetworkLoop.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.Generic.Network.NetworkLoop.pipe >> ../files/PowerSystems_PowerSystems.Examples.Generic.Network.NetworkLoop.sim & ./PowerSystems_PowerSystems.Examples.Generic.Network.NetworkLoop -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.Generic.Network.NetworkLoop.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 8.270077185006812] Failed to read output from testmodel.py, exit status != 0: 0.4534402450080961 0.46484270699999997 0.321453507 Calling exit ...