Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.Generic.Network.NetworkLoop_d.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.00134/0.00134, allocations: 117 kB / 18.41 MB, free: 4.664 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.001308/0.001308, allocations: 186.9 kB / 21.34 MB, free: 1.738 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.49/1.49, allocations: 222.9 MB / 247 MB, free: 4.227 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.3049/0.3049, allocations: 38.01 MB / 337.2 MB, free: 12.91 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_d,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.Generic.Network.NetworkLoop_d") translateModel(PowerSystems.Examples.Generic.Network.NetworkLoop_d,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.Generic.Network.NetworkLoop_d") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001949/0.00195, allocations: 68.59 kB / 467.5 MB, free: 27.53 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1053/0.1073, allocations: 58.07 MB / 0.5133 GB, free: 9.73 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Generic.Network.NetworkLoop_d): time 0.009386/0.1167, allocations: 7.55 MB / 0.5207 GB, free: 2.145 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.006238/0.123, allocations: 4.156 MB / 0.5247 GB, free: 13.97 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005065/0.1235, allocations: 15.94 kB / 0.5247 GB, free: 13.96 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002757/0.1263, allocations: 1.034 MB / 0.5257 GB, free: 12.92 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002836/0.1291, allocations: 1.098 MB / 0.5268 GB, free: 11.82 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008298/0.13, allocations: 303.2 kB / 0.5271 GB, free: 11.52 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.001767/0.1318, allocations: 1.367 MB / 0.5284 GB, free: 10.15 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007784/0.1326, allocations: 459.9 kB / 0.5289 GB, free: 9.695 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009777/0.1335, allocations: 0.5678 MB / 0.5294 GB, free: 9.125 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008951/0.1345, allocations: 0.58 MB / 0.53 GB, free: 8.543 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 7.288e-05/0.1345, allocations: 36 kB / 0.53 GB, free: 8.508 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001789/0.1363, allocations: 0.9895 MB / 0.531 GB, free: 7.516 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003185/0.1367, allocations: 267.3 kB / 0.5313 GB, free: 7.254 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003059/0.137, allocations: 242.9 kB / 0.5315 GB, free: 7.016 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001389/0.1384, allocations: 0.8252 MB / 0.5323 GB, free: 6.188 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.226e-06/0.1384, allocations: 3.938 kB / 0.5323 GB, free: 6.184 MB / 398.1 MB Notification: Performance of FrontEnd: time 8.92e-07/0.1384, allocations: 0 / 0.5323 GB, free: 6.184 MB / 398.1 MB Notification: Performance of Transformations before backend: time 8.746e-06/0.1384, allocations: 0 / 0.5323 GB, free: 6.184 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: 101 * Number of variables: 101 Notification: Performance of Generate backend data structure: time 0.001299/0.1397, allocations: 0.8182 MB / 0.5331 GB, free: 5.312 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.957e-05/0.1398, allocations: 19.89 kB / 0.5331 GB, free: 5.293 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001604/0.1414, allocations: 136.5 kB / 0.5332 GB, free: 5.16 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005602/0.142, allocations: 330.7 kB / 0.5336 GB, free: 4.797 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.375e-05/0.142, allocations: 29.36 kB / 0.5336 GB, free: 4.77 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.796e-05/0.1421, allocations: 44.36 kB / 0.5336 GB, free: 4.727 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009098/0.143, allocations: 0.5869 MB / 0.5342 GB, free: 4.074 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.022e-05/0.143, allocations: 3.938 kB / 0.5342 GB, free: 4.07 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.627e-05/0.1431, allocations: 15.98 kB / 0.5342 GB, free: 4.055 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.65e-05/0.1431, allocations: 36.62 kB / 0.5343 GB, free: 4.02 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006164/0.1438, allocations: 390.1 kB / 0.5346 GB, free: 3.637 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002781/0.1465, allocations: 2.596 MB / 0.5372 GB, free: 0.9141 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000746/0.1473, allocations: 431.8 kB / 0.5376 GB, free: 476 kB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003095/0.1476, allocations: 209.8 kB / 0.5378 GB, free: 260 kB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.202e-05/0.1477, allocations: 11.98 kB / 0.5378 GB, free: 248 kB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.194e-05/0.1477, allocations: 42.5 kB / 0.5378 GB, free: 196 kB / 398.1 MB Notification: Performance of pre-optimization done (n=33): time 2.124e-06/0.1477, allocations: 0 / 0.5378 GB, free: 196 kB / 398.1 MB Notification: Performance of matching and sorting (n=33): time 0.001888/0.1496, allocations: 0.7612 MB / 0.5386 GB, free: 15.4 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.361e-05/0.1497, allocations: 110.8 kB / 0.5387 GB, free: 15.27 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003743/0.1501, allocations: 320.6 kB / 0.539 GB, free: 14.95 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.162e-05/0.1501, allocations: 33.95 kB / 0.539 GB, free: 14.91 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002014/0.1503, allocations: 256.3 kB / 0.5393 GB, free: 14.66 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001258/0.1505, allocations: 119 kB / 0.5394 GB, free: 14.54 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001252/0.1506, allocations: 90.02 kB / 0.5395 GB, free: 14.44 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001771/0.1508, allocations: 346.8 kB / 0.5398 GB, free: 14.09 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002448/0.151, allocations: 128.8 kB / 0.5399 GB, free: 13.97 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000342/0.1514, allocations: 279.4 kB / 0.5402 GB, free: 13.63 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006048/0.152, allocations: 452.2 kB / 0.5406 GB, free: 13.12 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.64e-06/0.152, allocations: 3.984 kB / 0.5406 GB, free: 13.12 MB / 414.1 MB Notification: Performance of matching and sorting (n=54) (initialization): time 0.0009399/0.153, allocations: 0.5623 MB / 0.5412 GB, free: 12.55 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.84e-05/0.153, allocations: 10.47 kB / 0.5412 GB, free: 12.54 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.535e-05/0.153, allocations: 12 kB / 0.5412 GB, free: 12.53 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003605/0.1534, allocations: 112.8 kB / 0.5413 GB, free: 12.41 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002591/0.1536, allocations: 79.84 kB / 0.5414 GB, free: 12.34 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003047/0.1567, allocations: 2.563 MB / 0.5439 GB, free: 9.629 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002521/0.157, allocations: 47.61 kB / 0.5439 GB, free: 9.582 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.052e-05/0.157, allocations: 20 kB / 0.5439 GB, free: 9.562 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 22 * 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 (41): * Single equations (assignments): 40 * 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 {(1,13,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002504/0.1573, allocations: 197.6 kB / 0.5441 GB, free: 9.359 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.355e-05/0.1574, allocations: 39.75 kB / 0.5442 GB, free: 9.32 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.736e-05/0.1575, allocations: 51.95 kB / 0.5442 GB, free: 9.27 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.599e-06/0.1575, allocations: 8.062 kB / 0.5442 GB, free: 9.262 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.806e-06/0.1575, allocations: 4 kB / 0.5442 GB, free: 9.258 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.871e-06/0.1575, allocations: 3.938 kB / 0.5442 GB, free: 9.254 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001458/0.159, allocations: 0.9456 MB / 0.5451 GB, free: 8.242 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.116e-06/0.159, allocations: 0 / 0.5451 GB, free: 8.242 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001465/0.1591, allocations: 31.98 kB / 0.5452 GB, free: 8.211 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002802/0.1594, allocations: 116.7 kB / 0.5453 GB, free: 8.094 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.216e-05/0.1595, allocations: 4 kB / 0.5453 GB, free: 8.09 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002919/0.1624, allocations: 2.557 MB / 0.5478 GB, free: 5.375 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.218e-06/0.1624, allocations: 4.031 kB / 0.5478 GB, free: 5.371 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009088/0.1633, allocations: 0.6306 MB / 0.5484 GB, free: 4.711 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001184/0.1634, allocations: 112.8 kB / 0.5485 GB, free: 4.582 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.458e-05/0.1635, allocations: 11.94 kB / 0.5485 GB, free: 4.57 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001986/0.1637, allocations: 11.98 kB / 0.5485 GB, free: 4.559 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.468e-05/0.1638, allocations: 23.97 kB / 0.5486 GB, free: 4.535 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.088e-05/0.1638, allocations: 12 kB / 0.5486 GB, free: 4.523 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0002633/0.1641, allocations: 223 kB / 0.5488 GB, free: 4.309 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.1641, allocations: 0 / 0.5488 GB, free: 4.309 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0006882/0.1648, allocations: 155.8 kB / 0.5489 GB, free: 4.156 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * 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 (20): * Single equations (assignments): 18 * 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 {(1,13,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001499/0.1649, allocations: 111.1 kB / 0.549 GB, free: 4.039 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0009175/0.1658, allocations: 0.5064 MB / 0.5495 GB, free: 3.52 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.695e-06/0.1659, allocations: 0 / 0.5495 GB, free: 3.52 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005084/0.1664, allocations: 363.3 kB / 0.5499 GB, free: 3.152 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005688/0.167, allocations: 60.92 kB / 0.5499 GB, free: 3.094 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001461/0.1684, allocations: 0.8888 MB / 0.5508 GB, free: 2.16 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005936/0.169, allocations: 0.8785 MB / 0.5517 GB, free: 1.258 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.269e-05/0.1691, allocations: 27.44 kB / 0.5517 GB, free: 1.23 MB / 414.1 MB Notification: Performance of SimCode: time 5.71e-07/0.1691, allocations: 0 / 0.5517 GB, free: 1.23 MB / 414.1 MB Notification: Performance of Templates: time 0.009581/0.1787, allocations: 6.132 MB / 0.5577 GB, free: 11.09 MB / 430.1 MB " [Timeout remaining time 660] make -j1 -f PowerSystems_PowerSystems.Examples.Generic.Network.NetworkLoop_d.makefile [Timeout 660] (rm -f PowerSystems_PowerSystems.Examples.Generic.Network.NetworkLoop_d.pipe ; mkfifo PowerSystems_PowerSystems.Examples.Generic.Network.NetworkLoop_d.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.Generic.Network.NetworkLoop_d.pipe >> ../files/PowerSystems_PowerSystems.Examples.Generic.Network.NetworkLoop_d.sim & ./PowerSystems_PowerSystems.Examples.Generic.Network.NetworkLoop_d -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.Generic.Network.NetworkLoop_d.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 7.728355053928681] Failed to read output from testmodel.py, exit status != 0: 0.18545968004036695 0.205376088 0.063025224 Calling exit ...