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.001764/0.001764, allocations: 75.73 kB / 21.24 MB, free: 400 kB / 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.002578/0.002578, allocations: 168.6 kB / 24.5 MB, free: 3.453 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.478/1.478, allocations: 177.2 MB / 204.9 MB, free: 9.043 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.1801/0.1801, allocations: 29.43 MB / 290.7 MB, free: 3.289 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: PowerSystems requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002155/0.002155, allocations: 71.83 kB / 431.2 MB, free: 3.254 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3498/0.352, allocations: 62.44 MB / 493.6 MB, free: 37.8 MB / 446.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Generic.Network.NetworkLoop): time 0.006482/0.3584, allocations: 7.027 MB / 0.4889 GB, free: 33.06 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.00466/0.3631, allocations: 4.116 MB / 0.4929 GB, free: 30.33 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003552/0.3635, allocations: 19.44 kB / 0.493 GB, free: 30.33 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002156/0.3656, allocations: 1.023 MB / 0.494 GB, free: 29.74 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002404/0.368, allocations: 1.208 MB / 0.4951 GB, free: 29.12 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008285/0.3688, allocations: 329.6 kB / 0.4955 GB, free: 28.95 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.001358/0.3702, allocations: 1.395 MB / 0.4968 GB, free: 28.38 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007053/0.3709, allocations: 0.5011 MB / 0.4973 GB, free: 28.14 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007533/0.3717, allocations: 0.6501 MB / 0.4979 GB, free: 27.85 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007745/0.3724, allocations: 0.7097 MB / 0.4986 GB, free: 27.61 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 8.021e-05/0.3725, allocations: 62.84 kB / 0.4987 GB, free: 27.61 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001672/0.3742, allocations: 1.114 MB / 0.4998 GB, free: 27.2 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003134/0.3745, allocations: 491.9 kB / 0.5003 GB, free: 27.05 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003079/0.3748, allocations: 369.8 kB / 0.5006 GB, free: 26.88 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00142/0.3762, allocations: 1.475 MB / 0.502 GB, free: 26.36 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.539e-06/0.3762, allocations: 4 kB / 0.502 GB, free: 26.36 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.134e-06/0.3762, allocations: 0 / 0.502 GB, free: 26.36 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.85e-05/0.3763, allocations: 0 / 0.502 GB, free: 26.36 MB / 446.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.001408/0.3777, allocations: 1.072 MB / 0.5031 GB, free: 25.63 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.028e-05/0.3777, allocations: 13.58 kB / 0.5031 GB, free: 25.63 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002871/0.3806, allocations: 388.8 kB / 0.5035 GB, free: 25.57 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006276/0.3812, allocations: 441.7 kB / 0.5039 GB, free: 25.28 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.6e-05/0.3812, allocations: 53.64 kB / 0.504 GB, free: 25.25 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001063/0.3813, allocations: 71.95 kB / 0.504 GB, free: 25.23 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001371/0.3827, allocations: 1.177 MB / 0.5052 GB, free: 24.77 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.754e-05/0.3827, allocations: 3.469 kB / 0.5052 GB, free: 24.77 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.873e-05/0.3828, allocations: 32.14 kB / 0.5052 GB, free: 24.75 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.889e-05/0.3829, allocations: 71.56 kB / 0.5053 GB, free: 24.74 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001377/0.3843, allocations: 1.235 MB / 0.5065 GB, free: 24.36 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004436/0.3887, allocations: 3.119 MB / 0.5095 GB, free: 22.75 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001331/0.39, allocations: 0.9754 MB / 0.5105 GB, free: 22.37 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007472/0.3908, allocations: 0.5924 MB / 0.5111 GB, free: 22.16 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.986e-05/0.3908, allocations: 18.75 kB / 0.5111 GB, free: 22.15 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.282e-05/0.3909, allocations: 49.03 kB / 0.5111 GB, free: 22.1 MB / 446.1 MB Notification: Performance of pre-optimization done (n=91): time 2.605e-06/0.3909, allocations: 0 / 0.5111 GB, free: 22.1 MB / 446.1 MB Notification: Performance of matching and sorting (n=92): time 0.005887/0.3968, allocations: 3.013 MB / 0.5141 GB, free: 21 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.636e-05/0.3968, allocations: 87.95 kB / 0.5141 GB, free: 20.91 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003397/0.3971, allocations: 358.2 kB / 0.5145 GB, free: 20.73 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 4.507e-05/0.3972, allocations: 41.61 kB / 0.5145 GB, free: 20.69 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001237/0.3973, allocations: 320.2 kB / 0.5148 GB, free: 20.43 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001867/0.3975, allocations: 329.2 kB / 0.5151 GB, free: 20.17 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002136/0.3977, allocations: 159.9 kB / 0.5153 GB, free: 20.09 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 7.543e-05/0.3978, allocations: 363.1 kB / 0.5156 GB, free: 19.76 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000589/0.3984, allocations: 474.7 kB / 0.5161 GB, free: 19.6 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007961/0.3992, allocations: 0.5663 MB / 0.5167 GB, free: 19.35 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001452/0.4006, allocations: 1.11 MB / 0.5177 GB, free: 18.86 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.677e-06/0.4006, allocations: 9.062 kB / 0.5177 GB, free: 18.85 MB / 446.1 MB Notification: Performance of matching and sorting (n=107) (initialization): time 0.002481/0.4031, allocations: 1.461 MB / 0.5192 GB, free: 18.31 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.529e-05/0.4031, allocations: 6.703 kB / 0.5192 GB, free: 18.31 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.602e-05/0.4031, allocations: 2.188 kB / 0.5192 GB, free: 18.31 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001242/0.4044, allocations: 337.2 kB / 0.5195 GB, free: 18.23 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009061/0.4053, allocations: 179.1 kB / 0.5197 GB, free: 18.21 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005834/0.4111, allocations: 3.88 MB / 0.5235 GB, free: 15.84 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005765/0.4117, allocations: 49.03 kB / 0.5235 GB, free: 15.83 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001185/0.4118, allocations: 45.19 kB / 0.5236 GB, free: 15.81 MB / 446.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.0004781/0.4123, allocations: 290.6 kB / 0.5238 GB, free: 15.62 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001318/0.4124, allocations: 60.91 kB / 0.5239 GB, free: 15.59 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002752/0.4152, allocations: 1.553 MB / 0.5254 GB, free: 14.98 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.335e-05/0.4152, allocations: 9.875 kB / 0.5254 GB, free: 14.98 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.483e-05/0.4152, allocations: 5.312 kB / 0.5254 GB, free: 14.98 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.531e-05/0.4152, allocations: 5.109 kB / 0.5254 GB, free: 14.98 MB / 446.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.004927/0.4202, allocations: 2.671 MB / 0.528 GB, free: 13.83 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.809e-06/0.4202, allocations: 5.422 kB / 0.528 GB, free: 13.83 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006558/0.4208, allocations: 163.9 kB / 0.5282 GB, free: 13.82 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008066/0.4216, allocations: 287.2 kB / 0.5285 GB, free: 13.75 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.768e-05/0.4217, allocations: 28.14 kB / 0.5285 GB, free: 13.73 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004616/0.4263, allocations: 3.676 MB / 0.5321 GB, free: 11.45 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.442e-06/0.4263, allocations: 4.828 kB / 0.5321 GB, free: 11.45 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002708/0.429, allocations: 1.586 MB / 0.5336 GB, free: 10.7 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002174/0.4293, allocations: 73.11 kB / 0.5337 GB, free: 10.66 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001217/0.4294, allocations: 25.5 kB / 0.5337 GB, free: 10.64 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005454/0.4299, allocations: 39.86 kB / 0.5338 GB, free: 10.63 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00019/0.4301, allocations: 89.2 kB / 0.5339 GB, free: 10.61 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.28e-05/0.4302, allocations: 42.84 kB / 0.5339 GB, free: 10.6 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0002632/0.4305, allocations: 248.6 kB / 0.5341 GB, free: 10.47 MB / 446.1 MB Notification: Performance of sort global known variables: time 9e-08/0.4305, allocations: 0 / 0.5341 GB, free: 10.47 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001105/0.4316, allocations: 302.5 kB / 0.5344 GB, free: 10.44 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.0001634/0.4317, allocations: 129.1 kB / 0.5345 GB, free: 10.32 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.002274/0.434, allocations: 1.336 MB / 0.5358 GB, free: 9.805 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 6.392e-06/0.434, allocations: 5.312 kB / 0.5359 GB, free: 9.801 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001163/0.4352, allocations: 0.796 MB / 0.5366 GB, free: 9.453 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007203/0.4359, allocations: 106.2 kB / 0.5367 GB, free: 9.398 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003296/0.4392, allocations: 1.817 MB / 0.5385 GB, free: 8.52 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000759/0.4399, allocations: 477.9 kB / 0.539 GB, free: 8.379 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0005531/0.4405, allocations: 178 kB / 0.5391 GB, free: 8.367 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002313/0.4407, allocations: 65.41 kB / 0.5392 GB, free: 8.352 MB / 446.1 MB Notification: Performance of SimCode: time 7.61e-07/0.4407, allocations: 0 / 0.5392 GB, free: 8.352 MB / 446.1 MB Notification: Performance of Templates: time 0.01705/0.4578, allocations: 10.35 MB / 0.5493 GB, free: 260 kB / 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 -s ida -lv LOG_STATS > PowerSystems_PowerSystems.Examples.Generic.Network.NetworkLoop.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.479433035012335] Failed to read output from testmodel.py, exit status != 0: 0.4679544100072235 0.48377645700000005 0.104209257 Calling exit ...