Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.Wind.WindTurbine_PSGI.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.00137/0.00137, allocations: 84.3 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.00153/0.00153, allocations: 168.8 kB / 23.95 MB, free: 4.172 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.469/1.469, allocations: 177.2 MB / 204.3 MB, free: 9.168 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.1827/0.1827, 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.Wind.WindTurbine_PSGI,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.Wind.WindTurbine_PSGI") translateModel(PowerSystems.Examples.Wind.WindTurbine_PSGI,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.Wind.WindTurbine_PSGI") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.032e-06/1.032e-06, allocations: 0 / 430.7 MB, free: 1.953 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.535e-05/2.638e-05, allocations: 5.234 kB / 430.7 MB, free: 1.949 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Wind.WindTurbine_PSGI): time 0.01381/0.01383, allocations: 10.21 MB / 440.9 MB, free: 7.688 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.01309/0.02692, allocations: 6.483 MB / 447.4 MB, free: 1.188 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001509/0.02843, allocations: 71.44 kB / 447.5 MB, free: 1.117 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.2258/0.2542, allocations: 14.31 MB / 461.8 MB, free: 15.58 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002787/0.257, allocations: 1.174 MB / 463 MB, free: 15.33 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001735/0.2588, allocations: 0.7499 MB / 463.7 MB, free: 15.07 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.006011/0.2648, allocations: 4.204 MB / 467.9 MB, free: 13.08 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001186/0.266, allocations: 0.8459 MB / 468.8 MB, free: 12.54 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001986/0.268, allocations: 1.496 MB / 470.2 MB, free: 11.74 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001656/0.2696, allocations: 1.399 MB / 471.6 MB, free: 11.11 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002249/0.2698, allocations: 150.9 kB / 471.8 MB, free: 11.11 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009661/0.2708, allocations: 0.5658 MB / 472.4 MB, free: 10.91 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006875/0.2715, allocations: 0.9709 MB / 473.3 MB, free: 10.33 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00075/0.2722, allocations: 0.683 MB / 474 MB, free: 10 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00224/0.2745, allocations: 2.618 MB / 476.6 MB, free: 8.43 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.966e-06/0.2745, allocations: 3.281 kB / 476.6 MB, free: 8.43 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.694e-06/0.2745, allocations: 0 / 476.6 MB, free: 8.43 MB / 366.1 MB Notification: Performance of Transformations before backend: time 3.129e-05/0.2745, allocations: 0 / 476.6 MB, free: 8.43 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: 409 * Number of variables: 409 Notification: Performance of Generate backend data structure: time 0.003627/0.2781, allocations: 2.199 MB / 478.8 MB, free: 6.438 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.046e-05/0.2782, allocations: 15.98 kB / 478.8 MB, free: 6.422 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001958/0.2801, allocations: 400.4 kB / 479.2 MB, free: 6.031 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00223/0.2824, allocations: 1.241 MB / 480.5 MB, free: 4.816 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.912e-05/0.2824, allocations: 105.5 kB / 480.6 MB, free: 4.719 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004828/0.2829, allocations: 240.1 kB / 480.8 MB, free: 4.492 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002581/0.2855, allocations: 2.184 MB / 483 MB, free: 2.227 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.426e-05/0.2855, allocations: 7.469 kB / 483 MB, free: 2.223 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001412/0.2857, allocations: 59.98 kB / 483.1 MB, free: 2.168 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005964/0.2863, allocations: 186.8 kB / 483.3 MB, free: 1.984 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002345/0.2886, allocations: 1.824 MB / 485.1 MB, free: 180 kB / 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.01143/0.3, allocations: 7.386 MB / 492.5 MB, free: 8.648 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002554/0.3026, allocations: 1.38 MB / 493.8 MB, free: 7.281 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001514/0.3041, allocations: 0.7709 MB / 494.6 MB, free: 6.512 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.194e-05/0.3042, allocations: 22.34 kB / 494.6 MB, free: 6.492 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.13e-05/0.3042, allocations: 52.69 kB / 494.7 MB, free: 6.434 MB / 382.1 MB Notification: Performance of pre-optimization done (n=130): time 3.838e-06/0.3042, allocations: 0 / 494.7 MB, free: 6.434 MB / 382.1 MB Notification: Performance of matching and sorting (n=145): time 0.01303/0.3173, allocations: 5.292 MB / 500 MB, free: 1.156 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.416e-05/0.3173, allocations: 94.42 kB / 0.4883 GB, free: 1.047 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001401/0.3187, allocations: 1.012 MB / 0.4893 GB, free: 20 kB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001223/0.3189, allocations: 53.7 kB / 0.4894 GB, free: 15.96 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006438/0.3195, allocations: 0.8039 MB / 0.4902 GB, free: 15.15 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005044/0.32, allocations: 0.54 MB / 0.4907 GB, free: 14.62 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005461/0.3206, allocations: 330.3 kB / 0.491 GB, free: 14.29 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001414/0.3207, allocations: 313.1 kB / 0.4913 GB, free: 13.98 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001344/0.322, allocations: 0.7401 MB / 0.492 GB, free: 13.24 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001806/0.3238, allocations: 1.228 MB / 0.4932 GB, free: 11.82 MB / 398.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.01201/0.3359, allocations: 4.326 MB / 0.4975 GB, free: 7.375 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.866e-05/0.3359, allocations: 7.984 kB / 0.4975 GB, free: 7.367 MB / 398.1 MB Notification: Performance of matching and sorting (n=237) (initialization): time 0.009352/0.3452, allocations: 3.615 MB / 0.501 GB, free: 3.914 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.477e-05/0.3453, allocations: 12 kB / 0.501 GB, free: 3.902 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.128e-05/0.3453, allocations: 12 kB / 0.501 GB, free: 3.891 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004722/0.35, allocations: 1.444 MB / 0.5024 GB, free: 2.434 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00132/0.3513, allocations: 286.6 kB / 0.5027 GB, free: 2.172 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02963/0.381, allocations: 19.83 MB / 0.5221 GB, free: 13.72 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001621/0.3826, allocations: 89.81 kB / 0.5222 GB, free: 13.64 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003639/0.383, allocations: 76 kB / 0.5222 GB, free: 13.56 MB / 430.1 MB Warning: The initial conditions are over specified. The following 4 initial equations are redundant, so they are removed from the initialization system: inverter2.switch_dq0[1] = 1.224744871391589 * cos(select2.alpha0) * select2.v0 $DER.PI.x = 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: 66 * 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 (144): * Single equations (assignments): 137 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 7 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 5 systems {(1,1,100.0%), (1,1,100.0%), (1,2,100.0%), (1,1,100.0%), (1,23,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(4,22), (21,20)} Notification: Performance of prepare postOptimizeDAE: time 0.001496/0.3845, allocations: 0.5225 MB / 0.5227 GB, free: 13.05 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004057/0.3849, allocations: 147.1 kB / 0.5229 GB, free: 12.9 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004373/0.3892, allocations: 1.915 MB / 0.5247 GB, free: 10.97 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.845e-05/0.3892, allocations: 16 kB / 0.5248 GB, free: 10.95 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.217e-05/0.3893, allocations: 0 / 0.5248 GB, free: 10.95 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.402e-05/0.3893, allocations: 19.89 kB / 0.5248 GB, free: 10.93 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007574/0.3969, allocations: 3.302 MB / 0.528 GB, free: 7.586 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.024e-05/0.3969, allocations: 4 kB / 0.528 GB, free: 7.582 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001926/0.3988, allocations: 339.6 kB / 0.5283 GB, free: 7.25 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006484/0.3994, allocations: 204.3 kB / 0.5285 GB, free: 7.035 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001606/0.3996, allocations: 51.97 kB / 0.5286 GB, free: 6.984 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007742/0.4073, allocations: 7.281 MB / 0.5357 GB, free: 15.19 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.185e-06/0.4074, allocations: 7.938 kB / 0.5357 GB, free: 15.18 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005288/0.4126, allocations: 2.618 MB / 0.5383 GB, free: 12.5 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008784/0.4135, allocations: 262.9 kB / 0.5385 GB, free: 12.25 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003515/0.4139, allocations: 47.98 kB / 0.5386 GB, free: 12.2 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001074/0.4149, allocations: 56.22 kB / 0.5386 GB, free: 12.14 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003289/0.4153, allocations: 113 kB / 0.5387 GB, free: 12.04 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001167/0.4154, allocations: 43.98 kB / 0.5388 GB, free: 11.99 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.001305/0.4167, allocations: 0.6572 MB / 0.5394 GB, free: 11.33 MB / 446.1 MB Notification: Performance of sort global known variables: time 9e-08/0.4167, allocations: 0 / 0.5394 GB, free: 11.33 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.002565/0.4193, allocations: 0.5468 MB / 0.5399 GB, free: 10.78 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 26 (inertia.phi,inertia.w,meterDC.pav,generator.i_s[1],generator.i_s[2],generator.i_s[3],generator.i_rd[1],generator.i_rq[1],inverter2.vDC1,line.v[1,2],line.v[1,3],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],PI.x) * 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 (137): * Single equations (assignments): 131 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 5 systems {(1,1,100.0%), (1,1,100.0%), (1,8,100.0%), (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.0004849/0.4197, allocations: 184.8 kB / 0.5401 GB, free: 10.6 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.006546/0.4263, allocations: 3.154 MB / 0.5432 GB, free: 7.352 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 6.583e-06/0.4263, allocations: 4 kB / 0.5432 GB, free: 7.348 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002776/0.4291, allocations: 1.356 MB / 0.5445 GB, free: 5.926 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002037/0.4311, allocations: 312.4 kB / 0.5448 GB, free: 5.621 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009615/0.4407, allocations: 4.659 MB / 0.5494 GB, free: 0.9219 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001944/0.4427, allocations: 0.9889 MB / 0.5503 GB, free: 15.9 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.001662/0.4443, allocations: 436.1 kB / 0.5507 GB, free: 15.47 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005138/0.4448, allocations: 108.5 kB / 0.5508 GB, free: 15.36 MB / 462.1 MB Notification: Performance of SimCode: time 9.82e-07/0.4448, allocations: 0 / 0.5508 GB, free: 15.36 MB / 462.1 MB Notification: Performance of Templates: time 0.05297/0.4978, allocations: 26.88 MB / 0.5771 GB, free: 4.836 MB / 478.1 MB " [Timeout remaining time 659] make -j1 -f PowerSystems_PowerSystems.Examples.Wind.WindTurbine_PSGI.makefile [Timeout 660] (rm -f PowerSystems_PowerSystems.Examples.Wind.WindTurbine_PSGI.pipe ; mkfifo PowerSystems_PowerSystems.Examples.Wind.WindTurbine_PSGI.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.Wind.WindTurbine_PSGI.pipe >> ../files/PowerSystems_PowerSystems.Examples.Wind.WindTurbine_PSGI.sim & ./PowerSystems_PowerSystems.Examples.Wind.WindTurbine_PSGI -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.Wind.WindTurbine_PSGI.pipe 2>&1) [Timeout 480] [Calling os._exit(0), Time elapsed: 6.149301912635565] Failed to read output from testmodel.py, exit status != 0: 0.507773868739605 0.52331925 0.24551829400000003 Calling exit ...