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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo", uses=false) Using package PowerSystems with version 1.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.001094/0.001094, allocations: 110.9 kB / 17.75 MB, free: 5.332 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.001032/0.001032, allocations: 190.6 kB / 18.68 MB, free: 4.406 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.374/1.374, allocations: 205.1 MB / 224.5 MB, free: 12.27 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo): time 0.1916/0.1916, allocations: 37.98 MB / 309.9 MB, free: 5.949 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001382/0.001382, allocations: 71.89 kB / 432.5 MB, free: 15.64 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1102/0.1116, allocations: 55.24 MB / 487.8 MB, free: 8.336 MB / 366.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Wind.WindTurbine_IG): time 0.009222/0.1209, allocations: 8.078 MB / 495.9 MB, free: 220 kB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.009264/0.1302, allocations: 5.53 MB / 0.4896 GB, free: 10.66 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005781/0.1308, allocations: 31.81 kB / 0.4897 GB, free: 10.63 MB / 382.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Math/package.mo:1895:3-1973:18:writable] Warning: Pure function 'Modelica.Math.Matrices.eigenValues' contains a call to impure function 'Modelica.Math.Matrices.LAPACK.dgeev_eigenValues'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Math/package.mo:2829:3-2870:10:writable] Warning: Pure function 'Modelica.Math.Matrices.inv' contains a call to impure function 'Modelica.Math.Matrices.LAPACK.dgetrf'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Math/package.mo:1125:3-1182:12:writable] Warning: Pure function 'Modelica.Math.Matrices.solve' contains a call to impure function 'Modelica.Math.Matrices.LAPACK.dgesv_vec'. Notification: Performance of NFTyping.typeComponents: time 0.009948/0.1408, allocations: 5.208 MB / 0.4948 GB, free: 5.414 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002147/0.1429, allocations: 0.8441 MB / 0.4956 GB, free: 4.566 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001222/0.1442, allocations: 499 kB / 0.4961 GB, free: 4.078 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.003037/0.1472, allocations: 2.526 MB / 0.4985 GB, free: 1.547 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008249/0.148, allocations: 0.6299 MB / 0.4991 GB, free: 0.9062 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009645/0.149, allocations: 0.7745 MB / 0.4999 GB, free: 132 kB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00125/0.1503, allocations: 1.036 MB / 0.5009 GB, free: 15.09 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001925/0.1505, allocations: 104 kB / 0.501 GB, free: 14.99 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007514/0.1512, allocations: 367.5 kB / 0.5014 GB, free: 14.63 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005971/0.1519, allocations: 0.6546 MB / 0.502 GB, free: 13.97 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000714/0.1526, allocations: 0.692 MB / 0.5027 GB, free: 13.28 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001721/0.1543, allocations: 1.721 MB / 0.5043 GB, free: 11.55 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.709e-06/0.1543, allocations: 0 / 0.5043 GB, free: 11.55 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.724e-06/0.1543, allocations: 0 / 0.5043 GB, free: 11.55 MB / 398.1 MB Notification: Performance of Transformations before backend: time 2.232e-05/0.1544, allocations: 0 / 0.5043 GB, free: 11.55 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.003114/0.1575, allocations: 1.596 MB / 0.5059 GB, free: 9.902 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.565e-05/0.1575, allocations: 11.89 kB / 0.5059 GB, free: 9.891 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001172/0.1587, allocations: 219.1 kB / 0.5061 GB, free: 9.676 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002012/0.1607, allocations: 0.9529 MB / 0.5071 GB, free: 8.68 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.886e-05/0.1608, allocations: 77.98 kB / 0.5071 GB, free: 8.602 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004328/0.1612, allocations: 183.8 kB / 0.5073 GB, free: 8.422 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00226/0.1635, allocations: 1.56 MB / 0.5088 GB, free: 6.781 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.541e-05/0.1636, allocations: 15.84 kB / 0.5088 GB, free: 6.766 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001048/0.1637, allocations: 35.98 kB / 0.5089 GB, free: 6.73 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005714/0.1643, allocations: 157.9 kB / 0.509 GB, free: 6.574 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001987/0.1663, allocations: 1.249 MB / 0.5103 GB, free: 5.316 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.007866/0.1741, allocations: 6.454 MB / 0.5166 GB, free: 14.48 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001543/0.1757, allocations: 0.9089 MB / 0.5174 GB, free: 13.55 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007617/0.1765, allocations: 0.5121 MB / 0.5179 GB, free: 13.04 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.597e-05/0.1765, allocations: 17 kB / 0.518 GB, free: 13.02 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.517e-05/0.1766, allocations: 43.56 kB / 0.518 GB, free: 12.97 MB / 414.1 MB Notification: Performance of pre-optimization done (n=91): time 2.835e-06/0.1766, allocations: 0 / 0.518 GB, free: 12.97 MB / 414.1 MB Notification: Performance of matching and sorting (n=96): time 0.006423/0.183, allocations: 3.667 MB / 0.5216 GB, free: 9.164 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.956e-05/0.1831, allocations: 90.05 kB / 0.5217 GB, free: 9.059 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000779/0.1839, allocations: 0.7235 MB / 0.5224 GB, free: 8.328 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 6.872e-05/0.184, allocations: 41.7 kB / 0.5224 GB, free: 8.281 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003835/0.1843, allocations: 0.5612 MB / 0.523 GB, free: 7.711 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002787/0.1846, allocations: 362.8 kB / 0.5233 GB, free: 7.352 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000336/0.185, allocations: 234.8 kB / 0.5235 GB, free: 7.117 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001922/0.1852, allocations: 418.8 kB / 0.5239 GB, free: 6.699 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008994/0.1861, allocations: 0.5647 MB / 0.5245 GB, free: 6.133 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001093/0.1872, allocations: 0.8853 MB / 0.5253 GB, free: 5.117 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.008493/0.1957, allocations: 3.228 MB / 0.5285 GB, free: 1.762 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.767e-06/0.1957, allocations: 8 kB / 0.5285 GB, free: 1.754 MB / 414.1 MB Notification: Performance of matching and sorting (n=164) (initialization): time 0.2331/0.4288, allocations: 2.733 MB / 0.5312 GB, free: 50.79 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.999e-05/0.4289, allocations: 10.81 kB / 0.5312 GB, free: 50.79 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.095e-05/0.4289, allocations: 8.25 kB / 0.5312 GB, free: 50.79 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003197/0.4321, allocations: 1.164 MB / 0.5323 GB, free: 50.76 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008692/0.433, allocations: 202.2 kB / 0.5325 GB, free: 50.75 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01767/0.4507, allocations: 12.27 MB / 0.5445 GB, free: 45.44 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008648/0.4516, allocations: 55.78 kB / 0.5446 GB, free: 45.42 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001126/0.4517, allocations: 53.86 kB / 0.5446 GB, free: 45.41 MB / 414.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.0006183/0.4523, allocations: 403.7 kB / 0.545 GB, free: 45.18 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001505/0.4525, allocations: 102.5 kB / 0.5451 GB, free: 45.18 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002214/0.4547, allocations: 1.407 MB / 0.5465 GB, free: 44.5 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.476e-05/0.4547, allocations: 6.156 kB / 0.5465 GB, free: 44.5 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.587e-06/0.4548, allocations: 3.906 kB / 0.5465 GB, free: 44.5 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004797/0.4553, allocations: 261.8 kB / 0.5467 GB, free: 44.38 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001367/0.4554, allocations: 35.27 kB / 0.5468 GB, free: 44.36 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005322/0.4559, allocations: 39.94 kB / 0.5468 GB, free: 44.35 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001506/0.4561, allocations: 60.5 kB / 0.5469 GB, free: 44.34 MB / 414.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.004239/0.4603, allocations: 1.79 MB / 0.5486 GB, free: 43.78 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.002909/0.4633, allocations: 2.059 MB / 0.5506 GB, free: 42.93 MB / 414.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0006725/0.464, allocations: 0.5677 MB / 0.5512 GB, free: 42.77 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0005648/0.4645, allocations: 496.9 kB / 0.5516 GB, free: 42.56 MB / 414.1 MB Notification: Performance of Backend: time 5.51e-07/0.4645, allocations: 0 / 0.5516 GB, free: 42.56 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.003856/0.4684, allocations: 1.915 MB / 0.5535 GB, free: 41.71 MB / 414.1 MB Notification: Performance of SimCode: time 0.004162/0.4726, allocations: 4.153 MB / 0.5576 GB, free: 38.88 MB / 414.1 MB Notification: Performance of Templates: time 0.02713/0.4997, allocations: 22.69 MB / 0.5797 GB, free: 17.29 MB / 414.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)