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.001786/0.001786, allocations: 106 kB / 17.06 MB, free: 6.125 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.0018/0.0018, allocations: 200 kB / 18 MB, free: 5.199 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.457/1.457, allocations: 222.9 MB / 241.7 MB, free: 15.13 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.1797/0.1797, allocations: 38.05 MB / 329.9 MB, free: 8.75 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001248/0.001248, allocations: 63.91 kB / 458.1 MB, free: 6.848 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4197/0.4209, allocations: 58.05 MB / 0.5041 GB, free: 7.691 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Wind.WindTurbine_IG): time 0.009055/0.43, allocations: 8.094 MB / 0.512 GB, free: 2.047 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.009762/0.4398, allocations: 5.486 MB / 0.5174 GB, free: 14.23 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009727/0.4409, allocations: 29.53 kB / 0.5174 GB, free: 14.22 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01306/0.4539, allocations: 5.227 MB / 0.5225 GB, free: 12.59 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002928/0.4569, allocations: 0.8342 MB / 0.5233 GB, free: 12.15 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001804/0.4587, allocations: 0.4913 MB / 0.5238 GB, free: 11.93 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.004996/0.4637, allocations: 2.52 MB / 0.5262 GB, free: 11 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001419/0.4652, allocations: 0.6409 MB / 0.5269 GB, free: 10.71 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002097/0.4673, allocations: 0.7755 MB / 0.5276 GB, free: 10.38 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002077/0.4693, allocations: 1.029 MB / 0.5286 GB, free: 9.906 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002328/0.4696, allocations: 104.4 kB / 0.5287 GB, free: 9.906 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009997/0.4706, allocations: 374.3 kB / 0.5291 GB, free: 9.766 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0009114/0.4715, allocations: 0.6543 MB / 0.5297 GB, free: 9.352 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001104/0.4726, allocations: 0.6879 MB / 0.5304 GB, free: 8.891 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002906/0.4756, allocations: 1.727 MB / 0.5321 GB, free: 7.758 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.041e-06/0.4756, allocations: 0 / 0.5321 GB, free: 7.758 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.535e-06/0.4756, allocations: 1.281 kB / 0.5321 GB, free: 7.758 MB / 398.1 MB Notification: Performance of Transformations before backend: time 2.593e-05/0.4756, allocations: 4 kB / 0.5321 GB, free: 7.754 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.003648/0.4793, allocations: 1.587 MB / 0.5336 GB, free: 6.59 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.96e-05/0.4793, allocations: 13.64 kB / 0.5337 GB, free: 6.586 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001487/0.4808, allocations: 218 kB / 0.5339 GB, free: 6.48 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002641/0.4835, allocations: 0.9541 MB / 0.5348 GB, free: 5.789 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.505e-05/0.4836, allocations: 72.33 kB / 0.5349 GB, free: 5.754 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005416/0.4841, allocations: 186.4 kB / 0.535 GB, free: 5.688 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003089/0.4873, allocations: 1.557 MB / 0.5366 GB, free: 4.727 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.044e-05/0.4873, allocations: 7.25 kB / 0.5366 GB, free: 4.723 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001229/0.4874, allocations: 45.08 kB / 0.5366 GB, free: 4.688 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006206/0.4881, allocations: 152.2 kB / 0.5368 GB, free: 4.637 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002709/0.4908, allocations: 1.248 MB / 0.538 GB, free: 4.043 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.01028/0.5011, allocations: 6.451 MB / 0.5443 GB, free: 14.84 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001592/0.5027, allocations: 0.915 MB / 0.5452 GB, free: 13.97 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007761/0.5035, allocations: 0.516 MB / 0.5457 GB, free: 13.45 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.961e-05/0.5036, allocations: 9 kB / 0.5457 GB, free: 13.43 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.875e-05/0.5036, allocations: 47.55 kB / 0.5457 GB, free: 13.38 MB / 414.1 MB Notification: Performance of pre-optimization done (n=91): time 2.835e-06/0.5036, allocations: 0 / 0.5457 GB, free: 13.38 MB / 414.1 MB Notification: Performance of matching and sorting (n=96): time 0.006564/0.5102, allocations: 3.67 MB / 0.5493 GB, free: 9.57 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.594e-05/0.5103, allocations: 98.03 kB / 0.5494 GB, free: 9.453 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000844/0.5111, allocations: 0.7273 MB / 0.5501 GB, free: 8.719 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 7.51e-05/0.5112, allocations: 45.69 kB / 0.5502 GB, free: 8.668 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000369/0.5116, allocations: 0.5535 MB / 0.5507 GB, free: 8.105 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002919/0.5119, allocations: 366.8 kB / 0.551 GB, free: 7.742 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003496/0.5122, allocations: 242.8 kB / 0.5513 GB, free: 7.5 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002026/0.5124, allocations: 410.7 kB / 0.5517 GB, free: 7.09 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008831/0.5133, allocations: 0.5686 MB / 0.5522 GB, free: 6.52 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001064/0.5144, allocations: 0.8815 MB / 0.5531 GB, free: 5.508 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.007944/0.5224, allocations: 3.232 MB / 0.5562 GB, free: 2.152 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.514e-06/0.5224, allocations: 0 / 0.5562 GB, free: 2.152 MB / 414.1 MB Notification: Performance of matching and sorting (n=164) (initialization): time 0.006019/0.5284, allocations: 2.732 MB / 0.5589 GB, free: 15.4 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.43e-05/0.5284, allocations: 11.94 kB / 0.5589 GB, free: 15.39 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.99e-05/0.5285, allocations: 8 kB / 0.5589 GB, free: 15.38 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002877/0.5314, allocations: 1.16 MB / 0.5601 GB, free: 14.21 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008069/0.5322, allocations: 199.6 kB / 0.5603 GB, free: 14.02 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01887/0.5511, allocations: 12.29 MB / 0.5723 GB, free: 1.438 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001329/0.5524, allocations: 51.88 kB / 0.5723 GB, free: 1.387 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001583/0.5526, allocations: 67.86 kB / 0.5724 GB, free: 1.32 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.0009609/0.5536, allocations: 401.4 kB / 0.5728 GB, free: 0.918 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002152/0.5538, allocations: 90.88 kB / 0.5728 GB, free: 0.8281 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002694/0.5565, allocations: 1.412 MB / 0.5742 GB, free: 15.36 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.15e-05/0.5565, allocations: 12 kB / 0.5742 GB, free: 15.35 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.61e-06/0.5565, allocations: 0 / 0.5742 GB, free: 15.35 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.271e-05/0.5566, allocations: 7.969 kB / 0.5742 GB, free: 15.34 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004888/0.5614, allocations: 2.656 MB / 0.5768 GB, free: 12.57 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.848e-06/0.5615, allocations: 7.938 kB / 0.5768 GB, free: 12.56 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001529/0.563, allocations: 271.9 kB / 0.5771 GB, free: 12.29 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000198/0.5632, allocations: 53.67 kB / 0.5771 GB, free: 12.23 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001042/0.5633, allocations: 39.98 kB / 0.5772 GB, free: 12.2 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002317/0.5657, allocations: 2.851 MB / 0.58 GB, free: 9.066 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.194e-06/0.5657, allocations: 160 / 0.58 GB, free: 9.066 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002768/0.5685, allocations: 1.896 MB / 0.5818 GB, free: 7.086 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006751/0.5691, allocations: 251.8 kB / 0.5821 GB, free: 6.82 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001473/0.5693, allocations: 39.98 kB / 0.5821 GB, free: 6.781 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005575/0.5699, allocations: 43.95 kB / 0.5821 GB, free: 6.738 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000171/0.57, allocations: 68.84 kB / 0.5822 GB, free: 6.672 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.394e-05/0.5701, allocations: 27.98 kB / 0.5822 GB, free: 6.645 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0007416/0.5709, allocations: 495 kB / 0.5827 GB, free: 6.164 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.5709, allocations: 0 / 0.5827 GB, free: 6.164 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001732/0.5726, allocations: 380 kB / 0.5831 GB, free: 5.793 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.0002529/0.5729, allocations: 150.9 kB / 0.5832 GB, free: 5.633 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.00413/0.577, allocations: 2.115 MB / 0.5853 GB, free: 3.484 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 4.318e-06/0.5771, allocations: 5.25 kB / 0.5853 GB, free: 3.48 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001183/0.5782, allocations: 0.757 MB / 0.586 GB, free: 2.699 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001258/0.5795, allocations: 218 kB / 0.5862 GB, free: 2.492 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006943/0.5865, allocations: 4.033 MB / 0.5902 GB, free: 14.4 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001003/0.5875, allocations: 1.295 MB / 0.5914 GB, free: 13.08 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0009215/0.5884, allocations: 320 kB / 0.5917 GB, free: 12.76 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002929/0.5887, allocations: 75.44 kB / 0.5918 GB, free: 12.69 MB / 462.1 MB Notification: Performance of SimCode: time 6.91e-07/0.5887, allocations: 4 kB / 0.5918 GB, free: 12.69 MB / 462.1 MB Notification: Performance of Templates: time 0.03244/0.6212, allocations: 19.92 MB / 0.6113 GB, free: 8.879 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)