Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.Wind.WindTurbine_PSGR.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00157/0.00157, allocations: 114.2 kB / 19.04 MB, free: 3.281 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001747/0.001747, allocations: 184.5 kB / 22.21 MB, free: 116 kB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.558/1.558, allocations: 225.6 MB / 250.8 MB, free: 13.39 MB / 206.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.1894/0.1894, allocations: 38.52 MB / 344.5 MB, free: 2.527 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(PowerSystems.Examples.Wind.WindTurbine_PSGR,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.Wind.WindTurbine_PSGR") translateModel(PowerSystems.Examples.Wind.WindTurbine_PSGR,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.Wind.WindTurbine_PSGR") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001951/0.001951, allocations: 63.89 kB / 482 MB, free: 12.07 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3754/0.3773, allocations: 61.24 MB / 0.5305 GB, free: 5.711 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Wind.WindTurbine_PSGR): time 0.01328/0.3906, allocations: 11.17 MB / 0.5415 GB, free: 13.42 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01438/0.405, allocations: 7.136 MB / 0.5484 GB, free: 7.711 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001897/0.4069, allocations: 48.91 kB / 0.5485 GB, free: 7.691 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.02775/0.4346, allocations: 13.51 MB / 0.5617 GB, free: 12.86 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004253/0.4389, allocations: 1.116 MB / 0.5628 GB, free: 11.74 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002794/0.4417, allocations: 0.655 MB / 0.5634 GB, free: 11.09 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.00761/0.4493, allocations: 3.981 MB / 0.5673 GB, free: 7.098 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001389/0.4507, allocations: 0.7035 MB / 0.568 GB, free: 6.371 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002092/0.4528, allocations: 1.094 MB / 0.569 GB, free: 5.273 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002401/0.4552, allocations: 1.515 MB / 0.5705 GB, free: 3.754 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002858/0.4554, allocations: 144 kB / 0.5707 GB, free: 3.613 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00127/0.4567, allocations: 0.5344 MB / 0.5712 GB, free: 3.078 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000997/0.4577, allocations: 0.9038 MB / 0.5721 GB, free: 2.172 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001187/0.4589, allocations: 0.9562 MB / 0.573 GB, free: 1.211 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003515/0.4624, allocations: 2.514 MB / 0.5754 GB, free: 14.69 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.38e-06/0.4624, allocations: 0 / 0.5754 GB, free: 14.69 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.473e-06/0.4624, allocations: 0 / 0.5754 GB, free: 14.69 MB / 430.1 MB Notification: Performance of Transformations before backend: time 2.664e-05/0.4624, allocations: 0 / 0.5754 GB, free: 14.69 MB / 430.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.004536/0.467, allocations: 2.209 MB / 0.5776 GB, free: 12.42 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.094e-05/0.467, allocations: 11.89 kB / 0.5776 GB, free: 12.41 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001649/0.4687, allocations: 327.4 kB / 0.5779 GB, free: 12.09 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002661/0.4713, allocations: 1.296 MB / 0.5792 GB, free: 10.75 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.7e-05/0.4714, allocations: 98.66 kB / 0.5793 GB, free: 10.65 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005368/0.472, allocations: 239.8 kB / 0.5795 GB, free: 10.41 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003439/0.4754, allocations: 2.161 MB / 0.5816 GB, free: 8.145 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.213e-05/0.4754, allocations: 8 kB / 0.5816 GB, free: 8.137 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001604/0.4756, allocations: 55.97 kB / 0.5817 GB, free: 8.082 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005804/0.4762, allocations: 182.7 kB / 0.5819 GB, free: 7.902 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00302/0.4792, allocations: 1.756 MB / 0.5836 GB, free: 6.141 MB / 430.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.01232/0.4915, allocations: 8.587 MB / 0.592 GB, free: 13.13 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002561/0.4941, allocations: 1.756 MB / 0.5937 GB, free: 11.25 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001326/0.4954, allocations: 0.7255 MB / 0.5944 GB, free: 10.52 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.953e-05/0.4955, allocations: 17.06 kB / 0.5944 GB, free: 10.5 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.41e-05/0.4955, allocations: 47.56 kB / 0.5944 GB, free: 10.45 MB / 446.1 MB Notification: Performance of pre-optimization done (n=122): time 3.186e-06/0.4955, allocations: 0 / 0.5944 GB, free: 10.45 MB / 446.1 MB Notification: Performance of matching and sorting (n=150): time 0.01949/0.515, allocations: 7.593 MB / 0.6019 GB, free: 2.688 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.918e-05/0.5151, allocations: 90.42 kB / 0.602 GB, free: 2.582 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001541/0.5166, allocations: 1.037 MB / 0.603 GB, free: 1.531 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001362/0.5168, allocations: 53.7 kB / 0.603 GB, free: 1.473 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006304/0.5174, allocations: 0.7778 MB / 0.6038 GB, free: 0.6836 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005332/0.5179, allocations: 0.5616 MB / 0.6043 GB, free: 120 kB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000549/0.5185, allocations: 339.5 kB / 0.6046 GB, free: 15.78 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001422/0.5186, allocations: 301.1 kB / 0.6049 GB, free: 15.48 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001306/0.5199, allocations: 0.7769 MB / 0.6057 GB, free: 14.7 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001671/0.5216, allocations: 1.251 MB / 0.6069 GB, free: 13.26 MB / 462.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.01636/0.538, allocations: 5.681 MB / 0.6125 GB, free: 7.398 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.818e-05/0.538, allocations: 7.984 kB / 0.6125 GB, free: 7.391 MB / 462.1 MB Notification: Performance of matching and sorting (n=236) (initialization): time 0.009658/0.5477, allocations: 3.856 MB / 0.6162 GB, free: 3.492 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.881e-05/0.5477, allocations: 12 kB / 0.6162 GB, free: 3.48 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.321e-05/0.5477, allocations: 24.08 kB / 0.6163 GB, free: 3.457 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005915/0.5536, allocations: 1.74 MB / 0.618 GB, free: 1.703 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001151/0.5548, allocations: 259.6 kB / 0.6182 GB, free: 1.449 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02841/0.5832, allocations: 18.51 MB / 0.6363 GB, free: 14.37 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001522/0.5847, allocations: 79.94 kB / 0.6364 GB, free: 14.29 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001678/0.5849, allocations: 83.92 kB / 0.6364 GB, free: 14.21 MB / 494.1 MB Warning: The initial conditions are over specified. The following 6 initial equations are redundant, so they are removed from the initialization system: inverter2.switch_dq0[1] = 1.224744871391589 * cos(select2.alpha0) * select2.v0 $DER.generator.psi_rq[1] = 0.0 $DER.generator.psi_s[2] = 0.0 $DER.generator.psi_s[1] = 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 (130): * Single equations (assignments): 126 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(2,11,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(5,49), (21,20)} Notification: Performance of prepare postOptimizeDAE: time 0.001113/0.586, allocations: 0.5289 MB / 0.637 GB, free: 13.67 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003402/0.5863, allocations: 159 kB / 0.6371 GB, free: 13.51 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00541/0.5918, allocations: 2.397 MB / 0.6395 GB, free: 11.04 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.701e-05/0.5918, allocations: 19.94 kB / 0.6395 GB, free: 11.02 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.199e-05/0.5918, allocations: 11.94 kB / 0.6395 GB, free: 11.01 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.537e-05/0.5918, allocations: 7.969 kB / 0.6395 GB, free: 11 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009278/0.6011, allocations: 4.305 MB / 0.6437 GB, free: 6.562 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.969e-06/0.6011, allocations: 0 / 0.6437 GB, free: 6.562 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001686/0.6028, allocations: 307.9 kB / 0.644 GB, free: 6.262 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002536/0.6053, allocations: 0.5501 MB / 0.6445 GB, free: 5.699 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000206/0.6055, allocations: 51.97 kB / 0.6446 GB, free: 5.648 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01141/0.6169, allocations: 10.15 MB / 0.6545 GB, free: 10.8 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.384e-06/0.6169, allocations: 4.031 kB / 0.6545 GB, free: 10.79 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006894/0.6238, allocations: 3.197 MB / 0.6576 GB, free: 7.484 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009721/0.6248, allocations: 359.9 kB / 0.658 GB, free: 7.113 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002351/0.625, allocations: 51.92 kB / 0.658 GB, free: 7.062 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008549/0.6259, allocations: 63.94 kB / 0.6581 GB, free: 7 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003665/0.6263, allocations: 113.1 kB / 0.6582 GB, free: 6.891 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001083/0.6264, allocations: 47.97 kB / 0.6582 GB, free: 6.844 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.001088/0.6274, allocations: 0.6931 MB / 0.6589 GB, free: 6.145 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.2e-07/0.6274, allocations: 3.938 kB / 0.6589 GB, free: 6.141 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.002771/0.6302, allocations: 0.5741 MB / 0.6595 GB, free: 5.566 MB / 0.4981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * Number of states: 23 (inertia.w,generator.phi_el,generator.i_s[3],generator.psi_s[1],generator.psi_s[2],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 (119): * Single equations (assignments): 113 * 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): 4 systems {(2,9,100.0%), (1,1,100.0%), (1,8,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,11)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0004846/0.6307, allocations: 174.1 kB / 0.6596 GB, free: 5.387 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.006241/0.6369, allocations: 3.004 MB / 0.6626 GB, free: 2.336 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 9.218e-06/0.637, allocations: 0 / 0.6626 GB, free: 2.336 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.002898/0.6399, allocations: 1.524 MB / 0.6641 GB, free: 0.7461 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001922/0.6418, allocations: 325.4 kB / 0.6644 GB, free: 444 kB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009546/0.6513, allocations: 5.122 MB / 0.6694 GB, free: 11.25 MB / 0.5138 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001792/0.6531, allocations: 1.585 MB / 0.6709 GB, free: 9.629 MB / 0.5138 GB Notification: Performance of simCode: alias equations: time 0.001352/0.6545, allocations: 408.5 kB / 0.6713 GB, free: 9.223 MB / 0.5138 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003471/0.6548, allocations: 103.4 kB / 0.6714 GB, free: 9.121 MB / 0.5138 GB Notification: Performance of SimCode: time 2.374e-06/0.6548, allocations: 0 / 0.6714 GB, free: 9.121 MB / 0.5138 GB Notification: Performance of Templates: time 0.05917/0.714, allocations: 33.01 MB / 0.7036 GB, free: 8.273 MB / 0.545 GB " [Timeout remaining time 659] make -j1 -f PowerSystems_PowerSystems.Examples.Wind.WindTurbine_PSGR.makefile [Timeout 660] (rm -f PowerSystems_PowerSystems.Examples.Wind.WindTurbine_PSGR.pipe ; mkfifo PowerSystems_PowerSystems.Examples.Wind.WindTurbine_PSGR.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.Wind.WindTurbine_PSGR.pipe >> ../files/PowerSystems_PowerSystems.Examples.Wind.WindTurbine_PSGR.sim & ./PowerSystems_PowerSystems.Examples.Wind.WindTurbine_PSGR -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.Wind.WindTurbine_PSGR.pipe 2>&1) [Timeout 480] [Calling os._exit(0), Time elapsed: 6.458703520707786]