Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.Wind.WindTurbine_PSGR.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.00191/0.00191, allocations: 84.7 kB / 20.68 MB, free: 1.02 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.00209/0.00209, allocations: 163.1 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.394/1.394, allocations: 177.1 MB / 204.3 MB, free: 9.176 MB / 190.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems master/package.mo): time 0.1746/0.1746, allocations: 29.44 MB / 290.1 MB, free: 3.277 MB / 270.1 MB " [Timeout remaining time 180] Using package PowerSystems with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems master/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_PSGR,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="Time|meter.i.1.|meter.i.2.|meter.i.3.|meter.p.1.|meter.p.2.|meter.p.3.|meter.v.1.|meter.v.2.|meter.v.3.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.Wind.WindTurbine_PSGR") translateModel(PowerSystems.Examples.Wind.WindTurbine_PSGR,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="Time|meter.i.1.|meter.i.2.|meter.i.3.|meter.p.1.|meter.p.2.|meter.p.3.|meter.v.1.|meter.v.2.|meter.v.3.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.Wind.WindTurbine_PSGR") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.353e-06/1.353e-06, allocations: 0 / 430.7 MB, free: 1.941 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.301e-05/2.437e-05, allocations: 5.375 kB / 430.7 MB, free: 1.938 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Wind.WindTurbine_PSGR): time 0.01267/0.0127, allocations: 10.16 MB / 440.9 MB, free: 7.73 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.01107/0.02377, allocations: 6.486 MB / 447.4 MB, free: 1.227 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001236/0.025, allocations: 63.44 kB / 447.4 MB, free: 1.164 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.2154/0.2404, allocations: 14.33 MB / 461.7 MB, free: 15.57 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002389/0.2428, allocations: 1.153 MB / 462.9 MB, free: 15.3 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001563/0.2444, allocations: 0.7144 MB / 463.6 MB, free: 15.06 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.00519/0.2496, allocations: 4.093 MB / 467.7 MB, free: 13.18 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001131/0.2507, allocations: 0.8403 MB / 468.5 MB, free: 12.64 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00178/0.2525, allocations: 1.44 MB / 470 MB, free: 11.88 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001696/0.2542, allocations: 1.365 MB / 471.4 MB, free: 11.26 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002494/0.2544, allocations: 145.4 kB / 471.5 MB, free: 11.26 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00103/0.2555, allocations: 0.5495 MB / 472 MB, free: 11.07 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006435/0.2561, allocations: 0.9519 MB / 473 MB, free: 10.5 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006738/0.2568, allocations: 0.6626 MB / 473.7 MB, free: 10.19 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002708/0.2595, allocations: 2.551 MB / 476.2 MB, free: 8.66 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.25e-06/0.2595, allocations: 3.938 kB / 476.2 MB, free: 8.656 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.483e-06/0.2595, allocations: 0 / 476.2 MB, free: 8.656 MB / 366.1 MB Notification: Performance of Transformations before backend: time 4.101e-05/0.2595, allocations: 0 / 476.2 MB, free: 8.656 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: 397 * Number of variables: 397 Notification: Performance of Generate backend data structure: time 0.003612/0.2631, allocations: 2.128 MB / 478.3 MB, free: 6.875 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.696e-05/0.2632, allocations: 15.98 kB / 478.4 MB, free: 6.859 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002169/0.2653, allocations: 380.3 kB / 478.7 MB, free: 6.488 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00211/0.2675, allocations: 1.191 MB / 479.9 MB, free: 5.316 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.075e-05/0.2675, allocations: 113.8 kB / 480 MB, free: 5.215 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004606/0.268, allocations: 226.9 kB / 480.3 MB, free: 5 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002484/0.2705, allocations: 2.145 MB / 482.4 MB, free: 2.773 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.04e-05/0.2705, allocations: 11.05 kB / 482.4 MB, free: 2.766 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001323/0.2706, allocations: 59.59 kB / 482.5 MB, free: 2.711 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005741/0.2712, allocations: 182.7 kB / 482.6 MB, free: 2.531 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002411/0.2736, allocations: 1.747 MB / 484.4 MB, free: 0.8047 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.01119/0.2848, allocations: 7.445 MB / 491.8 MB, free: 9.219 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002314/0.2871, allocations: 1.29 MB / 493.1 MB, free: 7.934 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001421/0.2885, allocations: 0.7452 MB / 493.9 MB, free: 7.188 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.384e-05/0.2886, allocations: 16.94 kB / 493.9 MB, free: 7.172 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.386e-05/0.2887, allocations: 51.56 kB / 493.9 MB, free: 7.113 MB / 382.1 MB Notification: Performance of pre-optimization done (n=122): time 3.437e-06/0.2887, allocations: 0 / 493.9 MB, free: 7.113 MB / 382.1 MB Notification: Performance of matching and sorting (n=137): time 0.011/0.2997, allocations: 4.952 MB / 498.9 MB, free: 2.156 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.791e-05/0.2997, allocations: 97.8 kB / 499 MB, free: 2.043 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001259/0.301, allocations: 0.9824 MB / 500 MB, free: 1.043 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001028/0.3011, allocations: 56.42 kB / 0.4883 GB, free: 0.9844 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005837/0.3017, allocations: 0.7808 MB / 0.4891 GB, free: 200 kB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004496/0.3021, allocations: 0.5201 MB / 0.4896 GB, free: 15.68 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004771/0.3026, allocations: 307.5 kB / 0.4899 GB, free: 15.37 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.000122/0.3027, allocations: 305.1 kB / 0.4902 GB, free: 15.07 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001182/0.3039, allocations: 0.7197 MB / 0.4909 GB, free: 14.35 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001645/0.3055, allocations: 1.184 MB / 0.492 GB, free: 12.98 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.01252/0.3181, allocations: 4.904 MB / 0.4968 GB, free: 7.957 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.295e-05/0.3181, allocations: 8 kB / 0.4968 GB, free: 7.949 MB / 398.1 MB Notification: Performance of matching and sorting (n=225) (initialization): time 0.0078/0.3259, allocations: 3.337 MB / 0.5001 GB, free: 4.773 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.302e-05/0.3259, allocations: 12 kB / 0.5001 GB, free: 4.762 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.425e-05/0.3259, allocations: 12 kB / 0.5001 GB, free: 4.75 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004042/0.33, allocations: 1.247 MB / 0.5013 GB, free: 3.496 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001353/0.3313, allocations: 312.2 kB / 0.5016 GB, free: 3.211 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02249/0.3538, allocations: 15.24 MB / 0.5165 GB, free: 3.531 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001772/0.3556, allocations: 87.8 kB / 0.5166 GB, free: 3.449 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002381/0.3558, allocations: 68 kB / 0.5166 GB, free: 3.383 MB / 414.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 5.051577893736758e-5 * $DER.generator.i_s[3] = 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: 63 * 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 (155): * Single equations (assignments): 150 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * 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): 3 systems {(1,1,100.0%), (1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(5,23), (21,20)} Notification: Performance of prepare postOptimizeDAE: time 0.001334/0.3572, allocations: 0.5248 MB / 0.5172 GB, free: 2.871 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003744/0.3575, allocations: 143.1 kB / 0.5173 GB, free: 2.73 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003694/0.3612, allocations: 1.831 MB / 0.5191 GB, free: 0.8711 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.327e-05/0.3612, allocations: 12 kB / 0.5191 GB, free: 0.8594 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.945e-06/0.3613, allocations: 4 kB / 0.5191 GB, free: 0.8555 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.665e-05/0.3613, allocations: 11.91 kB / 0.5191 GB, free: 0.8438 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007643/0.3689, allocations: 3.164 MB / 0.5222 GB, free: 13.66 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.03e-05/0.3689, allocations: 4.25 kB / 0.5222 GB, free: 13.66 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001741/0.3707, allocations: 321.2 kB / 0.5225 GB, free: 13.36 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006774/0.3713, allocations: 207.3 kB / 0.5227 GB, free: 13.14 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001382/0.3715, allocations: 51.97 kB / 0.5228 GB, free: 13.09 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006979/0.3785, allocations: 7.282 MB / 0.5299 GB, free: 5.305 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.046e-06/0.3785, allocations: 0 / 0.5299 GB, free: 5.305 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004618/0.3831, allocations: 2.519 MB / 0.5323 GB, free: 2.734 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007058/0.3838, allocations: 258.9 kB / 0.5326 GB, free: 2.48 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002089/0.384, allocations: 47.98 kB / 0.5326 GB, free: 2.434 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007806/0.3848, allocations: 60.22 kB / 0.5327 GB, free: 2.375 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002621/0.385, allocations: 105 kB / 0.5328 GB, free: 2.273 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001243/0.3852, allocations: 39.98 kB / 0.5328 GB, free: 2.234 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0009837/0.3861, allocations: 0.6366 MB / 0.5334 GB, free: 1.59 MB / 430.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.3861, allocations: 0 / 0.5334 GB, free: 1.59 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.001808/0.388, allocations: 0.5116 MB / 0.5339 GB, free: 1.078 MB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 25 (inertia.phi,inertia.w,generator.i_s[1],generator.i_s[2],generator.i_s[3],generator.i_rd[1],generator.i_rq[1],meterDC.pav,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]) * 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 (126): * Single equations (assignments): 120 * 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.0004109/0.3884, allocations: 173 kB / 0.5341 GB, free: 0.9023 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.005419/0.3938, allocations: 2.772 MB / 0.5368 GB, free: 14.07 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 4.098e-06/0.3938, allocations: 0 / 0.5368 GB, free: 14.07 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00232/0.3961, allocations: 1.345 MB / 0.5381 GB, free: 12.66 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001586/0.3977, allocations: 294.9 kB / 0.5384 GB, free: 12.38 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007523/0.4052, allocations: 4.499 MB / 0.5428 GB, free: 7.824 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00118/0.4064, allocations: 0.9563 MB / 0.5437 GB, free: 6.836 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.001238/0.4076, allocations: 439.5 kB / 0.5441 GB, free: 6.402 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003842/0.408, allocations: 112.5 kB / 0.5443 GB, free: 6.293 MB / 446.1 MB Notification: Performance of SimCode: time 9.21e-07/0.408, allocations: 0 / 0.5443 GB, free: 6.293 MB / 446.1 MB Notification: Performance of Templates: time 0.04738/0.4554, allocations: 25.32 MB / 0.569 GB, free: 13.32 MB / 478.1 MB " [Timeout remaining time 660] make -j1 -f PowerSystems_latest_PowerSystems.Examples.Wind.WindTurbine_PSGR.makefile [Timeout 660] (rm -f PowerSystems_latest_PowerSystems.Examples.Wind.WindTurbine_PSGR.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.Wind.WindTurbine_PSGR.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.Wind.WindTurbine_PSGR.pipe >> ../files/PowerSystems_latest_PowerSystems.Examples.Wind.WindTurbine_PSGR.sim & ./PowerSystems_latest_PowerSystems.Examples.Wind.WindTurbine_PSGR -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > PowerSystems_latest_PowerSystems.Examples.Wind.WindTurbine_PSGR.pipe 2>&1) [Timeout 480] [Calling os._exit(0), Time elapsed: 5.6234718561172485] Failed to read output from testmodel.py, exit status != 0: 0.46473484113812447 0.479283114 0.216647794 Calling exit ...