Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.Wind.WindTurbine_IG.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo", uses=false) Using package PowerSystems with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/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_IG,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,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_IG") translateModel(PowerSystems.Examples.Wind.WindTurbine_IG,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,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_IG") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001196/0.001196, allocations: 111.7 kB / 17.06 MB, free: 5.973 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001383/0.001383, allocations: 196 kB / 18 MB, free: 5.051 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.49/1.49, allocations: 222.9 MB / 241.7 MB, free: 15.07 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.1972/0.1972, allocations: 38.03 MB / 329.9 MB, free: 8.738 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0012/0.0012, allocations: 59.91 kB / 458.1 MB, free: 6.848 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4274/0.4286, allocations: 58.06 MB / 0.5041 GB, free: 7.773 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Wind.WindTurbine_IG): time 0.01101/0.4396, allocations: 8.092 MB / 0.512 GB, free: 2.125 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01113/0.4508, allocations: 5.483 MB / 0.5174 GB, free: 14.31 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00146/0.4523, allocations: 30.06 kB / 0.5174 GB, free: 14.3 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01585/0.4682, allocations: 5.235 MB / 0.5225 GB, free: 12.66 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0042/0.4724, allocations: 0.8367 MB / 0.5233 GB, free: 12.21 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00281/0.4753, allocations: 499.2 kB / 0.5238 GB, free: 12 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.006855/0.4821, allocations: 2.525 MB / 0.5263 GB, free: 11.07 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001839/0.484, allocations: 0.6314 MB / 0.5269 GB, free: 10.78 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00237/0.4864, allocations: 0.7714 MB / 0.5276 GB, free: 10.45 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002713/0.4891, allocations: 1.028 MB / 0.5286 GB, free: 9.957 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005428/0.4897, allocations: 103.2 kB / 0.5287 GB, free: 9.957 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001632/0.4914, allocations: 369.2 kB / 0.5291 GB, free: 9.82 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001224/0.4926, allocations: 0.6556 MB / 0.5297 GB, free: 9.406 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001786/0.4944, allocations: 0.6971 MB / 0.5304 GB, free: 8.938 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00359/0.498, allocations: 1.725 MB / 0.5321 GB, free: 7.805 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.132e-06/0.498, allocations: 4 kB / 0.5321 GB, free: 7.801 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.164e-06/0.498, allocations: 1.062 kB / 0.5321 GB, free: 7.801 MB / 398.1 MB Notification: Performance of Transformations before backend: time 0.0001039/0.4982, allocations: 0 / 0.5321 GB, free: 7.801 MB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 281 * Number of variables: 281 Notification: Performance of Generate backend data structure: time 0.004583/0.5027, allocations: 1.627 MB / 0.5337 GB, free: 6.594 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.96e-05/0.5028, allocations: 17.31 kB / 0.5337 GB, free: 6.586 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001325/0.5041, allocations: 215 kB / 0.5339 GB, free: 6.484 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002059/0.5062, allocations: 0.9706 MB / 0.5348 GB, free: 5.777 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.323e-05/0.5063, allocations: 67.45 kB / 0.5349 GB, free: 5.746 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005101/0.5068, allocations: 183.1 kB / 0.5351 GB, free: 5.684 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002799/0.5096, allocations: 1.565 MB / 0.5366 GB, free: 4.715 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.542e-05/0.5097, allocations: 15.12 kB / 0.5366 GB, free: 4.703 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001262/0.5098, allocations: 40.83 kB / 0.5367 GB, free: 4.672 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006118/0.5104, allocations: 148.5 kB / 0.5368 GB, free: 4.625 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002267/0.5127, allocations: 1.244 MB / 0.538 GB, free: 4.035 MB / 398.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.008827/0.5215, allocations: 6.464 MB / 0.5443 GB, free: 14.8 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001547/0.5231, allocations: 0.9127 MB / 0.5452 GB, free: 13.87 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007764/0.5239, allocations: 0.5082 MB / 0.5457 GB, free: 13.36 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.577e-05/0.524, allocations: 20.97 kB / 0.5457 GB, free: 13.33 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001067/0.5241, allocations: 39.56 kB / 0.5458 GB, free: 13.29 MB / 414.1 MB Notification: Performance of pre-optimization done (n=91): time 2.384e-06/0.5241, allocations: 0 / 0.5458 GB, free: 13.29 MB / 414.1 MB Notification: Performance of matching and sorting (n=96): time 0.006796/0.5309, allocations: 3.706 MB / 0.5494 GB, free: 9.445 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.678e-05/0.531, allocations: 90.05 kB / 0.5495 GB, free: 9.336 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008945/0.5319, allocations: 0.7312 MB / 0.5502 GB, free: 8.598 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 6.786e-05/0.532, allocations: 45.73 kB / 0.5502 GB, free: 8.547 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003952/0.5324, allocations: 0.5667 MB / 0.5508 GB, free: 7.973 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002949/0.5327, allocations: 388.7 kB / 0.5512 GB, free: 7.59 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004119/0.5331, allocations: 230.9 kB / 0.5514 GB, free: 7.359 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001985/0.5333, allocations: 414.7 kB / 0.5518 GB, free: 6.945 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001027/0.5343, allocations: 0.5608 MB / 0.5523 GB, free: 6.383 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001159/0.5355, allocations: 0.8893 MB / 0.5532 GB, free: 5.363 MB / 414.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.008029/0.5435, allocations: 3.228 MB / 0.5564 GB, free: 2.012 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.514e-06/0.5436, allocations: 7.938 kB / 0.5564 GB, free: 2.004 MB / 414.1 MB Notification: Performance of matching and sorting (n=164) (initialization): time 0.005854/0.5494, allocations: 2.741 MB / 0.559 GB, free: 15.25 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.838e-05/0.5495, allocations: 11.94 kB / 0.5591 GB, free: 15.23 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.217e-05/0.5495, allocations: 12 kB / 0.5591 GB, free: 15.22 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002834/0.5523, allocations: 1.152 MB / 0.5602 GB, free: 14.06 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000833/0.5532, allocations: 207.6 kB / 0.5604 GB, free: 13.86 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01785/0.5711, allocations: 12.29 MB / 0.5724 GB, free: 1.277 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001096/0.5722, allocations: 60.02 kB / 0.5724 GB, free: 1.219 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001832/0.5724, allocations: 48 kB / 0.5725 GB, free: 1.172 MB / 430.1 MB Warning: The initial conditions are over specified. The following 3 initial equations are redundant, so they are removed from the initialization system: $DER.inertia.w = 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: 43 * 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 (96): * Single equations (assignments): 94 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,17,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(24,28)} Notification: Performance of prepare postOptimizeDAE: time 0.0007321/0.5731, allocations: 407.5 kB / 0.5729 GB, free: 0.7656 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000171/0.5733, allocations: 103.3 kB / 0.573 GB, free: 0.6641 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002261/0.5756, allocations: 1.408 MB / 0.5743 GB, free: 15.2 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.686e-06/0.5756, allocations: 12 kB / 0.5744 GB, free: 15.19 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.599e-06/0.5756, allocations: 0 / 0.5744 GB, free: 15.19 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.138e-05/0.5756, allocations: 3.984 kB / 0.5744 GB, free: 15.19 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004564/0.5802, allocations: 2.664 MB / 0.577 GB, free: 12.4 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.292e-06/0.5802, allocations: 8.156 kB / 0.577 GB, free: 12.39 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001456/0.5817, allocations: 271.7 kB / 0.5772 GB, free: 12.13 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001824/0.5819, allocations: 53.67 kB / 0.5773 GB, free: 12.07 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.142e-05/0.582, allocations: 43.97 kB / 0.5773 GB, free: 12.03 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002126/0.5841, allocations: 2.843 MB / 0.5801 GB, free: 8.906 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.224e-06/0.5841, allocations: 0 / 0.5801 GB, free: 8.906 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002741/0.5869, allocations: 1.905 MB / 0.582 GB, free: 6.918 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004947/0.5874, allocations: 264.3 kB / 0.5822 GB, free: 6.641 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000177/0.5876, allocations: 35.98 kB / 0.5822 GB, free: 6.605 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000592/0.5882, allocations: 39.95 kB / 0.5823 GB, free: 6.566 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001603/0.5883, allocations: 64.86 kB / 0.5823 GB, free: 6.504 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.857e-05/0.5884, allocations: 27.98 kB / 0.5824 GB, free: 6.477 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0007329/0.5891, allocations: 0.4912 MB / 0.5829 GB, free: 5.988 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.5892, allocations: 3.938 kB / 0.5829 GB, free: 5.984 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001479/0.5906, allocations: 376 kB / 0.5832 GB, free: 5.617 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * Number of states: 25 (generator.i[3],generator.psi_s[1],generator.psi_s[2],generator.psi_rd[1],generator.psi_rq[1],line.v[1,1],line.v[1,2],line.v[1,3],line.v[2,1],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],inertia.phi,inertia.w) * 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 (95): * Single equations (assignments): 92 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(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.0001979/0.5908, allocations: 150.9 kB / 0.5834 GB, free: 5.457 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.004158/0.595, allocations: 2.14 MB / 0.5855 GB, free: 3.285 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 5.731e-06/0.595, allocations: 0 / 0.5855 GB, free: 3.285 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001173/0.5962, allocations: 0.7526 MB / 0.5862 GB, free: 2.508 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001083/0.5973, allocations: 215.5 kB / 0.5864 GB, free: 2.301 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006761/0.6041, allocations: 4.082 MB / 0.5904 GB, free: 14.16 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001178/0.6053, allocations: 1.302 MB / 0.5917 GB, free: 12.83 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0008935/0.6062, allocations: 312 kB / 0.5919 GB, free: 12.52 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003282/0.6065, allocations: 79.42 kB / 0.592 GB, free: 12.45 MB / 462.1 MB Notification: Performance of SimCode: time 6.82e-07/0.6065, allocations: 0 / 0.592 GB, free: 12.45 MB / 462.1 MB Notification: Performance of Templates: time 0.03979/0.6463, allocations: 19.48 MB / 0.6111 GB, free: 9.07 MB / 478.1 MB make -j1 -f PowerSystems_latest_PowerSystems.Examples.Wind.WindTurbine_IG.makefile (rm -f PowerSystems_latest_PowerSystems.Examples.Wind.WindTurbine_IG.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.Wind.WindTurbine_IG.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.Wind.WindTurbine_IG.pipe >> ../files/PowerSystems_latest_PowerSystems.Examples.Wind.WindTurbine_IG.sim & ./PowerSystems_latest_PowerSystems.Examples.Wind.WindTurbine_IG -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > PowerSystems_latest_PowerSystems.Examples.Wind.WindTurbine_IG.pipe 2>&1)