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.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.001332/0.001332, allocations: 83.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.001586/0.001586, allocations: 168 kB / 23.96 MB, free: 4.145 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.483/1.483, allocations: 177.1 MB / 204.3 MB, free: 9.168 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.1799/0.1799, allocations: 29.42 MB / 290.1 MB, free: 3.27 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.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 6.031e-06/6.031e-06, allocations: 4 kB / 430.7 MB, free: 1.93 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.517e-05/3.12e-05, allocations: 2.281 kB / 430.7 MB, free: 1.926 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Generic.Network.NetworkOpened): time 0.008999/0.009031, allocations: 7.176 MB / 437.9 MB, free: 10.71 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.006958/0.01599, allocations: 4.385 MB / 442.3 MB, free: 6.309 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003725/0.01636, allocations: 19.94 kB / 442.3 MB, free: 6.289 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002948/0.01931, allocations: 1.074 MB / 443.4 MB, free: 5.211 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003085/0.02239, allocations: 1.302 MB / 444.7 MB, free: 3.902 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001016/0.02341, allocations: 370.6 kB / 445 MB, free: 3.539 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.001835/0.02525, allocations: 1.496 MB / 446.5 MB, free: 2.039 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008108/0.02606, allocations: 0.5094 MB / 447 MB, free: 1.523 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001287/0.02734, allocations: 0.8527 MB / 447.9 MB, free: 0.668 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.2175/0.2448, allocations: 0.6994 MB / 448.6 MB, free: 16.39 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003519/0.2452, allocations: 66.84 kB / 448.7 MB, free: 16.39 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00276/0.2479, allocations: 1.225 MB / 449.9 MB, free: 16.39 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006694/0.2486, allocations: 0.5343 MB / 450.4 MB, free: 16.39 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005118/0.2491, allocations: 322.7 kB / 450.7 MB, free: 16.39 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002937/0.2521, allocations: 1.619 MB / 452.4 MB, free: 16.34 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.149e-06/0.2521, allocations: 0 / 452.4 MB, free: 16.34 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.213e-06/0.2521, allocations: 0 / 452.4 MB, free: 16.34 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.639e-05/0.2521, allocations: 0 / 452.4 MB, free: 16.34 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: 212 * Number of variables: 212 Notification: Performance of Generate backend data structure: time 0.002013/0.2541, allocations: 1.106 MB / 453.5 MB, free: 15.71 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.453e-05/0.2541, allocations: 13.62 kB / 453.5 MB, free: 15.71 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003739/0.2579, allocations: 419.2 kB / 453.9 MB, free: 15.66 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00131/0.2592, allocations: 444 kB / 454.3 MB, free: 15.47 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.745e-05/0.2593, allocations: 62.25 kB / 454.4 MB, free: 15.46 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000176/0.2595, allocations: 77.45 kB / 454.5 MB, free: 15.46 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002345/0.2618, allocations: 1.227 MB / 455.7 MB, free: 15.36 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.487e-05/0.2618, allocations: 5.062 kB / 455.7 MB, free: 15.36 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.946e-05/0.2619, allocations: 35.91 kB / 455.7 MB, free: 15.36 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001245/0.2621, allocations: 81.14 kB / 455.8 MB, free: 15.35 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002299/0.2644, allocations: 1.3 MB / 457.1 MB, free: 15.34 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005911/0.2703, allocations: 3.283 MB / 460.4 MB, free: 14.46 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00189/0.2722, allocations: 1.009 MB / 461.4 MB, free: 14.1 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008328/0.273, allocations: 0.5745 MB / 462 MB, free: 13.89 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.214e-05/0.2731, allocations: 13.47 kB / 462 MB, free: 13.89 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.884e-05/0.2731, allocations: 50.98 kB / 462 MB, free: 13.84 MB / 366.1 MB Notification: Performance of pre-optimization done (n=92): time 2.745e-06/0.2731, allocations: 3.938 kB / 462 MB, free: 13.84 MB / 366.1 MB Notification: Performance of matching and sorting (n=93): time 0.007355/0.2804, allocations: 3.07 MB / 465.1 MB, free: 12.77 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.093e-05/0.2805, allocations: 87.17 kB / 465.2 MB, free: 12.67 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004746/0.281, allocations: 361.7 kB / 465.5 MB, free: 12.49 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 6.179e-05/0.281, allocations: 40.64 kB / 465.6 MB, free: 12.45 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001873/0.2812, allocations: 337.7 kB / 465.9 MB, free: 12.18 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002818/0.2815, allocations: 330.9 kB / 466.2 MB, free: 11.92 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002867/0.2818, allocations: 157.2 kB / 466.4 MB, free: 11.85 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001155/0.2819, allocations: 374.9 kB / 466.8 MB, free: 11.51 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007262/0.2826, allocations: 467 kB / 467.2 MB, free: 11.36 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007973/0.2834, allocations: 0.5743 MB / 467.8 MB, free: 11.1 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001685/0.2851, allocations: 1.118 MB / 468.9 MB, free: 10.61 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.47e-06/0.2851, allocations: 1.031 kB / 468.9 MB, free: 10.61 MB / 366.1 MB Notification: Performance of matching and sorting (n=109) (initialization): time 0.002489/0.2876, allocations: 1.469 MB / 470.4 MB, free: 10.09 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.39e-05/0.2876, allocations: 6.594 kB / 470.4 MB, free: 10.09 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.28e-05/0.2877, allocations: 6.469 kB / 470.4 MB, free: 10.08 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009891/0.2886, allocations: 338.3 kB / 470.7 MB, free: 10 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000769/0.2894, allocations: 180.4 kB / 470.9 MB, free: 10 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004628/0.294, allocations: 3.862 MB / 474.8 MB, free: 7.66 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006304/0.2947, allocations: 50.48 kB / 474.8 MB, free: 7.645 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.299e-05/0.2948, allocations: 35.61 kB / 474.8 MB, free: 7.641 MB / 366.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.0004769/0.2952, allocations: 307.7 kB / 475.1 MB, free: 7.445 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001142/0.2953, allocations: 63.19 kB / 475.2 MB, free: 7.41 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00231/0.2977, allocations: 1.533 MB / 476.7 MB, free: 6.836 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.426e-06/0.2977, allocations: 11.66 kB / 476.7 MB, free: 6.836 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.691e-06/0.2977, allocations: 3.938 kB / 476.7 MB, free: 6.836 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.174e-05/0.2977, allocations: 7.219 kB / 476.8 MB, free: 6.836 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.004088/0.3018, allocations: 2.659 MB / 479.4 MB, free: 5.34 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.753e-06/0.3018, allocations: 10.03 kB / 479.4 MB, free: 5.332 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000594/0.3024, allocations: 162.6 kB / 479.6 MB, free: 5.301 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007483/0.3031, allocations: 285 kB / 479.9 MB, free: 5.168 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.24e-05/0.3032, allocations: 24.19 kB / 479.9 MB, free: 5.156 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003904/0.3071, allocations: 3.647 MB / 483.5 MB, free: 1.641 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.368e-06/0.3071, allocations: 4 kB / 483.5 MB, free: 1.637 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002035/0.3091, allocations: 1.569 MB / 485.1 MB, free: 20 kB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002086/0.3093, allocations: 76.36 kB / 485.2 MB, free: 15.95 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000104/0.3094, allocations: 21.69 kB / 485.2 MB, free: 15.93 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004765/0.3099, allocations: 39.95 kB / 485.2 MB, free: 15.89 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001795/0.3101, allocations: 88.27 kB / 485.3 MB, free: 15.8 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.755e-05/0.3102, allocations: 31.98 kB / 485.4 MB, free: 15.77 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0003158/0.3105, allocations: 259.2 kB / 485.6 MB, free: 15.52 MB / 382.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3105, allocations: 0 / 485.6 MB, free: 15.52 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001132/0.3116, allocations: 308 kB / 485.9 MB, free: 15.22 MB / 382.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.0002218/0.3118, allocations: 126.2 kB / 486 MB, free: 15.1 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.002539/0.3144, allocations: 1.343 MB / 487.4 MB, free: 13.77 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.469e-06/0.3144, allocations: 0 / 487.4 MB, free: 13.77 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00147/0.3159, allocations: 0.7941 MB / 488.2 MB, free: 12.99 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007781/0.3166, allocations: 108.9 kB / 488.3 MB, free: 12.89 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00364/0.3203, allocations: 1.801 MB / 490.1 MB, free: 11.02 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007738/0.321, allocations: 489.2 kB / 490.6 MB, free: 10.52 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0005192/0.3216, allocations: 188.1 kB / 490.7 MB, free: 10.34 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002615/0.3218, allocations: 63.94 kB / 490.8 MB, free: 10.28 MB / 382.1 MB Notification: Performance of SimCode: time 5.91e-07/0.3218, allocations: 0 / 490.8 MB, free: 10.28 MB / 382.1 MB Notification: Performance of Templates: time 0.02123/0.3431, allocations: 10.28 MB / 0.4893 GB, free: 132 kB / 382.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: 5.199444029480219] Failed to read output from testmodel.py, exit status != 0: 0.35269805416464806 0.36877713399999995 0.112201119 Calling exit ...