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.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.000976/0.000976, allocations: 71.77 kB / 21.69 MB, free: 2.859 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.001114/0.001114, allocations: 161.9 kB / 24.99 MB, free: 8.336 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.9595/0.9595, allocations: 177.1 MB / 205.3 MB, free: 5.609 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.2974/0.2974, allocations: 29.42 MB / 291.2 MB, free: 2.445 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_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 1.703e-06/1.703e-06, allocations: 0 / 369.6 MB, free: 11.33 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.128e-05/3.298e-05, allocations: 2.312 kB / 369.6 MB, free: 11.33 MB / 346.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Wind.WindTurbine_PSGR): time 0.01187/0.01191, allocations: 10.92 MB / 380.5 MB, free: 368 kB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.01315/0.02505, allocations: 6.836 MB / 387.4 MB, free: 9.508 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001723/0.02678, allocations: 63.5 kB / 387.4 MB, free: 9.445 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.02457/0.05135, allocations: 14.58 MB / 402 MB, free: 10.84 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003833/0.05518, allocations: 1.158 MB / 403.2 MB, free: 9.68 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001867/0.05705, allocations: 0.7052 MB / 403.9 MB, free: 8.973 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.005114/0.06216, allocations: 4.116 MB / 408 MB, free: 4.848 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001345/0.06351, allocations: 0.8357 MB / 408.8 MB, free: 3.992 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001859/0.06537, allocations: 1.449 MB / 410.3 MB, free: 2.539 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001704/0.06707, allocations: 1.379 MB / 411.6 MB, free: 1.156 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003591/0.06743, allocations: 144 kB / 411.8 MB, free: 1.016 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009486/0.06838, allocations: 0.5576 MB / 412.3 MB, free: 468 kB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0007503/0.06913, allocations: 0.9468 MB / 413.3 MB, free: 15.51 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0009104/0.07004, allocations: 0.6703 MB / 414 MB, free: 14.84 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00231/0.07235, allocations: 1.885 MB / 415.8 MB, free: 12.95 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.198e-06/0.07235, allocations: 0 / 415.8 MB, free: 12.95 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.432e-06/0.07235, allocations: 3.938 kB / 415.9 MB, free: 12.94 MB / 394.7 MB Notification: Performance of Transformations before backend: time 7.161e-05/0.07243, allocations: 4 kB / 415.9 MB, free: 12.94 MB / 394.7 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.003014/0.07544, allocations: 2.26 MB / 418.1 MB, free: 10.62 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.866e-05/0.07548, allocations: 15.92 kB / 418.1 MB, free: 10.61 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001291/0.07677, allocations: 0.5148 MB / 418.6 MB, free: 10.09 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001697/0.07847, allocations: 1.204 MB / 419.8 MB, free: 8.848 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.91e-05/0.07853, allocations: 106.7 kB / 420 MB, free: 8.742 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003616/0.07889, allocations: 223.7 kB / 420.2 MB, free: 8.523 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001837/0.08072, allocations: 1.467 MB / 421.6 MB, free: 6.914 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.96e-05/0.08076, allocations: 3.953 kB / 421.6 MB, free: 6.91 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001072/0.08087, allocations: 59.98 kB / 421.7 MB, free: 6.852 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003638/0.08123, allocations: 186.6 kB / 421.9 MB, free: 6.668 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001323/0.08256, allocations: 0.7578 MB / 422.6 MB, free: 5.902 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006618/0.08918, allocations: 7.846 MB / 430.5 MB, free: 13.73 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001127/0.0903, allocations: 0.8387 MB / 431.3 MB, free: 12.88 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006087/0.09091, allocations: 427.3 kB / 431.7 MB, free: 12.45 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.244e-05/0.09097, allocations: 24.94 kB / 431.8 MB, free: 12.42 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.921e-05/0.091, allocations: 46.39 kB / 431.8 MB, free: 12.37 MB / 410.7 MB Notification: Performance of pre-optimization done (n=122): time 2.505e-06/0.09101, allocations: 0 / 431.8 MB, free: 12.37 MB / 410.7 MB Notification: Performance of matching and sorting (n=137): time 0.004536/0.09554, allocations: 3.155 MB / 435 MB, free: 9.18 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.399e-05/0.09559, allocations: 106.3 kB / 435.1 MB, free: 9.055 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007876/0.09637, allocations: 0.97 MB / 436 MB, free: 8.066 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 6.664e-05/0.09644, allocations: 45.7 kB / 436.1 MB, free: 8.016 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004233/0.09686, allocations: 0.8584 MB / 436.9 MB, free: 7.145 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003369/0.0972, allocations: 0.5308 MB / 437.5 MB, free: 6.609 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003358/0.09754, allocations: 325.1 kB / 437.8 MB, free: 6.281 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001333/0.09767, allocations: 480.7 kB / 438.3 MB, free: 5.809 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004824/0.09815, allocations: 295.8 kB / 438.6 MB, free: 5.52 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007649/0.09892, allocations: 0.953 MB / 439.5 MB, free: 4.305 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.002723/0.1016, allocations: 2.318 MB / 441.8 MB, free: 1.738 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.149e-05/0.1017, allocations: 4 kB / 441.8 MB, free: 1.734 MB / 410.7 MB Notification: Performance of matching and sorting (n=225) (initialization): time 0.1623/0.264, allocations: 2.402 MB / 444.2 MB, free: 108.1 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.393e-05/0.264, allocations: 14.91 kB / 444.2 MB, free: 108.1 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.596e-05/0.2641, allocations: 15.19 kB / 444.3 MB, free: 108.1 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003457/0.2675, allocations: 1.211 MB / 445.5 MB, free: 108.1 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009824/0.2685, allocations: 318.6 kB / 445.8 MB, free: 108.1 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01074/0.2792, allocations: 13.11 MB / 458.9 MB, free: 98.74 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008928/0.2801, allocations: 68.08 kB / 459 MB, free: 98.72 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001198/0.2802, allocations: 78.39 kB / 459 MB, free: 98.7 MB / 410.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 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.000534/0.2808, allocations: 267 kB / 459.3 MB, free: 98.48 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002269/0.281, allocations: 193.7 kB / 459.5 MB, free: 98.46 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001758/0.2828, allocations: 1.153 MB / 460.6 MB, free: 98.02 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.386e-06/0.2828, allocations: 12.84 kB / 460.6 MB, free: 98.02 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.945e-06/0.2828, allocations: 8 kB / 460.7 MB, free: 98.02 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.306e-05/0.2828, allocations: 6.938 kB / 460.7 MB, free: 98.02 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003456/0.2862, allocations: 2.433 MB / 463.1 MB, free: 96.96 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.8e-06/0.2863, allocations: 3.938 kB / 463.1 MB, free: 96.96 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001087/0.2873, allocations: 320.1 kB / 463.4 MB, free: 96.94 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003623/0.2877, allocations: 179.9 kB / 463.6 MB, free: 96.86 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.235e-05/0.2878, allocations: 49.5 kB / 463.6 MB, free: 96.84 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002824/0.2906, allocations: 9.173 MB / 472.8 MB, free: 87.73 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.106e-06/0.2906, allocations: 7.281 kB / 472.8 MB, free: 87.72 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002072/0.2927, allocations: 1.606 MB / 474.4 MB, free: 87.04 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003447/0.293, allocations: 239.6 kB / 474.7 MB, free: 86.93 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001425/0.2932, allocations: 43.08 kB / 474.7 MB, free: 86.91 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004834/0.2937, allocations: 56.61 kB / 474.8 MB, free: 86.89 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001915/0.2939, allocations: 101.2 kB / 474.9 MB, free: 86.87 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.447e-05/0.2939, allocations: 40.98 kB / 474.9 MB, free: 86.86 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0004972/0.2944, allocations: 0.5508 MB / 475.4 MB, free: 86.62 MB / 410.7 MB Notification: Performance of sort global known variables: time 7e-08/0.2944, allocations: 0 / 475.4 MB, free: 86.62 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001371/0.2958, allocations: 0.5093 MB / 476 MB, free: 86.56 MB / 410.7 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.0003171/0.2961, allocations: 191.9 kB / 476.1 MB, free: 86.43 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.002609/0.2987, allocations: 2.405 MB / 478.5 MB, free: 85.1 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.296e-06/0.2987, allocations: 0 / 478.5 MB, free: 85.1 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001026/0.2997, allocations: 1.345 MB / 479.9 MB, free: 84.11 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009654/0.3007, allocations: 292 kB / 480.2 MB, free: 83.99 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005178/0.3059, allocations: 3.998 MB / 484.2 MB, free: 81.77 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004075/0.3063, allocations: 488.3 kB / 484.6 MB, free: 81.64 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0007503/0.307, allocations: 365.2 kB / 485 MB, free: 81.57 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002888/0.3073, allocations: 109.1 kB / 485.1 MB, free: 81.55 MB / 410.7 MB Notification: Performance of SimCode: time 8.92e-07/0.3073, allocations: 0 / 485.1 MB, free: 81.55 MB / 410.7 MB Notification: Performance of Templates: time 0.03017/0.3375, allocations: 25.63 MB / 0.4988 GB, free: 71.97 MB / 410.7 MB " [Timeout remaining time 660] 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=240 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.Wind.WindTurbine_PSGR.pipe 2>&1) [Timeout 240] [Calling os._exit(0), Time elapsed: 3.8753555009607226]