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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001368/0.001368, allocations: 84 kB / 20.68 MB, free: 1.023 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001493/0.001493, allocations: 163.6 kB / 23.95 MB, free: 4.156 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.546/1.546, allocations: 177.1 MB / 204.3 MB, free: 9.176 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.178/0.178, allocations: 29.43 MB / 290.1 MB, free: 3.273 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.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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 1.683e-06/1.683e-06, allocations: 0 / 430.7 MB, free: 1.949 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.687e-05/2.855e-05, allocations: 2.281 kB / 430.7 MB, free: 1.945 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Generic.Network.NetworkLoop): time 0.009392/0.00942, allocations: 6.935 MB / 437.6 MB, free: 10.97 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.006862/0.01628, allocations: 4.085 MB / 441.7 MB, free: 6.871 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004094/0.01669, allocations: 19.88 kB / 441.7 MB, free: 6.852 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002904/0.0196, allocations: 1.022 MB / 442.8 MB, free: 5.828 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003078/0.02267, allocations: 1.24 MB / 444 MB, free: 4.582 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009195/0.02359, allocations: 330.7 kB / 444.3 MB, free: 4.258 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.001743/0.02534, allocations: 1.425 MB / 445.8 MB, free: 2.828 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008717/0.02621, allocations: 0.5089 MB / 446.3 MB, free: 2.312 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001175/0.02738, allocations: 0.8138 MB / 447.1 MB, free: 1.496 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001036/0.02842, allocations: 0.6816 MB / 447.8 MB, free: 0.8125 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001074/0.02853, allocations: 68 kB / 447.8 MB, free: 0.7461 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.1971/0.2256, allocations: 1.137 MB / 449 MB, free: 16.67 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006432/0.2263, allocations: 0.5084 MB / 449.5 MB, free: 16.67 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004899/0.2267, allocations: 314.5 kB / 449.8 MB, free: 16.67 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002227/0.229, allocations: 1.533 MB / 451.3 MB, free: 16.67 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.218e-06/0.229, allocations: 1.25 kB / 451.3 MB, free: 16.67 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.453e-06/0.229, allocations: 0 / 451.3 MB, free: 16.67 MB / 366.1 MB Notification: Performance of Transformations before backend: time 2.577e-05/0.229, allocations: 0 / 451.3 MB, free: 16.67 MB / 366.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.001593/0.2306, allocations: 1.072 MB / 452.4 MB, free: 16.07 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.567e-05/0.2306, allocations: 8.5 kB / 452.4 MB, free: 16.07 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003329/0.234, allocations: 390 kB / 452.8 MB, free: 16.03 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000724/0.2347, allocations: 434 kB / 453.2 MB, free: 15.83 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.033e-05/0.2347, allocations: 53.73 kB / 453.3 MB, free: 15.83 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000139/0.2349, allocations: 75.03 kB / 453.3 MB, free: 15.83 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001845/0.2367, allocations: 1.175 MB / 454.5 MB, free: 15.72 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3e-05/0.2367, allocations: 1.281 kB / 454.5 MB, free: 15.72 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.872e-05/0.2368, allocations: 34.05 kB / 454.5 MB, free: 15.72 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.794e-05/0.2369, allocations: 78.31 kB / 454.6 MB, free: 15.71 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001874/0.2388, allocations: 1.229 MB / 455.8 MB, free: 15.71 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004999/0.2438, allocations: 3.104 MB / 458.9 MB, free: 14.93 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001659/0.2455, allocations: 0.9803 MB / 459.9 MB, free: 14.79 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000834/0.2463, allocations: 0.5903 MB / 460.5 MB, free: 14.57 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.464e-05/0.2464, allocations: 13.34 kB / 460.5 MB, free: 14.57 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.481e-05/0.2464, allocations: 53.11 kB / 460.6 MB, free: 14.53 MB / 366.1 MB Notification: Performance of pre-optimization done (n=91): time 3.597e-06/0.2464, allocations: 0 / 460.6 MB, free: 14.53 MB / 366.1 MB Notification: Performance of matching and sorting (n=92): time 0.006837/0.2532, allocations: 3.01 MB / 463.6 MB, free: 13.47 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.025e-05/0.2533, allocations: 91.7 kB / 463.7 MB, free: 13.37 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003944/0.2537, allocations: 359.4 kB / 464 MB, free: 13.19 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 6.015e-05/0.2537, allocations: 43.64 kB / 464.1 MB, free: 13.14 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001564/0.2539, allocations: 315.9 kB / 464.4 MB, free: 12.89 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002248/0.2541, allocations: 332.5 kB / 464.7 MB, free: 12.63 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002576/0.2544, allocations: 160.3 kB / 464.9 MB, free: 12.56 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 9.197e-05/0.2545, allocations: 366.5 kB / 465.2 MB, free: 12.23 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006472/0.2551, allocations: 472.6 kB / 465.7 MB, free: 12.07 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007053/0.2558, allocations: 0.5679 MB / 466.3 MB, free: 11.82 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001462/0.2573, allocations: 1.112 MB / 467.4 MB, free: 11.34 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.527e-06/0.2573, allocations: 5.188 kB / 467.4 MB, free: 11.33 MB / 366.1 MB Notification: Performance of matching and sorting (n=107) (initialization): time 0.002417/0.2597, allocations: 1.464 MB / 468.8 MB, free: 10.81 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.154e-05/0.2597, allocations: 6.188 kB / 468.8 MB, free: 10.81 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.656e-06/0.2597, allocations: 4 kB / 468.8 MB, free: 10.81 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009619/0.2607, allocations: 332 kB / 469.2 MB, free: 10.73 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007376/0.2614, allocations: 186.1 kB / 469.4 MB, free: 10.73 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005262/0.2667, allocations: 3.876 MB / 473.2 MB, free: 8.379 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008543/0.2675, allocations: 45.81 kB / 473.3 MB, free: 8.367 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001383/0.2677, allocations: 36.98 kB / 473.3 MB, free: 8.359 MB / 366.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.0006574/0.2683, allocations: 302.8 kB / 473.6 MB, free: 8.168 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001851/0.2685, allocations: 62.44 kB / 473.7 MB, free: 8.137 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003828/0.2723, allocations: 1.542 MB / 475.2 MB, free: 7.555 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.395e-05/0.2724, allocations: 10.25 kB / 475.2 MB, free: 7.555 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.188e-05/0.2724, allocations: 10.62 kB / 475.2 MB, free: 7.551 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.726e-05/0.2724, allocations: 3.562 kB / 475.2 MB, free: 7.551 MB / 366.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.00666/0.279, allocations: 2.67 MB / 477.9 MB, free: 6.398 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.224e-05/0.2791, allocations: 6.25 kB / 477.9 MB, free: 6.398 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001003/0.2801, allocations: 167.8 kB / 478.1 MB, free: 6.367 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001216/0.2813, allocations: 292.5 kB / 478.4 MB, free: 6.23 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000108/0.2814, allocations: 31.89 kB / 478.4 MB, free: 6.211 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006361/0.2877, allocations: 3.669 MB / 482.1 MB, free: 3.551 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.903e-06/0.2878, allocations: 7.562 kB / 482.1 MB, free: 3.547 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003288/0.291, allocations: 1.581 MB / 483.6 MB, free: 1.918 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002819/0.2913, allocations: 75.55 kB / 483.7 MB, free: 1.844 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001565/0.2915, allocations: 20 kB / 483.7 MB, free: 1.824 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007617/0.2922, allocations: 45.52 kB / 483.8 MB, free: 1.781 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002249/0.2925, allocations: 83.69 kB / 483.9 MB, free: 1.699 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001066/0.2926, allocations: 39.98 kB / 483.9 MB, free: 1.66 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0003301/0.2929, allocations: 247.2 kB / 484.1 MB, free: 1.422 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.2929, allocations: 4 kB / 484.1 MB, free: 1.418 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.001586/0.2945, allocations: 304 kB / 484.4 MB, free: 1.121 MB / 366.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.0002264/0.2947, allocations: 125.2 kB / 484.6 MB, free: 1 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.003441/0.2982, allocations: 1.346 MB / 485.9 MB, free: 15.67 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.208e-06/0.2982, allocations: 4.062 kB / 485.9 MB, free: 15.66 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002338/0.3005, allocations: 0.7969 MB / 486.7 MB, free: 14.88 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001208/0.3017, allocations: 98.52 kB / 486.8 MB, free: 14.78 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00562/0.3073, allocations: 1.79 MB / 488.6 MB, free: 12.93 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000972/0.3083, allocations: 476.8 kB / 489.1 MB, free: 12.43 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0009195/0.3092, allocations: 182.4 kB / 489.2 MB, free: 12.25 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004042/0.3096, allocations: 60.47 kB / 489.3 MB, free: 12.19 MB / 382.1 MB Notification: Performance of SimCode: time 9.32e-07/0.3096, allocations: 0 / 489.3 MB, free: 12.19 MB / 382.1 MB Notification: Performance of Templates: time 0.02796/0.3376, allocations: 10.3 MB / 499.6 MB, free: 2.012 MB / 382.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: 5.280395679175854] Failed to read output from testmodel.py, exit status != 0: 0.34714989736676216 0.361559356 0.129439132 Calling exit ...