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.00135/0.00135, allocations: 83.58 kB / 21.18 MB, free: 3.383 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.001244/0.001244, allocations: 161 kB / 24.55 MB, free: 16 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 0.9714/0.9714, allocations: 177.1 MB / 205 MB, free: 5.555 MB / 186.7 MB " [Timeout remaining time 179] 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.2571/0.2571, allocations: 29.41 MB / 290.9 MB, free: 2.5 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,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.133e-06/1.133e-06, allocations: 0 / 369.6 MB, free: 10.99 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.512e-05/1.625e-05, allocations: 2.312 kB / 369.6 MB, free: 10.98 MB / 346.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Generic.Network.NetworkLoop): time 0.00494/0.004957, allocations: 6.725 MB / 376.4 MB, free: 4.223 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.002946/0.007902, allocations: 3.201 MB / 379.6 MB, free: 1.008 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002367/0.008139, allocations: 19.88 kB / 379.6 MB, free: 0.9883 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0009468/0.009086, allocations: 0.712 MB / 380.3 MB, free: 280 kB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001835/0.01092, allocations: 1.213 MB / 381.5 MB, free: 15.05 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004993/0.01142, allocations: 326.8 kB / 381.8 MB, free: 14.73 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.001221/0.01264, allocations: 1.394 MB / 383.2 MB, free: 13.34 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005646/0.01321, allocations: 0.5128 MB / 383.7 MB, free: 12.82 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007523/0.01396, allocations: 0.7983 MB / 384.5 MB, free: 12.02 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005808/0.01454, allocations: 0.6855 MB / 385.2 MB, free: 11.33 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 6.699e-05/0.01461, allocations: 64 kB / 385.3 MB, free: 11.27 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001126/0.01573, allocations: 1.114 MB / 386.4 MB, free: 10.15 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0005101/0.01624, allocations: 0.5222 MB / 386.9 MB, free: 9.629 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002181/0.01646, allocations: 311.3 kB / 387.2 MB, free: 9.324 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001036/0.0175, allocations: 1.281 MB / 388.5 MB, free: 8.039 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.324e-06/0.0175, allocations: 0 / 388.5 MB, free: 8.039 MB / 362.7 MB Notification: Performance of FrontEnd: time 7.82e-07/0.0175, allocations: 0 / 388.5 MB, free: 8.039 MB / 362.7 MB Notification: Performance of Transformations before backend: time 7.454e-06/0.01751, allocations: 0 / 388.5 MB, free: 8.039 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: 203 * Number of variables: 203 Notification: Performance of Generate backend data structure: time 0.0009521/0.01846, allocations: 1.186 MB / 389.7 MB, free: 6.812 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.529e-05/0.01849, allocations: 15.98 kB / 389.7 MB, free: 6.797 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001593/0.02009, allocations: 0.5386 MB / 390.2 MB, free: 6.258 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004114/0.0205, allocations: 431.8 kB / 390.7 MB, free: 5.812 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.164e-05/0.02053, allocations: 54.36 kB / 390.7 MB, free: 5.758 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.633e-05/0.02061, allocations: 76.34 kB / 390.8 MB, free: 5.684 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007585/0.02136, allocations: 0.7008 MB / 391.5 MB, free: 4.953 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.782e-05/0.02138, allocations: 192 / 391.5 MB, free: 4.953 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.886e-05/0.02143, allocations: 32.36 kB / 391.5 MB, free: 4.922 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.529e-05/0.0215, allocations: 73.91 kB / 391.6 MB, free: 4.848 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000652/0.02215, allocations: 495.5 kB / 392.1 MB, free: 4.363 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002763/0.02491, allocations: 2.684 MB / 394.8 MB, free: 1.598 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007276/0.02564, allocations: 0.6018 MB / 395.4 MB, free: 0.9609 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003155/0.02595, allocations: 278.3 kB / 395.6 MB, free: 0.6836 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.278e-05/0.026, allocations: 20.98 kB / 395.7 MB, free: 0.6641 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.821e-05/0.02603, allocations: 54.61 kB / 395.7 MB, free: 0.6016 MB / 362.7 MB Notification: Performance of pre-optimization done (n=91): time 2.084e-06/0.02603, allocations: 0 / 395.7 MB, free: 0.6016 MB / 362.7 MB Notification: Performance of matching and sorting (n=92): time 0.003214/0.02924, allocations: 1.872 MB / 397.6 MB, free: 14.72 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.62e-05/0.0293, allocations: 97.98 kB / 397.7 MB, free: 14.61 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002879/0.02959, allocations: 374.7 kB / 398 MB, free: 14.23 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001139/0.0297, allocations: 45.69 kB / 398.1 MB, free: 14.18 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001536/0.02985, allocations: 367.7 kB / 398.5 MB, free: 13.81 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002112/0.03006, allocations: 337.1 kB / 398.8 MB, free: 13.48 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001677/0.03023, allocations: 156.3 kB / 398.9 MB, free: 13.31 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.000151/0.03038, allocations: 0.543 MB / 399.5 MB, free: 12.76 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000273/0.03066, allocations: 177.9 kB / 399.7 MB, free: 12.59 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003137/0.03097, allocations: 327.7 kB / 400 MB, free: 12.23 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000633/0.0316, allocations: 0.5476 MB / 400.5 MB, free: 11.64 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.906e-06/0.03161, allocations: 0 / 400.5 MB, free: 11.64 MB / 378.7 MB Notification: Performance of matching and sorting (n=107) (initialization): time 0.001163/0.03277, allocations: 0.8672 MB / 401.4 MB, free: 10.76 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.212e-05/0.03279, allocations: 11.94 kB / 401.4 MB, free: 10.75 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.035e-06/0.0328, allocations: 0 / 401.4 MB, free: 10.75 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005892/0.03339, allocations: 260.5 kB / 401.7 MB, free: 10.49 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004156/0.0338, allocations: 179.7 kB / 401.8 MB, free: 10.31 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002719/0.03652, allocations: 3.227 MB / 405.1 MB, free: 6.965 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002881/0.03681, allocations: 51.94 kB / 405.1 MB, free: 6.914 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.943e-05/0.03686, allocations: 39.98 kB / 405.1 MB, free: 6.875 MB / 378.7 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.0001958/0.03706, allocations: 196.4 kB / 405.3 MB, free: 6.672 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.309e-05/0.03715, allocations: 83.67 kB / 405.4 MB, free: 6.59 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00118/0.03833, allocations: 0.9176 MB / 406.3 MB, free: 5.664 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.742e-06/0.03834, allocations: 8 kB / 406.3 MB, free: 5.656 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.29e-06/0.03834, allocations: 11.94 kB / 406.4 MB, free: 5.645 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.944e-06/0.03835, allocations: 3.984 kB / 406.4 MB, free: 5.641 MB / 378.7 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.00233/0.04068, allocations: 1.894 MB / 408.3 MB, free: 3.645 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.599e-06/0.04068, allocations: 0 / 408.3 MB, free: 3.645 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003291/0.04101, allocations: 172.1 kB / 408.4 MB, free: 3.477 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004438/0.04146, allocations: 203.5 kB / 408.6 MB, free: 3.273 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.528e-05/0.0415, allocations: 31.92 kB / 408.7 MB, free: 3.242 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002351/0.04385, allocations: 3.12 MB / 411.8 MB, free: 0 / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.942e-05/0.04388, allocations: 8.047 kB / 411.8 MB, free: 15.99 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001202/0.04508, allocations: 1.127 MB / 412.9 MB, free: 14.78 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.998e-05/0.04518, allocations: 67.61 kB / 413 MB, free: 14.71 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.107e-05/0.04525, allocations: 24 kB / 413 MB, free: 14.69 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002143/0.04546, allocations: 39.95 kB / 413 MB, free: 14.65 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001141/0.04557, allocations: 92.62 kB / 413.1 MB, free: 14.56 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.819e-05/0.04562, allocations: 35.98 kB / 413.2 MB, free: 14.52 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0001571/0.04578, allocations: 247.1 kB / 413.4 MB, free: 14.28 MB / 394.7 MB Notification: Performance of sort global known variables: time 6e-08/0.04578, allocations: 4 kB / 413.4 MB, free: 14.28 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0006835/0.04646, allocations: 304 kB / 413.7 MB, free: 13.98 MB / 394.7 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.0001789/0.04664, allocations: 123.1 kB / 413.8 MB, free: 13.85 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.001285/0.04793, allocations: 0.9052 MB / 414.7 MB, free: 12.93 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 5.6e-06/0.04793, allocations: 3.938 kB / 414.7 MB, free: 12.92 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006773/0.04861, allocations: 0.6336 MB / 415.4 MB, free: 12.27 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004566/0.04907, allocations: 90.45 kB / 415.5 MB, free: 12.18 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002227/0.05129, allocations: 1.461 MB / 416.9 MB, free: 10.62 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002247/0.05152, allocations: 267.9 kB / 417.2 MB, free: 10.34 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0002408/0.05176, allocations: 140.6 kB / 417.3 MB, free: 10.2 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001395/0.0519, allocations: 68.47 kB / 417.4 MB, free: 10.13 MB / 394.7 MB Notification: Performance of SimCode: time 1.753e-06/0.0519, allocations: 4 kB / 417.4 MB, free: 10.13 MB / 394.7 MB Notification: Performance of Templates: time 0.01346/0.06536, allocations: 10.74 MB / 428.1 MB, free: 15.46 MB / 410.7 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=240 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.Generic.Network.NetworkLoop.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.1680095442570746]