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.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.001359/0.001359, allocations: 92.31 kB / 20.96 MB, free: 3.477 MB / 18.57 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.001487/0.001487, allocations: 161.7 kB / 24.26 MB, free: 176 kB / 18.57 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.468/1.468, allocations: 177.1 MB / 204.6 MB, free: 5.59 MB / 186.7 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.3012/0.3012, allocations: 29.42 MB / 290.5 MB, free: 2.449 MB / 266.7 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_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 2.104e-06/2.104e-06, allocations: 0 / 368.9 MB, free: 11.31 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.623e-05/3.833e-05, allocations: 2.312 kB / 368.9 MB, free: 11.3 MB / 346.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Generic.Network.NetworkLoop_d): time 0.01006/0.0101, allocations: 7.095 MB / 376 MB, free: 4.176 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.006694/0.0168, allocations: 3.867 MB / 379.9 MB, free: 300 kB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007984/0.01759, allocations: 15.94 kB / 379.9 MB, free: 284 kB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003549/0.02114, allocations: 1.027 MB / 380.9 MB, free: 15.25 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003241/0.02438, allocations: 1.131 MB / 382 MB, free: 14.11 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001021/0.02541, allocations: 314.7 kB / 382.3 MB, free: 13.8 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.002154/0.02756, allocations: 1.387 MB / 383.7 MB, free: 12.41 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007992/0.02836, allocations: 400 kB / 384.1 MB, free: 12.02 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001225/0.02958, allocations: 0.7279 MB / 384.8 MB, free: 11.29 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009596/0.03054, allocations: 0.6036 MB / 385.5 MB, free: 10.68 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 7.087e-05/0.03061, allocations: 36 kB / 385.5 MB, free: 10.65 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00182/0.03243, allocations: 0.7978 MB / 386.3 MB, free: 9.848 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004097/0.03284, allocations: 307.1 kB / 386.6 MB, free: 9.547 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002686/0.03311, allocations: 175.6 kB / 386.8 MB, free: 9.375 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001518/0.03463, allocations: 0.849 MB / 387.6 MB, free: 8.523 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.061e-06/0.03464, allocations: 0 / 387.6 MB, free: 8.523 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.363e-06/0.03464, allocations: 0 / 387.6 MB, free: 8.523 MB / 362.7 MB Notification: Performance of Transformations before backend: time 7.384e-06/0.03465, allocations: 0 / 387.6 MB, free: 8.523 MB / 362.7 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.001468/0.03611, allocations: 0.7313 MB / 388.3 MB, free: 7.758 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.559e-05/0.03616, allocations: 11.98 kB / 388.3 MB, free: 7.746 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001808/0.03797, allocations: 335 kB / 388.7 MB, free: 7.418 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006345/0.0386, allocations: 284.3 kB / 389 MB, free: 7.117 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.196e-05/0.03864, allocations: 29.38 kB / 389 MB, free: 7.09 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.833e-05/0.03871, allocations: 44.34 kB / 389 MB, free: 7.047 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009936/0.03971, allocations: 0.5793 MB / 389.6 MB, free: 6.398 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.332e-05/0.03973, allocations: 12.12 kB / 389.6 MB, free: 6.387 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.312e-05/0.03978, allocations: 20.36 kB / 389.6 MB, free: 6.367 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.787e-05/0.03986, allocations: 40.55 kB / 389.7 MB, free: 6.328 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007039/0.04056, allocations: 382.1 kB / 390 MB, free: 5.953 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002992/0.04355, allocations: 2.405 MB / 392.5 MB, free: 3.441 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007403/0.0443, allocations: 419.6 kB / 392.9 MB, free: 3.004 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000311/0.04461, allocations: 193.1 kB / 393.1 MB, free: 2.809 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.688e-05/0.04462, allocations: 4 kB / 393.1 MB, free: 2.805 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.362e-05/0.04467, allocations: 42.55 kB / 393.1 MB, free: 2.754 MB / 362.7 MB Notification: Performance of pre-optimization done (n=33): time 1.764e-06/0.04467, allocations: 0 / 393.1 MB, free: 2.754 MB / 362.7 MB Notification: Performance of matching and sorting (n=33): time 0.001844/0.04651, allocations: 0.674 MB / 393.8 MB, free: 2.07 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001097/0.04662, allocations: 118.7 kB / 393.9 MB, free: 1.93 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004078/0.04703, allocations: 304.7 kB / 394.2 MB, free: 1.625 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 3.7e-05/0.04707, allocations: 33.7 kB / 394.2 MB, free: 1.586 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002568/0.04732, allocations: 264.2 kB / 394.5 MB, free: 1.32 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001416/0.04747, allocations: 115 kB / 394.6 MB, free: 1.207 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001373/0.0476, allocations: 86.09 kB / 394.7 MB, free: 1.117 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0003669/0.04797, allocations: 346.8 kB / 395 MB, free: 0.7695 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002135/0.04818, allocations: 124.9 kB / 395.1 MB, free: 0.6445 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003556/0.04854, allocations: 276.1 kB / 395.4 MB, free: 312 kB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006589/0.0492, allocations: 464.1 kB / 395.9 MB, free: 15.79 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.636e-06/0.0492, allocations: 0 / 395.9 MB, free: 15.79 MB / 378.7 MB Notification: Performance of matching and sorting (n=54) (initialization): time 0.000957/0.05016, allocations: 0.5698 MB / 396.4 MB, free: 15.21 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.657e-05/0.05019, allocations: 8 kB / 396.4 MB, free: 15.2 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.172e-05/0.0502, allocations: 4 kB / 396.4 MB, free: 15.2 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000446/0.05064, allocations: 133.2 kB / 396.6 MB, free: 15.06 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002609/0.0509, allocations: 71.91 kB / 396.6 MB, free: 14.99 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003132/0.05404, allocations: 2.364 MB / 399 MB, free: 12.53 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002598/0.0543, allocations: 39.69 kB / 399 MB, free: 12.49 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.07e-05/0.05434, allocations: 20 kB / 399.1 MB, free: 12.47 MB / 378.7 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.0002788/0.05462, allocations: 209.7 kB / 399.3 MB, free: 12.26 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.435e-05/0.05471, allocations: 43.81 kB / 399.3 MB, free: 12.21 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001192/0.05483, allocations: 47.14 kB / 399.4 MB, free: 12.16 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.849e-06/0.05483, allocations: 4 kB / 399.4 MB, free: 12.16 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.61e-05/0.05485, allocations: 7.984 kB / 399.4 MB, free: 12.15 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.977e-06/0.05485, allocations: 4 kB / 399.4 MB, free: 12.15 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001367/0.05622, allocations: 0.8281 MB / 400.2 MB, free: 11.27 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.005e-06/0.05622, allocations: 4.062 kB / 400.2 MB, free: 11.27 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001528/0.05638, allocations: 35.92 kB / 400.2 MB, free: 11.23 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003061/0.05668, allocations: 116.4 kB / 400.3 MB, free: 11.12 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.667e-05/0.05671, allocations: 19.88 kB / 400.4 MB, free: 11.1 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003133/0.05984, allocations: 2.344 MB / 402.7 MB, free: 8.652 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.711e-06/0.05985, allocations: 4.031 kB / 402.7 MB, free: 8.648 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009484/0.0608, allocations: 0.6346 MB / 403.3 MB, free: 7.984 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.898e-05/0.06088, allocations: 43.69 kB / 403.4 MB, free: 7.941 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.892e-05/0.06091, allocations: 4 kB / 403.4 MB, free: 7.938 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001782/0.06109, allocations: 8 kB / 403.4 MB, free: 7.93 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.279e-05/0.06115, allocations: 27.89 kB / 403.4 MB, free: 7.902 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.362e-05/0.06118, allocations: 12 kB / 403.4 MB, free: 7.891 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.000246/0.06142, allocations: 203.1 kB / 403.6 MB, free: 7.695 MB / 378.7 MB Notification: Performance of sort global known variables: time 8e-08/0.06142, allocations: 4 kB / 403.6 MB, free: 7.691 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0007876/0.06221, allocations: 163.7 kB / 403.8 MB, free: 7.531 MB / 378.7 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.0001563/0.06237, allocations: 103.2 kB / 403.9 MB, free: 7.418 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0009703/0.06334, allocations: 0.5029 MB / 404.4 MB, free: 6.902 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.375e-06/0.06334, allocations: 0 / 404.4 MB, free: 6.902 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005102/0.06385, allocations: 326 kB / 404.7 MB, free: 6.57 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005633/0.06441, allocations: 56.27 kB / 404.8 MB, free: 6.523 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001554/0.06597, allocations: 0.8254 MB / 405.6 MB, free: 5.656 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003846/0.06635, allocations: 280 kB / 405.9 MB, free: 5.363 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0002067/0.06656, allocations: 78.89 kB / 406 MB, free: 5.285 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.504e-05/0.06662, allocations: 20.5 kB / 406 MB, free: 5.266 MB / 378.7 MB Notification: Performance of SimCode: time 7.41e-07/0.06663, allocations: 0 / 406 MB, free: 5.266 MB / 378.7 MB Notification: Performance of Templates: time 0.01028/0.0769, allocations: 3.655 MB / 409.6 MB, free: 1.645 MB / 378.7 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: 4.7706099330680445]