Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.Generic.Network.NetworkOpened.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.001306/0.001306, allocations: 123.4 kB / 18.41 MB, free: 4.527 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.001668/0.001668, allocations: 192.3 kB / 21.34 MB, free: 1.605 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.414/1.414, 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.293/0.293, allocations: 38.02 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.NetworkOpened,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.Generic.Network.NetworkOpened") translateModel(PowerSystems.Examples.Generic.Network.NetworkOpened,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.Generic.Network.NetworkOpened") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001966/0.001966, allocations: 72.53 kB / 467.5 MB, free: 27.43 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1074/0.1094, allocations: 58.07 MB / 0.5133 GB, free: 9.629 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Generic.Network.NetworkOpened): time 0.00945/0.1189, allocations: 7.681 MB / 0.5208 GB, free: 1.914 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.007188/0.1261, allocations: 4.732 MB / 0.5254 GB, free: 13.16 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000734/0.1269, allocations: 19.94 kB / 0.5254 GB, free: 13.14 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002994/0.13, allocations: 1.085 MB / 0.5265 GB, free: 12.06 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003373/0.1333, allocations: 1.261 MB / 0.5277 GB, free: 10.79 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001001/0.1343, allocations: 359 kB / 0.528 GB, free: 10.44 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.002162/0.1365, allocations: 1.469 MB / 0.5295 GB, free: 8.969 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001014/0.1375, allocations: 0.6694 MB / 0.5301 GB, free: 8.293 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001175/0.1387, allocations: 0.642 MB / 0.5308 GB, free: 7.648 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009959/0.1397, allocations: 0.7047 MB / 0.5315 GB, free: 6.941 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001031/0.1399, allocations: 64 kB / 0.5315 GB, free: 6.879 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002708/0.1426, allocations: 1.43 MB / 0.5329 GB, free: 5.445 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005539/0.1431, allocations: 490.9 kB / 0.5334 GB, free: 4.965 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005621/0.1437, allocations: 457.8 kB / 0.5338 GB, free: 4.516 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002614/0.1463, allocations: 1.546 MB / 0.5353 GB, free: 2.965 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.326e-06/0.1463, allocations: 4 kB / 0.5353 GB, free: 2.961 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.593e-06/0.1464, allocations: 0 / 0.5353 GB, free: 2.961 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.485e-05/0.1464, allocations: 0 / 0.5353 GB, free: 2.961 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: 212 * Number of variables: 212 Notification: Performance of Generate backend data structure: time 0.001849/0.1482, allocations: 1.192 MB / 0.5365 GB, free: 1.711 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.5e-05/0.1483, allocations: 15.89 kB / 0.5365 GB, free: 1.695 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003246/0.1515, allocations: 411.8 kB / 0.5369 GB, free: 1.293 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007745/0.1523, allocations: 0.4956 MB / 0.5374 GB, free: 0.7617 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.196e-05/0.1524, allocations: 54.36 kB / 0.5374 GB, free: 0.7109 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001344/0.1525, allocations: 84.22 kB / 0.5375 GB, free: 0.6289 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001964/0.1545, allocations: 1.235 MB / 0.5387 GB, free: 15.37 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.924e-05/0.1546, allocations: 3.953 kB / 0.5387 GB, free: 15.36 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.328e-05/0.1547, allocations: 35.97 kB / 0.5388 GB, free: 15.33 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001068/0.1548, allocations: 81.89 kB / 0.5388 GB, free: 15.25 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002058/0.1568, allocations: 1.308 MB / 0.5401 GB, free: 13.94 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005955/0.1628, allocations: 3.678 MB / 0.5437 GB, free: 10.16 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001929/0.1648, allocations: 1.081 MB / 0.5448 GB, free: 9.055 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009252/0.1657, allocations: 0.6448 MB / 0.5454 GB, free: 8.402 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.316e-05/0.1658, allocations: 21.12 kB / 0.5454 GB, free: 8.383 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.097e-05/0.1658, allocations: 47.5 kB / 0.5455 GB, free: 8.328 MB / 414.1 MB Notification: Performance of pre-optimization done (n=92): time 3.767e-06/0.1658, allocations: 0 / 0.5455 GB, free: 8.328 MB / 414.1 MB Notification: Performance of matching and sorting (n=93): time 0.007506/0.1734, allocations: 3.17 MB / 0.5486 GB, free: 5.133 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.589e-05/0.1735, allocations: 86.11 kB / 0.5486 GB, free: 5.027 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000468/0.1739, allocations: 377.6 kB / 0.549 GB, free: 4.652 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 6.789e-05/0.174, allocations: 45.64 kB / 0.549 GB, free: 4.602 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000259/0.1743, allocations: 328.9 kB / 0.5494 GB, free: 4.273 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003154/0.1746, allocations: 337.1 kB / 0.5497 GB, free: 3.941 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002812/0.1749, allocations: 162.7 kB / 0.5498 GB, free: 3.777 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002048/0.1751, allocations: 366.8 kB / 0.5502 GB, free: 3.41 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007332/0.1759, allocations: 469.7 kB / 0.5506 GB, free: 2.953 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008403/0.1767, allocations: 0.5704 MB / 0.5512 GB, free: 2.348 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001757/0.1785, allocations: 1.11 MB / 0.5523 GB, free: 1.207 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.171e-06/0.1785, allocations: 4 kB / 0.5523 GB, free: 1.203 MB / 414.1 MB Notification: Performance of matching and sorting (n=109) (initialization): time 0.00282/0.1813, allocations: 1.485 MB / 0.5537 GB, free: 15.71 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.892e-05/0.1814, allocations: 8 kB / 0.5537 GB, free: 15.7 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.307e-05/0.1814, allocations: 7.938 kB / 0.5537 GB, free: 15.69 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001045/0.1824, allocations: 338 kB / 0.5541 GB, free: 15.36 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007318/0.1832, allocations: 183.7 kB / 0.5542 GB, free: 15.18 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006066/0.1893, allocations: 4.175 MB / 0.5583 GB, free: 10.84 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000582/0.1899, allocations: 51.94 kB / 0.5584 GB, free: 10.79 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.085e-05/0.19, allocations: 40.05 kB / 0.5584 GB, free: 10.75 MB / 430.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * 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 (82): * Single equations (assignments): 81 * 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.0004722/0.1904, allocations: 301.5 kB / 0.5587 GB, free: 10.45 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001303/0.1906, allocations: 67.61 kB / 0.5588 GB, free: 10.38 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002858/0.1934, allocations: 1.547 MB / 0.5603 GB, free: 8.816 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.491e-05/0.1935, allocations: 12 kB / 0.5603 GB, free: 8.805 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.165e-06/0.1935, allocations: 4 kB / 0.5603 GB, free: 8.801 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.621e-05/0.1935, allocations: 3.984 kB / 0.5603 GB, free: 8.797 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.005398/0.1989, allocations: 3.015 MB / 0.5632 GB, free: 5.652 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.824e-06/0.1989, allocations: 4 kB / 0.5632 GB, free: 5.648 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006424/0.1996, allocations: 163.8 kB / 0.5634 GB, free: 5.488 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008918/0.2005, allocations: 284.9 kB / 0.5637 GB, free: 5.207 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.405e-05/0.2006, allocations: 27.92 kB / 0.5637 GB, free: 5.18 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005435/0.206, allocations: 3.904 MB / 0.5675 GB, free: 1.125 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.607e-06/0.206, allocations: 7.938 kB / 0.5675 GB, free: 1.117 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002683/0.2087, allocations: 1.579 MB / 0.569 GB, free: 15.47 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001961/0.2089, allocations: 152.6 kB / 0.5692 GB, free: 15.3 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.203e-05/0.209, allocations: 20 kB / 0.5692 GB, free: 15.29 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004454/0.2095, allocations: 43.95 kB / 0.5693 GB, free: 15.24 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001556/0.2096, allocations: 84.77 kB / 0.5693 GB, free: 15.16 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.243e-05/0.2097, allocations: 36 kB / 0.5694 GB, free: 15.12 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0003157/0.21, allocations: 263.1 kB / 0.5696 GB, free: 14.87 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.81e-07/0.21, allocations: 0 / 0.5696 GB, free: 14.87 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.000967/0.211, allocations: 312 kB / 0.5699 GB, free: 14.56 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 (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.0001824/0.2112, allocations: 127 kB / 0.57 GB, free: 14.43 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.00237/0.2136, allocations: 1.402 MB / 0.5714 GB, free: 13.02 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 7.675e-06/0.2136, allocations: 0 / 0.5714 GB, free: 13.02 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001376/0.215, allocations: 0.8515 MB / 0.5722 GB, free: 12.15 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000708/0.2157, allocations: 115.6 kB / 0.5723 GB, free: 12.05 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00323/0.219, allocations: 1.908 MB / 0.5742 GB, free: 10.05 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008841/0.2199, allocations: 1.079 MB / 0.5753 GB, free: 8.945 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002777/0.2202, allocations: 71.39 kB / 0.5753 GB, free: 8.875 MB / 446.1 MB Notification: Performance of SimCode: time 1.112e-06/0.2202, allocations: 4 kB / 0.5753 GB, free: 8.871 MB / 446.1 MB Notification: Performance of Templates: time 0.2335/0.4537, allocations: 12.49 MB / 0.5875 GB, free: 64.81 MB / 446.1 MB " [Timeout remaining time 660] make -j1 -f PowerSystems_PowerSystems.Examples.Generic.Network.NetworkOpened.makefile [Timeout 660] (rm -f PowerSystems_PowerSystems.Examples.Generic.Network.NetworkOpened.pipe ; mkfifo PowerSystems_PowerSystems.Examples.Generic.Network.NetworkOpened.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.Generic.Network.NetworkOpened.pipe >> ../files/PowerSystems_PowerSystems.Examples.Generic.Network.NetworkOpened.sim & ./PowerSystems_PowerSystems.Examples.Generic.Network.NetworkOpened -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.Generic.Network.NetworkOpened.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 8.639359163003974] Failed to read output from testmodel.py, exit status != 0: 0.46012073603924364 0.47270420799999996 0.32393488 Calling exit ...