Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.Generic.Network.NetworkLoop_dq.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.00174/0.00174, allocations: 84.55 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.002063/0.002063, allocations: 168 kB / 23.95 MB, free: 4.16 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.488/1.488, allocations: 177.1 MB / 204.3 MB, free: 9.184 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.175/0.175, allocations: 29.43 MB / 290.1 MB, free: 3.273 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_dq,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.Generic.Network.NetworkLoop_dq") translateModel(PowerSystems.Examples.Generic.Network.NetworkLoop_dq,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.Generic.Network.NetworkLoop_dq") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.014e-06/2.014e-06, allocations: 0 / 430.7 MB, free: 1.934 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.118e-05/3.319e-05, allocations: 6.219 kB / 430.7 MB, free: 1.926 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Generic.Network.NetworkLoop_dq): time 0.01183/0.01187, allocations: 6.954 MB / 437.7 MB, free: 10.93 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.008531/0.0204, allocations: 4.077 MB / 441.8 MB, free: 6.84 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000471/0.02087, allocations: 19.88 kB / 441.8 MB, free: 6.82 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00349/0.02436, allocations: 1.026 MB / 442.8 MB, free: 5.793 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003937/0.0283, allocations: 1.236 MB / 444 MB, free: 4.551 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001219/0.02951, allocations: 326.7 kB / 444.4 MB, free: 4.23 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.002406/0.03192, allocations: 1.425 MB / 445.8 MB, free: 2.801 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001217/0.03314, allocations: 0.5089 MB / 446.3 MB, free: 2.285 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00184/0.03498, allocations: 0.8176 MB / 447.1 MB, free: 1.465 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001455/0.03643, allocations: 0.6778 MB / 447.8 MB, free: 0.7852 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000158/0.03659, allocations: 67.98 kB / 447.8 MB, free: 0.7188 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.2419/0.2785, allocations: 1.138 MB / 449 MB, free: 16.7 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0009402/0.2794, allocations: 0.5119 MB / 449.5 MB, free: 16.7 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006967/0.2801, allocations: 311.4 kB / 449.8 MB, free: 16.7 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0036/0.2837, allocations: 1.534 MB / 451.3 MB, free: 16.7 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.763e-06/0.2837, allocations: 1.312 kB / 451.3 MB, free: 16.7 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.565e-06/0.2837, allocations: 0 / 451.3 MB, free: 16.7 MB / 366.1 MB Notification: Performance of Transformations before backend: time 2.151e-05/0.2838, allocations: 3.094 kB / 451.3 MB, free: 16.7 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: 203 * Number of variables: 203 Notification: Performance of Generate backend data structure: time 0.002667/0.2864, allocations: 1.071 MB / 452.4 MB, free: 16.1 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.552e-05/0.2865, allocations: 12.64 kB / 452.4 MB, free: 16.09 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003587/0.2901, allocations: 390.8 kB / 452.8 MB, free: 16.05 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001038/0.2911, allocations: 430.8 kB / 453.2 MB, free: 15.85 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.883e-05/0.2912, allocations: 59 kB / 453.3 MB, free: 15.85 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001773/0.2913, allocations: 71.98 kB / 453.4 MB, free: 15.85 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002437/0.2938, allocations: 1.176 MB / 454.5 MB, free: 15.74 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.426e-05/0.2938, allocations: 4.703 kB / 454.5 MB, free: 15.74 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001074/0.2939, allocations: 35.12 kB / 454.6 MB, free: 15.74 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001377/0.2941, allocations: 73.33 kB / 454.6 MB, free: 15.73 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00229/0.2964, allocations: 1.23 MB / 455.9 MB, free: 15.73 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00605/0.3024, allocations: 3.115 MB / 459 MB, free: 14.95 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001804/0.3042, allocations: 0.9809 MB / 460 MB, free: 14.77 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009407/0.3051, allocations: 0.5918 MB / 460.6 MB, free: 14.56 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.644e-05/0.3052, allocations: 13.53 kB / 460.6 MB, free: 14.56 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.333e-05/0.3052, allocations: 47.48 kB / 460.6 MB, free: 14.52 MB / 366.1 MB Notification: Performance of pre-optimization done (n=91): time 2.835e-06/0.3052, allocations: 0 / 460.6 MB, free: 14.52 MB / 366.1 MB Notification: Performance of matching and sorting (n=92): time 0.007674/0.3129, allocations: 3.004 MB / 463.6 MB, free: 13.46 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.181e-05/0.313, allocations: 91.36 kB / 463.7 MB, free: 13.36 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005462/0.3135, allocations: 359.9 kB / 464.1 MB, free: 13.18 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 6.55e-05/0.3136, allocations: 41.14 kB / 464.1 MB, free: 13.13 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000193/0.3138, allocations: 323.2 kB / 464.4 MB, free: 12.87 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002994/0.3141, allocations: 321 kB / 464.7 MB, free: 12.62 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003062/0.3144, allocations: 160.7 kB / 464.9 MB, free: 12.55 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001224/0.3145, allocations: 368.2 kB / 465.2 MB, free: 12.21 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007518/0.3153, allocations: 469 kB / 465.7 MB, free: 12.06 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000894/0.3162, allocations: 0.573 MB / 466.3 MB, free: 11.8 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001816/0.318, allocations: 1.107 MB / 467.4 MB, free: 11.32 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.596e-06/0.318, allocations: 1.281 kB / 467.4 MB, free: 11.32 MB / 366.1 MB Notification: Performance of matching and sorting (n=107) (initialization): time 0.00278/0.3208, allocations: 1.471 MB / 468.9 MB, free: 10.8 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.891e-05/0.3208, allocations: 6.906 kB / 468.9 MB, free: 10.8 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.183e-05/0.3208, allocations: 2.594 kB / 468.9 MB, free: 10.8 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001047/0.3218, allocations: 331.6 kB / 469.2 MB, free: 10.72 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007749/0.3226, allocations: 185 kB / 469.4 MB, free: 10.71 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00498/0.3276, allocations: 3.875 MB / 473.2 MB, free: 8.371 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007005/0.3283, allocations: 46.33 kB / 473.3 MB, free: 8.355 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.271e-05/0.3284, allocations: 41.48 kB / 473.3 MB, free: 8.348 MB / 366.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.0005425/0.3289, allocations: 299.2 kB / 473.6 MB, free: 8.16 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001254/0.3291, allocations: 59.12 kB / 473.7 MB, free: 8.129 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002413/0.3315, allocations: 1.543 MB / 475.2 MB, free: 7.547 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.064e-05/0.3315, allocations: 14.84 kB / 475.2 MB, free: 7.543 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.536e-06/0.3315, allocations: 11.88 kB / 475.3 MB, free: 7.539 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.222e-05/0.3315, allocations: 6.797 kB / 475.3 MB, free: 7.539 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.004498/0.336, allocations: 2.676 MB / 477.9 MB, free: 6.375 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.508e-06/0.336, allocations: 3.25 kB / 477.9 MB, free: 6.375 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006725/0.3367, allocations: 168.5 kB / 478.1 MB, free: 6.336 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007982/0.3375, allocations: 284.2 kB / 478.4 MB, free: 6.207 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.581e-05/0.3375, allocations: 31.89 kB / 478.4 MB, free: 6.188 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004121/0.3417, allocations: 3.668 MB / 482.1 MB, free: 3.484 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.659e-06/0.3417, allocations: 11.53 kB / 482.1 MB, free: 3.477 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002118/0.3438, allocations: 1.58 MB / 483.7 MB, free: 1.848 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001602/0.3439, allocations: 63.61 kB / 483.7 MB, free: 1.785 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.365e-05/0.344, allocations: 23.98 kB / 483.8 MB, free: 1.762 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004724/0.3445, allocations: 35.97 kB / 483.8 MB, free: 1.727 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001541/0.3447, allocations: 91.97 kB / 483.9 MB, free: 1.637 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.827e-05/0.3447, allocations: 39.98 kB / 483.9 MB, free: 1.598 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002171/0.345, allocations: 247.2 kB / 484.2 MB, free: 1.359 MB / 366.1 MB Notification: Performance of sort global known variables: time 9e-08/0.345, allocations: 0 / 484.2 MB, free: 1.359 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0009924/0.3459, allocations: 304 kB / 484.5 MB, free: 1.062 MB / 366.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.0001518/0.3461, allocations: 128.5 kB / 484.6 MB, free: 0.9375 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.002022/0.3481, allocations: 1.35 MB / 485.9 MB, free: 15.6 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.927e-06/0.3481, allocations: 0 / 485.9 MB, free: 15.6 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00138/0.3495, allocations: 0.7977 MB / 486.7 MB, free: 14.81 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007651/0.3503, allocations: 100.7 kB / 486.8 MB, free: 14.72 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003299/0.3536, allocations: 1.795 MB / 488.6 MB, free: 12.86 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005946/0.3542, allocations: 472.8 kB / 489.1 MB, free: 12.38 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0004525/0.3546, allocations: 183.8 kB / 489.3 MB, free: 12.2 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002286/0.3548, allocations: 64.47 kB / 489.3 MB, free: 12.13 MB / 382.1 MB Notification: Performance of SimCode: time 8.31e-07/0.3548, allocations: 0 / 489.3 MB, free: 12.13 MB / 382.1 MB Notification: Performance of Templates: time 0.02114/0.376, allocations: 10.31 MB / 499.6 MB, free: 1.949 MB / 382.1 MB " [Timeout remaining time 660] make -j1 -f PowerSystems_PowerSystems.Examples.Generic.Network.NetworkLoop_dq.makefile [Timeout 660] (rm -f PowerSystems_PowerSystems.Examples.Generic.Network.NetworkLoop_dq.pipe ; mkfifo PowerSystems_PowerSystems.Examples.Generic.Network.NetworkLoop_dq.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.Generic.Network.NetworkLoop_dq.pipe >> ../files/PowerSystems_PowerSystems.Examples.Generic.Network.NetworkLoop_dq.sim & ./PowerSystems_PowerSystems.Examples.Generic.Network.NetworkLoop_dq -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.Generic.Network.NetworkLoop_dq.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.342525839805603] Failed to read output from testmodel.py, exit status != 0: 0.3872964680194855 0.40773366200000005 0.11919666000000001 Calling exit ...