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.0007834/0.0007834, allocations: 83.62 kB / 21.43 MB, free: 3.133 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.003357/0.003357, allocations: 158.6 kB / 24.7 MB, free: 8.891 MB / 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.8595/0.8595, allocations: 177.1 MB / 205 MB, free: 5.727 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.2101/0.2101, allocations: 29.42 MB / 290.8 MB, free: 2.414 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.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.463e-06/1.463e-06, allocations: 0 / 431.5 MB, free: 13.09 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.465e-05/2.611e-05, allocations: 4.109 kB / 431.5 MB, free: 13.09 MB / 410.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Wind.WindTurbine_PSGI): time 0.009087/0.009113, allocations: 10.21 MB / 441.7 MB, free: 2.824 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.1815/0.1906, allocations: 6.48 MB / 448.2 MB, free: 44.07 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001014/0.1916, allocations: 70 kB / 448.2 MB, free: 44.07 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.01281/0.2044, allocations: 14.31 MB / 462.5 MB, free: 42.07 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002365/0.2068, allocations: 1.177 MB / 463.7 MB, free: 41.57 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001353/0.2081, allocations: 0.7433 MB / 464.5 MB, free: 41.29 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.003782/0.2119, allocations: 4.205 MB / 468.7 MB, free: 39.96 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001071/0.213, allocations: 0.8633 MB / 469.5 MB, free: 39.57 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00164/0.2146, allocations: 1.484 MB / 471 MB, free: 39.04 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001358/0.216, allocations: 1.402 MB / 472.4 MB, free: 38.79 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001745/0.2161, allocations: 151.2 kB / 472.6 MB, free: 38.79 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008648/0.217, allocations: 0.5616 MB / 473.1 MB, free: 38.7 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0005129/0.2175, allocations: 0.9642 MB / 474.1 MB, free: 38.36 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0005103/0.218, allocations: 0.6764 MB / 474.8 MB, free: 38.11 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002828/0.2209, allocations: 2.627 MB / 477.4 MB, free: 37.33 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.039e-06/0.2209, allocations: 0 / 477.4 MB, free: 37.33 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.593e-06/0.2209, allocations: 1.094 kB / 477.4 MB, free: 37.33 MB / 410.7 MB Notification: Performance of Transformations before backend: time 4.863e-05/0.2209, allocations: 3.938 kB / 477.4 MB, free: 37.32 MB / 410.7 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.003628/0.2245, allocations: 2.19 MB / 479.6 MB, free: 36.07 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.73e-05/0.2246, allocations: 17.86 kB / 479.6 MB, free: 36.07 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001285/0.2259, allocations: 398.6 kB / 480 MB, free: 35.95 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002058/0.2279, allocations: 1.237 MB / 481.2 MB, free: 35.34 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.205e-05/0.228, allocations: 108.5 kB / 481.3 MB, free: 35.3 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004232/0.2284, allocations: 241.7 kB / 481.6 MB, free: 35.23 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002889/0.2313, allocations: 2.192 MB / 483.8 MB, free: 34.32 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.945e-05/0.2313, allocations: 4.828 kB / 483.8 MB, free: 34.32 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001082/0.2315, allocations: 60.95 kB / 483.8 MB, free: 34.28 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003852/0.2318, allocations: 185.3 kB / 484 MB, free: 34.26 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002431/0.2343, allocations: 1.823 MB / 485.8 MB, free: 33.69 MB / 410.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 preOpt removeSimpleEquations (simulation): time 0.008216/0.2425, allocations: 7.379 MB / 493.2 MB, free: 29.02 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001738/0.2442, allocations: 1.381 MB / 494.6 MB, free: 28.52 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009863/0.2452, allocations: 0.78 MB / 495.4 MB, free: 28.26 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.069e-05/0.2453, allocations: 16.88 kB / 495.4 MB, free: 28.26 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.746e-05/0.2453, allocations: 50.38 kB / 495.4 MB, free: 28.21 MB / 410.7 MB Notification: Performance of pre-optimization done (n=130): time 3.567e-06/0.2453, allocations: 0 / 495.4 MB, free: 28.21 MB / 410.7 MB Notification: Performance of matching and sorting (n=145): time 0.007856/0.2532, allocations: 5.297 MB / 0.489 GB, free: 26.09 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.801e-05/0.2532, allocations: 92.17 kB / 0.4891 GB, free: 26 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009421/0.2542, allocations: 1.017 MB / 0.4901 GB, free: 25.5 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 7.24e-05/0.2542, allocations: 46.98 kB / 0.4901 GB, free: 25.45 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003055/0.2545, allocations: 0.8058 MB / 0.4909 GB, free: 24.73 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002434/0.2548, allocations: 0.5426 MB / 0.4914 GB, free: 24.25 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003034/0.2551, allocations: 330.3 kB / 0.4917 GB, free: 24.07 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.145e-05/0.2551, allocations: 309.1 kB / 0.492 GB, free: 23.76 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007675/0.2559, allocations: 0.7452 MB / 0.4928 GB, free: 23.42 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000896/0.2568, allocations: 1.23 MB / 0.494 GB, free: 22.47 MB / 410.7 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.005324/0.2621, allocations: 4.323 MB / 0.4982 GB, free: 19.22 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.286e-05/0.2621, allocations: 8 kB / 0.4982 GB, free: 19.21 MB / 410.7 MB Notification: Performance of matching and sorting (n=237) (initialization): time 0.004146/0.2663, allocations: 3.626 MB / 0.5017 GB, free: 15.56 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.228e-05/0.2663, allocations: 8 kB / 0.5018 GB, free: 15.55 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.079e-05/0.2663, allocations: 16 kB / 0.5018 GB, free: 15.54 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001987/0.2683, allocations: 1.441 MB / 0.5032 GB, free: 14.08 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005311/0.2688, allocations: 291.5 kB / 0.5035 GB, free: 13.79 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01391/0.2827, allocations: 19.84 MB / 0.5228 GB, free: 9.266 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001231/0.284, allocations: 81.47 kB / 0.5229 GB, free: 9.188 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001105/0.2841, allocations: 75.98 kB / 0.523 GB, free: 9.113 MB / 426.7 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.0009948/0.2851, allocations: 0.53 MB / 0.5235 GB, free: 8.574 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001734/0.2852, allocations: 143.1 kB / 0.5236 GB, free: 8.434 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002151/0.2874, allocations: 1.91 MB / 0.5255 GB, free: 6.496 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.163e-05/0.2874, allocations: 12 kB / 0.5255 GB, free: 6.484 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.029e-06/0.2874, allocations: 4 kB / 0.5255 GB, free: 6.48 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.199e-05/0.2874, allocations: 7.969 kB / 0.5255 GB, free: 6.473 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004286/0.2917, allocations: 3.312 MB / 0.5288 GB, free: 3.078 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.45e-06/0.2917, allocations: 0 / 0.5288 GB, free: 3.078 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008996/0.2926, allocations: 335.6 kB / 0.5291 GB, free: 2.75 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003222/0.2929, allocations: 212 kB / 0.5293 GB, free: 2.527 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.576e-05/0.293, allocations: 51.98 kB / 0.5293 GB, free: 2.477 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004066/0.2971, allocations: 7.28 MB / 0.5364 GB, free: 10.68 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.218e-06/0.2971, allocations: 4.219 kB / 0.5364 GB, free: 10.68 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003298/0.3004, allocations: 2.621 MB / 0.539 GB, free: 7.992 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005781/0.301, allocations: 266.9 kB / 0.5393 GB, free: 7.73 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000122/0.3011, allocations: 51.92 kB / 0.5393 GB, free: 7.68 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004424/0.3015, allocations: 63.88 kB / 0.5394 GB, free: 7.617 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001923/0.3017, allocations: 97.12 kB / 0.5395 GB, free: 7.523 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.887e-05/0.3018, allocations: 39.98 kB / 0.5395 GB, free: 7.484 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0007096/0.3025, allocations: 0.6612 MB / 0.5401 GB, free: 6.816 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.81e-07/0.3025, allocations: 0 / 0.5401 GB, free: 6.816 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.001799/0.3043, allocations: 0.5429 MB / 0.5407 GB, free: 6.273 MB / 442.7 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.0003821/0.3047, allocations: 194.6 kB / 0.5409 GB, free: 6.078 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.00407/0.3087, allocations: 3.151 MB / 0.5439 GB, free: 2.836 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 4.128e-06/0.3088, allocations: 0 / 0.5439 GB, free: 2.836 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001315/0.3101, allocations: 1.36 MB / 0.5453 GB, free: 1.414 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001131/0.3112, allocations: 317.5 kB / 0.5456 GB, free: 1.113 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006103/0.3173, allocations: 4.777 MB / 0.5502 GB, free: 12.27 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008583/0.3182, allocations: 0.9928 MB / 0.5512 GB, free: 11.24 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004865/0.3186, allocations: 120.5 kB / 0.5513 GB, free: 11.12 MB / 458.7 MB Notification: Performance of SimCode: time 2.334e-06/0.3186, allocations: 0 / 0.5513 GB, free: 11.12 MB / 458.7 MB Notification: Performance of Templates: time 0.05018/0.3688, allocations: 60.08 MB / 0.61 GB, free: 15.01 MB / 0.5105 GB " [Timeout remaining time 660] 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] Could not SIGINT process: 2909599. Could not SIGINT process: 2909600. Could not SIGINT process: 2909603. Could not SIGINT process: 2908842. [Calling os._exit(0), Time elapsed: 489.9044586783275] Failed to read output from testmodel.py, exit status != 0: 0.37549293227493763 0.383969011 0.161311341 Calling exit ...