Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_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/package.mo", uses=false) 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_IG,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.Wind.WindTurbine_IG") translateModel(PowerSystems.Examples.Wind.WindTurbine_IG,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_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.001126/0.001126, allocations: 109.7 kB / 17.06 MB, free: 5.824 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.001166/0.001166, allocations: 191 kB / 18 MB, free: 4.977 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.337/1.337, allocations: 222.9 MB / 241.7 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo): time 0.1764/0.1764, allocations: 38.04 MB / 329.9 MB, free: 8.723 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00227/0.00227, allocations: 59.91 kB / 458.1 MB, free: 6.887 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3615/0.3638, allocations: 58.06 MB / 0.5041 GB, free: 7.711 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Wind.WindTurbine_IG): time 0.008864/0.3727, allocations: 8.096 MB / 0.512 GB, free: 2.062 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.008983/0.3818, allocations: 5.481 MB / 0.5173 GB, free: 14.25 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009663/0.3828, allocations: 30.19 kB / 0.5174 GB, free: 14.24 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01297/0.3957, allocations: 5.234 MB / 0.5225 GB, free: 12.61 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002549/0.3983, allocations: 0.8452 MB / 0.5233 GB, free: 12.15 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001575/0.3999, allocations: 494.9 kB / 0.5238 GB, free: 11.94 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.004225/0.4041, allocations: 2.535 MB / 0.5263 GB, free: 11 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000994/0.4052, allocations: 0.6307 MB / 0.5269 GB, free: 10.72 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001409/0.4066, allocations: 0.7755 MB / 0.5276 GB, free: 10.39 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001443/0.408, allocations: 1.033 MB / 0.5286 GB, free: 9.914 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001814/0.4082, allocations: 104.3 kB / 0.5287 GB, free: 9.914 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008745/0.4091, allocations: 368.1 kB / 0.5291 GB, free: 9.777 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006727/0.4098, allocations: 0.6598 MB / 0.5297 GB, free: 9.359 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0009216/0.4107, allocations: 0.6925 MB / 0.5304 GB, free: 8.895 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002731/0.4135, allocations: 1.72 MB / 0.5321 GB, free: 7.77 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.632e-06/0.4135, allocations: 0 / 0.5321 GB, free: 7.77 MB / 398.1 MB Notification: Performance of FrontEnd: time 5.069e-06/0.4135, allocations: 3.984 kB / 0.5321 GB, free: 7.766 MB / 398.1 MB Notification: Performance of Transformations before backend: time 3.051e-05/0.4135, allocations: 0 / 0.5321 GB, free: 7.766 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.00357/0.4171, allocations: 1.59 MB / 0.5336 GB, free: 6.598 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.422e-05/0.4172, allocations: 13.58 kB / 0.5337 GB, free: 6.594 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001328/0.4185, allocations: 218.4 kB / 0.5339 GB, free: 6.488 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002048/0.4206, allocations: 0.9496 MB / 0.5348 GB, free: 5.801 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.46e-05/0.4206, allocations: 72.48 kB / 0.5349 GB, free: 5.766 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004712/0.4211, allocations: 186 kB / 0.535 GB, free: 5.699 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002707/0.4238, allocations: 1.572 MB / 0.5366 GB, free: 4.727 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.755e-05/0.4239, allocations: 3.75 kB / 0.5366 GB, free: 4.727 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001116/0.424, allocations: 40.58 kB / 0.5366 GB, free: 4.695 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006335/0.4246, allocations: 152.5 kB / 0.5368 GB, free: 4.645 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002292/0.4269, allocations: 1.253 MB / 0.538 GB, free: 4.047 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.008595/0.4356, allocations: 6.453 MB / 0.5443 GB, free: 14.84 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001558/0.4371, allocations: 0.9155 MB / 0.5452 GB, free: 13.98 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007944/0.4379, allocations: 0.5044 MB / 0.5457 GB, free: 13.47 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.566e-05/0.438, allocations: 13 kB / 0.5457 GB, free: 13.46 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.218e-05/0.4381, allocations: 43.5 kB / 0.5457 GB, free: 13.41 MB / 414.1 MB Notification: Performance of pre-optimization done (n=91): time 3.136e-06/0.4381, allocations: 7.938 kB / 0.5457 GB, free: 13.4 MB / 414.1 MB Notification: Performance of matching and sorting (n=96): time 0.006597/0.4447, allocations: 3.67 MB / 0.5493 GB, free: 9.59 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.274e-05/0.4447, allocations: 94.05 kB / 0.5494 GB, free: 9.477 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008263/0.4456, allocations: 0.7389 MB / 0.5501 GB, free: 8.73 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 8.093e-05/0.4457, allocations: 41.7 kB / 0.5502 GB, free: 8.684 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003579/0.446, allocations: 0.5496 MB / 0.5507 GB, free: 8.125 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000283/0.4463, allocations: 370.8 kB / 0.5511 GB, free: 7.758 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003456/0.4467, allocations: 234.8 kB / 0.5513 GB, free: 7.523 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001867/0.4469, allocations: 410.7 kB / 0.5517 GB, free: 7.113 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009211/0.4478, allocations: 0.5686 MB / 0.5522 GB, free: 6.543 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001093/0.4489, allocations: 0.8854 MB / 0.5531 GB, free: 5.527 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.008279/0.4572, allocations: 3.22 MB / 0.5562 GB, free: 2.184 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.404e-06/0.4572, allocations: 4 kB / 0.5562 GB, free: 2.18 MB / 414.1 MB Notification: Performance of matching and sorting (n=164) (initialization): time 0.005882/0.4631, allocations: 2.748 MB / 0.5589 GB, free: 15.41 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.497e-05/0.4631, allocations: 11.94 kB / 0.5589 GB, free: 15.4 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.853e-05/0.4632, allocations: 8 kB / 0.5589 GB, free: 15.39 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002823/0.466, allocations: 1.156 MB / 0.5601 GB, free: 14.23 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000777/0.4668, allocations: 195.7 kB / 0.5603 GB, free: 14.04 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01882/0.4856, allocations: 12.29 MB / 0.5723 GB, free: 1.453 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001181/0.4868, allocations: 51.88 kB / 0.5723 GB, free: 1.402 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001567/0.487, allocations: 59.98 kB / 0.5724 GB, free: 1.344 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.0009416/0.488, allocations: 397.3 kB / 0.5727 GB, free: 0.9453 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002055/0.4882, allocations: 94.86 kB / 0.5728 GB, free: 0.8516 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002425/0.4906, allocations: 1.412 MB / 0.5742 GB, free: 15.38 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.036e-05/0.4906, allocations: 12 kB / 0.5742 GB, free: 15.37 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.501e-06/0.4906, allocations: 0 / 0.5742 GB, free: 15.37 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.33e-05/0.4907, allocations: 3.984 kB / 0.5742 GB, free: 15.37 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0048/0.4955, allocations: 2.66 MB / 0.5768 GB, free: 12.59 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.077e-06/0.4955, allocations: 7.938 kB / 0.5768 GB, free: 12.58 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001506/0.497, allocations: 275.6 kB / 0.5771 GB, free: 12.31 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001775/0.4972, allocations: 53.67 kB / 0.5772 GB, free: 12.25 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.859e-05/0.4973, allocations: 40.08 kB / 0.5772 GB, free: 12.21 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002163/0.4995, allocations: 2.851 MB / 0.58 GB, free: 9.086 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.424e-06/0.4995, allocations: 4 kB / 0.58 GB, free: 9.082 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002801/0.5023, allocations: 1.889 MB / 0.5818 GB, free: 7.109 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004656/0.5028, allocations: 255.8 kB / 0.5821 GB, free: 6.84 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001711/0.5029, allocations: 39.98 kB / 0.5821 GB, free: 6.801 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005706/0.5035, allocations: 39.95 kB / 0.5821 GB, free: 6.762 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001753/0.5037, allocations: 68.78 kB / 0.5822 GB, free: 6.695 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.253e-05/0.5038, allocations: 32 kB / 0.5822 GB, free: 6.664 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0006276/0.5044, allocations: 499 kB / 0.5827 GB, free: 6.18 MB / 446.1 MB Notification: Performance of sort global known variables: time 9e-08/0.5044, allocations: 0 / 0.5827 GB, free: 6.18 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0014/0.5058, allocations: 376 kB / 0.5831 GB, free: 5.812 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.0002152/0.5061, allocations: 154.9 kB / 0.5832 GB, free: 5.648 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.003901/0.51, allocations: 2.119 MB / 0.5853 GB, free: 3.5 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 4.959e-06/0.51, allocations: 4 kB / 0.5853 GB, free: 3.496 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001136/0.5111, allocations: 0.7536 MB / 0.586 GB, free: 2.719 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001078/0.5122, allocations: 211.1 kB / 0.5862 GB, free: 2.516 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006241/0.5185, allocations: 4.033 MB / 0.5902 GB, free: 14.43 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000976/0.5195, allocations: 1.302 MB / 0.5914 GB, free: 13.09 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0008512/0.5203, allocations: 316 kB / 0.5917 GB, free: 12.78 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002682/0.5206, allocations: 71.44 kB / 0.5918 GB, free: 12.71 MB / 462.1 MB Notification: Performance of SimCode: time 6.52e-07/0.5206, allocations: 0 / 0.5918 GB, free: 12.71 MB / 462.1 MB Notification: Performance of Templates: time 0.03039/0.551, allocations: 19.5 MB / 0.6109 GB, free: 9.316 MB / 478.1 MB make -j1 -f PowerSystems_PowerSystems.Examples.Wind.WindTurbine_IG.makefile (rm -f PowerSystems_PowerSystems.Examples.Wind.WindTurbine_IG.pipe ; mkfifo PowerSystems_PowerSystems.Examples.Wind.WindTurbine_IG.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.Wind.WindTurbine_IG.pipe >> ../files/PowerSystems_PowerSystems.Examples.Wind.WindTurbine_IG.sim & ./PowerSystems_PowerSystems.Examples.Wind.WindTurbine_IG -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.Wind.WindTurbine_IG.pipe 2>&1)