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.001023/0.001023, allocations: 75.59 kB / 21.18 MB, free: 3.391 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.001091/0.001091, allocations: 161.4 kB / 24.56 MB, free: 20 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.9784/0.9784, allocations: 177.2 MB / 205 MB, free: 5.277 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.2648/0.2648, allocations: 29.41 MB / 290.9 MB, free: 2.445 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.753e-06/1.753e-06, allocations: 0 / 369.6 MB, free: 11.01 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.145e-05/3.32e-05, allocations: 2.312 kB / 369.6 MB, free: 11.01 MB / 346.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Generic.Network.NetworkLoop): time 0.006219/0.006252, allocations: 6.736 MB / 376.4 MB, free: 4.234 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.003713/0.009966, allocations: 3.197 MB / 379.6 MB, free: 1.023 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004333/0.0104, allocations: 15.94 kB / 379.6 MB, free: 1.008 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001349/0.01175, allocations: 0.708 MB / 380.3 MB, free: 304 kB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002318/0.01407, allocations: 1.213 MB / 381.5 MB, free: 15.08 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007511/0.01482, allocations: 322.8 kB / 381.8 MB, free: 14.76 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.001488/0.01631, allocations: 1.398 MB / 383.2 MB, free: 13.36 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007751/0.01708, allocations: 0.5128 MB / 383.7 MB, free: 12.84 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001113/0.01819, allocations: 0.8022 MB / 384.5 MB, free: 12.04 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008188/0.01901, allocations: 0.6855 MB / 385.2 MB, free: 11.35 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 8.014e-05/0.01909, allocations: 64 kB / 385.3 MB, free: 11.29 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001681/0.02077, allocations: 1.118 MB / 386.4 MB, free: 10.17 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0005493/0.02132, allocations: 0.5145 MB / 386.9 MB, free: 9.652 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003633/0.02169, allocations: 319.2 kB / 387.2 MB, free: 9.34 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001747/0.02343, allocations: 1.281 MB / 388.5 MB, free: 8.055 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.138e-06/0.02344, allocations: 7.938 kB / 388.5 MB, free: 8.047 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.433e-06/0.02344, allocations: 0 / 388.5 MB, free: 8.047 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.503e-05/0.02345, allocations: 0 / 388.5 MB, free: 8.047 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.001206/0.02466, allocations: 1.178 MB / 389.7 MB, free: 6.828 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.359e-05/0.0247, allocations: 15.98 kB / 389.7 MB, free: 6.812 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00191/0.02661, allocations: 0.5386 MB / 390.2 MB, free: 6.273 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005803/0.02719, allocations: 423.8 kB / 390.7 MB, free: 5.836 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.777e-05/0.02723, allocations: 58.36 kB / 390.7 MB, free: 5.777 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.839e-05/0.02732, allocations: 72.34 kB / 390.8 MB, free: 5.707 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009771/0.0283, allocations: 0.7047 MB / 391.5 MB, free: 4.973 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.192e-05/0.02832, allocations: 192 / 391.5 MB, free: 4.973 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.02e-05/0.02837, allocations: 28.38 kB / 391.5 MB, free: 4.945 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.299e-05/0.02844, allocations: 73.89 kB / 391.6 MB, free: 4.871 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007937/0.02924, allocations: 495.5 kB / 392.1 MB, free: 4.387 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003173/0.03241, allocations: 2.692 MB / 394.8 MB, free: 1.613 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000779/0.03319, allocations: 0.6016 MB / 395.4 MB, free: 0.9766 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003267/0.03351, allocations: 282.3 kB / 395.6 MB, free: 0.6953 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.624e-05/0.03356, allocations: 21.36 kB / 395.7 MB, free: 0.6758 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.259e-05/0.03359, allocations: 54.33 kB / 395.7 MB, free: 0.6133 MB / 362.7 MB Notification: Performance of pre-optimization done (n=91): time 3.576e-06/0.0336, allocations: 0 / 395.7 MB, free: 0.6133 MB / 362.7 MB Notification: Performance of matching and sorting (n=92): time 0.003212/0.03681, allocations: 1.869 MB / 397.6 MB, free: 14.73 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.773e-05/0.03686, allocations: 97.98 kB / 397.7 MB, free: 14.62 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002667/0.03712, allocations: 378.7 kB / 398 MB, free: 14.23 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.677e-05/0.03716, allocations: 41.7 kB / 398.1 MB, free: 14.19 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001482/0.03731, allocations: 367.7 kB / 398.4 MB, free: 13.82 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001927/0.0375, allocations: 333.1 kB / 398.8 MB, free: 13.49 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001572/0.03766, allocations: 160.3 kB / 398.9 MB, free: 13.32 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001503/0.03781, allocations: 0.5469 MB / 399.5 MB, free: 12.77 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000251/0.03806, allocations: 177.9 kB / 399.7 MB, free: 12.59 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003128/0.03837, allocations: 327.7 kB / 400 MB, free: 12.23 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006196/0.03899, allocations: 0.5436 MB / 400.5 MB, free: 11.65 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.475e-06/0.03899, allocations: 4 kB / 400.5 MB, free: 11.64 MB / 378.7 MB Notification: Performance of matching and sorting (n=107) (initialization): time 0.001283/0.04028, allocations: 0.8672 MB / 401.4 MB, free: 10.77 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.518e-05/0.0403, allocations: 8 kB / 401.4 MB, free: 10.76 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.967e-06/0.04031, allocations: 3.938 kB / 401.4 MB, free: 10.75 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005831/0.04089, allocations: 252.6 kB / 401.6 MB, free: 10.5 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003832/0.04128, allocations: 179.7 kB / 401.8 MB, free: 10.33 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00274/0.04402, allocations: 3.226 MB / 405 MB, free: 6.98 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002942/0.04431, allocations: 47.95 kB / 405.1 MB, free: 6.934 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.008e-05/0.04436, allocations: 31.98 kB / 405.1 MB, free: 6.902 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.0002158/0.04458, allocations: 208.4 kB / 405.3 MB, free: 6.688 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.585e-05/0.04467, allocations: 91.64 kB / 405.4 MB, free: 6.598 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001187/0.04586, allocations: 0.9136 MB / 406.3 MB, free: 5.676 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.153e-06/0.04587, allocations: 8 kB / 406.3 MB, free: 5.668 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.907e-06/0.04588, allocations: 11.94 kB / 406.4 MB, free: 5.656 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.065e-06/0.04588, allocations: 3.984 kB / 406.4 MB, free: 5.652 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.002665/0.04855, allocations: 1.89 MB / 408.2 MB, free: 3.664 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.821e-06/0.04855, allocations: 8.062 kB / 408.3 MB, free: 3.656 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003329/0.04889, allocations: 171.7 kB / 408.4 MB, free: 3.488 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000451/0.04934, allocations: 203.5 kB / 408.6 MB, free: 3.285 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.872e-05/0.04939, allocations: 35.92 kB / 408.7 MB, free: 3.25 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002459/0.05185, allocations: 3.114 MB / 411.8 MB, free: 12 kB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.679e-06/0.05185, allocations: 7.938 kB / 411.8 MB, free: 4 kB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00123/0.05308, allocations: 1.128 MB / 412.9 MB, free: 14.79 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001077/0.05319, allocations: 63.61 kB / 413 MB, free: 14.73 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.489e-05/0.05324, allocations: 24 kB / 413 MB, free: 14.7 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002205/0.05346, allocations: 43.95 kB / 413 MB, free: 14.66 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001009/0.05356, allocations: 88.64 kB / 413.1 MB, free: 14.57 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.11e-05/0.05362, allocations: 43.98 kB / 413.2 MB, free: 14.53 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0001605/0.05378, allocations: 247.1 kB / 413.4 MB, free: 14.29 MB / 394.7 MB Notification: Performance of sort global known variables: time 7e-08/0.05378, allocations: 0 / 413.4 MB, free: 14.29 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0007207/0.0545, allocations: 308 kB / 413.7 MB, free: 13.99 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.0001531/0.05465, allocations: 123.1 kB / 413.8 MB, free: 13.86 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.001144/0.05579, allocations: 0.8972 MB / 414.7 MB, free: 12.94 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.376e-06/0.0558, allocations: 4 kB / 414.7 MB, free: 12.94 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006005/0.0564, allocations: 0.6374 MB / 415.4 MB, free: 12.28 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005897/0.05699, allocations: 89.95 kB / 415.5 MB, free: 12.2 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002102/0.05909, allocations: 1.454 MB / 416.9 MB, free: 10.64 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002069/0.0593, allocations: 267.9 kB / 417.2 MB, free: 10.36 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0002281/0.05952, allocations: 148.6 kB / 417.3 MB, free: 10.21 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000135/0.05966, allocations: 64.47 kB / 417.4 MB, free: 10.15 MB / 394.7 MB Notification: Performance of SimCode: time 1.423e-06/0.05966, allocations: 0 / 417.4 MB, free: 10.15 MB / 394.7 MB Notification: Performance of Templates: time 0.01268/0.07234, allocations: 10.47 MB / 427.8 MB, free: 15.76 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.403944046702236]