Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.Wind.WindTurbine_IG.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.002069/0.002069, allocations: 85.28 kB / 20.68 MB, free: 1.035 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.00232/0.00232, allocations: 164.9 kB / 23.95 MB, free: 4.168 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.47/1.47, allocations: 177.1 MB / 204.3 MB, free: 9.176 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.1808/0.1808, allocations: 29.43 MB / 290.1 MB, free: 3.27 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.Wind.WindTurbine_IG,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.Wind.WindTurbine_IG") translateModel(PowerSystems.Examples.Wind.WindTurbine_IG,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.Wind.WindTurbine_IG") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.623e-06/1.623e-06, allocations: 0 / 430.7 MB, free: 1.949 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.28e-05/2.443e-05, allocations: 9.594 kB / 430.7 MB, free: 1.941 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Wind.WindTurbine_IG): time 0.011/0.01102, allocations: 7.618 MB / 438.3 MB, free: 10.28 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.01064/0.02166, allocations: 5.055 MB / 443.4 MB, free: 5.207 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008575/0.02252, allocations: 35.69 kB / 443.4 MB, free: 5.172 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.1869/0.2094, allocations: 5.775 MB / 449.2 MB, free: 18.82 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002013/0.2114, allocations: 0.8704 MB / 450.1 MB, free: 18.78 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001256/0.2127, allocations: 0.5437 MB / 450.6 MB, free: 18.76 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.004/0.2167, allocations: 2.623 MB / 453.2 MB, free: 18.45 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001116/0.2178, allocations: 0.5489 MB / 453.8 MB, free: 18.37 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001738/0.2195, allocations: 1.011 MB / 454.8 MB, free: 18.27 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001781/0.2213, allocations: 1.011 MB / 455.8 MB, free: 18.2 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002732/0.2216, allocations: 107.7 kB / 455.9 MB, free: 18.2 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001118/0.2227, allocations: 395 kB / 456.3 MB, free: 18.19 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000803/0.2235, allocations: 0.7023 MB / 457 MB, free: 18.12 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007297/0.2242, allocations: 491.3 kB / 457.5 MB, free: 18.07 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002758/0.227, allocations: 1.775 MB / 459.2 MB, free: 17.89 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.971e-06/0.227, allocations: 0 / 459.2 MB, free: 17.89 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.333e-06/0.227, allocations: 0 / 459.2 MB, free: 17.89 MB / 366.1 MB Notification: Performance of Transformations before backend: time 3.71e-05/0.2271, allocations: 2.75 kB / 459.3 MB, free: 17.89 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: 281 * Number of variables: 281 Notification: Performance of Generate backend data structure: time 0.004527/0.2316, allocations: 1.547 MB / 460.8 MB, free: 16.98 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.372e-05/0.2316, allocations: 14.34 kB / 460.8 MB, free: 16.97 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002041/0.2337, allocations: 277.1 kB / 461.1 MB, free: 16.89 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002398/0.2361, allocations: 0.8671 MB / 461.9 MB, free: 16.47 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.824e-05/0.2361, allocations: 77.05 kB / 462 MB, free: 16.45 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005776/0.2367, allocations: 183.8 kB / 462.2 MB, free: 16.4 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003266/0.24, allocations: 1.572 MB / 463.8 MB, free: 15.75 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.024e-05/0.24, allocations: 8.234 kB / 463.8 MB, free: 15.75 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001128/0.2401, allocations: 36.09 kB / 463.8 MB, free: 15.72 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006297/0.2408, allocations: 158.3 kB / 464 MB, free: 15.7 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002226/0.243, allocations: 1.24 MB / 465.2 MB, free: 15.32 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 preOpt removeSimpleEquations (simulation): time 0.007376/0.2504, allocations: 5.495 MB / 470.7 MB, free: 11.84 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001432/0.2518, allocations: 0.8678 MB / 471.6 MB, free: 11.48 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007122/0.2525, allocations: 488.2 kB / 472.1 MB, free: 11.24 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.506e-05/0.2526, allocations: 11.38 kB / 472.1 MB, free: 11.24 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.382e-05/0.2526, allocations: 47.88 kB / 472.1 MB, free: 11.2 MB / 366.1 MB Notification: Performance of pre-optimization done (n=91): time 2.736e-06/0.2526, allocations: 0 / 472.1 MB, free: 11.2 MB / 366.1 MB Notification: Performance of matching and sorting (n=96): time 0.005969/0.2586, allocations: 3.251 MB / 475.4 MB, free: 9.469 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.097e-05/0.2586, allocations: 90.11 kB / 475.5 MB, free: 9.375 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006405/0.2593, allocations: 0.7097 MB / 476.2 MB, free: 8.961 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 7.503e-05/0.2593, allocations: 43.55 kB / 476.2 MB, free: 8.918 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000243/0.2596, allocations: 0.5747 MB / 476.8 MB, free: 8.41 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002095/0.2598, allocations: 376.3 kB / 477.1 MB, free: 8.09 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003176/0.2601, allocations: 233.4 kB / 477.4 MB, free: 7.965 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 9.496e-05/0.2602, allocations: 412.2 kB / 477.8 MB, free: 7.582 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008022/0.261, allocations: 0.566 MB / 478.3 MB, free: 7.324 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009214/0.2619, allocations: 0.8832 MB / 479.2 MB, free: 6.684 MB / 366.1 MB Notification: It was not possible to check the given initialization system for consistency symbolically, because the relevant equations are part of an algebraic loop. This is not supported yet. Notification: Performance of analyzeInitialSystem (initialization): time 0.00802/0.2699, allocations: 3.232 MB / 482.5 MB, free: 4.004 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.943e-06/0.2699, allocations: 7.938 kB / 482.5 MB, free: 3.996 MB / 366.1 MB Notification: Performance of matching and sorting (n=164) (initialization): time 0.005379/0.2753, allocations: 2.695 MB / 485.2 MB, free: 1.438 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.055e-05/0.2753, allocations: 11.94 kB / 485.2 MB, free: 1.426 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.496e-05/0.2754, allocations: 12 kB / 485.2 MB, free: 1.414 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002715/0.2781, allocations: 1.142 MB / 486.3 MB, free: 276 kB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000772/0.2788, allocations: 200.5 kB / 486.5 MB, free: 88 kB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02051/0.2994, allocations: 11.87 MB / 498.4 MB, free: 4.082 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001143/0.3005, allocations: 56.83 kB / 498.4 MB, free: 4.027 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001472/0.3006, allocations: 56.05 kB / 498.5 MB, free: 3.973 MB / 382.1 MB Warning: The initial conditions are over specified. The following 3 initial equations are redundant, so they are removed from the initialization system: $DER.inertia.w = 0.0 infBus.V = 15000.0 * infBus.v0 line.omega[1] = 0.0. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 43 * Number of states: 0 () * Number of discrete variables: 3 (system.initime,trafo.tap_2_internal,trafo.tap_1_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (96): * Single equations (assignments): 94 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * 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,17,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(24,28)} Notification: Performance of prepare postOptimizeDAE: time 0.0008811/0.3015, allocations: 398.3 kB / 498.9 MB, free: 3.586 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001957/0.3017, allocations: 103.3 kB / 499 MB, free: 3.484 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002687/0.3044, allocations: 1.256 MB / 0.4885 GB, free: 2.215 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.269e-05/0.3044, allocations: 8 kB / 0.4885 GB, free: 2.207 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.51e-06/0.3044, allocations: 0 / 0.4885 GB, free: 2.207 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.547e-05/0.3044, allocations: 15.97 kB / 0.4885 GB, free: 2.191 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005642/0.3101, allocations: 2.236 MB / 0.4907 GB, free: 15.93 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.22e-05/0.3101, allocations: 3.984 kB / 0.4907 GB, free: 15.93 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001642/0.3117, allocations: 277.2 kB / 0.491 GB, free: 15.67 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002075/0.3119, allocations: 57.3 kB / 0.491 GB, free: 15.61 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001327/0.3121, allocations: 39.98 kB / 0.4911 GB, free: 15.57 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00254/0.3146, allocations: 2.584 MB / 0.4936 GB, free: 12.8 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.557e-06/0.3146, allocations: 5.562 kB / 0.4936 GB, free: 12.79 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003285/0.3179, allocations: 1.744 MB / 0.4953 GB, free: 11.02 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005796/0.3185, allocations: 179.3 kB / 0.4955 GB, free: 10.84 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001636/0.3187, allocations: 35.98 kB / 0.4955 GB, free: 10.8 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006033/0.3193, allocations: 43.95 kB / 0.4956 GB, free: 10.76 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001914/0.3194, allocations: 76.03 kB / 0.4956 GB, free: 10.69 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.101e-05/0.3195, allocations: 31.98 kB / 0.4957 GB, free: 10.66 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0006682/0.3202, allocations: 479 kB / 0.4961 GB, free: 10.2 MB / 398.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3202, allocations: 0 / 0.4961 GB, free: 10.2 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.00142/0.3216, allocations: 376 kB / 0.4965 GB, free: 9.828 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * Number of states: 25 (generator.i[3],generator.psi_s[1],generator.psi_s[2],generator.psi_rd[1],generator.psi_rq[1],line.v[1,1],line.v[1,2],line.v[1,3],line.v[2,1],line.v[2,2],line.v[2,3],line.v[3,1],line.v[3,2],line.v[3,3],line.i[1,1],line.i[1,2],line.i[1,3],line.i[2,1],line.i[2,2],line.i[2,3],line.i[3,1],line.i[3,2],line.i[3,3],inertia.phi,inertia.w) * 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 (95): * Single equations (assignments): 92 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002208/0.3218, allocations: 145.2 kB / 0.4966 GB, free: 9.688 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.004025/0.3259, allocations: 2.028 MB / 0.4986 GB, free: 7.676 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.366e-06/0.3259, allocations: 4 kB / 0.4986 GB, free: 7.672 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001223/0.3271, allocations: 0.7309 MB / 0.4993 GB, free: 6.93 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001073/0.3282, allocations: 203.9 kB / 0.4995 GB, free: 6.734 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005978/0.3341, allocations: 3.538 MB / 0.503 GB, free: 3.152 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008675/0.335, allocations: 0.7092 MB / 0.5037 GB, free: 2.406 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0008016/0.3358, allocations: 307.9 kB / 0.504 GB, free: 2.102 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002932/0.3361, allocations: 72.48 kB / 0.504 GB, free: 2.031 MB / 398.1 MB Notification: Performance of SimCode: time 5.81e-07/0.3361, allocations: 0 / 0.504 GB, free: 2.031 MB / 398.1 MB Notification: Performance of Templates: time 0.03226/0.3684, allocations: 18.04 MB / 0.5216 GB, free: 240 kB / 414.1 MB " [Timeout remaining time 660] make -j1 -f PowerSystems_PowerSystems.Examples.Wind.WindTurbine_IG.makefile [Timeout 660] (rm -f PowerSystems_PowerSystems.Examples.Wind.WindTurbine_IG.pipe ; mkfifo PowerSystems_PowerSystems.Examples.Wind.WindTurbine_IG.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.Wind.WindTurbine_IG.pipe >> ../files/PowerSystems_PowerSystems.Examples.Wind.WindTurbine_IG.sim & ./PowerSystems_PowerSystems.Examples.Wind.WindTurbine_IG -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.Wind.WindTurbine_IG.pipe 2>&1) [Timeout 480] [Calling os._exit(0), Time elapsed: 5.494303442537785] Failed to read output from testmodel.py, exit status != 0: 0.3774383030831814 0.39129075100000005 0.161073046 Calling exit ...