Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.Wind.WindTurbine_DFIG.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_DFIG,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.Wind.WindTurbine_DFIG") translateModel(PowerSystems.Examples.Wind.WindTurbine_DFIG,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.Wind.WindTurbine_DFIG") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001266/0.001266, allocations: 111 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.001331/0.001331, allocations: 186.5 kB / 18.67 MB, free: 4.418 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.421/1.421, allocations: 205.1 MB / 224.5 MB, free: 12.24 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo): time 0.1744/0.1744, allocations: 37.99 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.001495/0.001495, allocations: 67.91 kB / 432.5 MB, free: 15.65 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1055/0.107, allocations: 55.24 MB / 487.8 MB, free: 8.34 MB / 366.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Wind.WindTurbine_DFIG): time 0.01244/0.1195, allocations: 10.6 MB / 498.4 MB, free: 13.69 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01013/0.1296, allocations: 6.269 MB / 0.4928 GB, free: 7.398 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00131/0.131, allocations: 51.69 kB / 0.4929 GB, free: 7.348 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.01187/0.1429, allocations: 5.504 MB / 0.4983 GB, free: 1.832 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003102/0.1461, allocations: 1.07 MB / 0.4993 GB, free: 0.7578 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001834/0.1479, allocations: 0.655 MB / 0.4999 GB, free: 104 kB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.004504/0.1524, allocations: 3.208 MB / 0.5031 GB, free: 12.89 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001564/0.154, allocations: 1.004 MB / 0.5041 GB, free: 11.86 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001825/0.1559, allocations: 1.074 MB / 0.5051 GB, free: 10.78 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002059/0.1579, allocations: 1.347 MB / 0.5064 GB, free: 9.426 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003873/0.1583, allocations: 144 kB / 0.5066 GB, free: 9.285 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001017/0.1594, allocations: 427.5 kB / 0.507 GB, free: 8.867 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001089/0.1605, allocations: 0.8495 MB / 0.5078 GB, free: 8.016 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001498/0.162, allocations: 0.9252 MB / 0.5087 GB, free: 7.086 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00281/0.1648, allocations: 2.262 MB / 0.5109 GB, free: 4.816 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.578e-06/0.1648, allocations: 0 / 0.5109 GB, free: 4.816 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.123e-06/0.1648, allocations: 0 / 0.5109 GB, free: 4.816 MB / 398.1 MB Notification: Performance of Transformations before backend: time 9.325e-05/0.1649, allocations: 4 kB / 0.5109 GB, free: 4.812 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: 392 * Number of variables: 392 Notification: Performance of Generate backend data structure: time 0.004544/0.1695, allocations: 2.06 MB / 0.5129 GB, free: 2.691 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.651e-05/0.1695, allocations: 19.81 kB / 0.5129 GB, free: 2.672 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001428/0.171, allocations: 274.5 kB / 0.5132 GB, free: 2.402 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002384/0.1734, allocations: 1.206 MB / 0.5144 GB, free: 1.148 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.747e-05/0.1734, allocations: 98.62 kB / 0.5145 GB, free: 1.051 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004885/0.1739, allocations: 235.7 kB / 0.5147 GB, free: 0.8203 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003136/0.1771, allocations: 2.111 MB / 0.5168 GB, free: 14.61 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.633e-05/0.1771, allocations: 7.938 kB / 0.5168 GB, free: 14.6 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000144/0.1773, allocations: 55.98 kB / 0.5168 GB, free: 14.55 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005843/0.1779, allocations: 182.6 kB / 0.517 GB, free: 14.37 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00265/0.1805, allocations: 1.705 MB / 0.5187 GB, free: 12.66 MB / 414.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.01011/0.1907, allocations: 7.91 MB / 0.5264 GB, free: 4.406 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002243/0.1929, allocations: 1.628 MB / 0.528 GB, free: 2.699 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009412/0.1939, allocations: 0.6606 MB / 0.5286 GB, free: 2.035 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.245e-05/0.194, allocations: 17 kB / 0.5286 GB, free: 2.02 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.654e-05/0.194, allocations: 55.5 kB / 0.5287 GB, free: 1.957 MB / 414.1 MB Notification: Performance of pre-optimization done (n=127): time 5.259e-06/0.194, allocations: 3.984 kB / 0.5287 GB, free: 1.953 MB / 414.1 MB Notification: Performance of matching and sorting (n=138): time 0.2415/0.4356, allocations: 5.07 MB / 0.5336 GB, free: 51.14 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.446e-05/0.4356, allocations: 95.55 kB / 0.5337 GB, free: 51.05 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001188/0.4368, allocations: 0.9414 MB / 0.5347 GB, free: 50.82 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 7.855e-05/0.4369, allocations: 51.08 kB / 0.5347 GB, free: 50.77 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004267/0.4374, allocations: 0.7217 MB / 0.5354 GB, free: 50.2 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003552/0.4377, allocations: 0.4964 MB / 0.5359 GB, free: 49.82 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004532/0.4382, allocations: 308.9 kB / 0.5362 GB, free: 49.68 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 5.618e-05/0.4382, allocations: 305.5 kB / 0.5365 GB, free: 49.38 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001164/0.4394, allocations: 0.7054 MB / 0.5372 GB, free: 49.16 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001472/0.4409, allocations: 1.149 MB / 0.5383 GB, free: 48.41 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.01035/0.4513, allocations: 4.079 MB / 0.5423 GB, free: 46.93 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.954e-05/0.4513, allocations: 2.625 kB / 0.5423 GB, free: 46.93 MB / 414.1 MB Notification: Performance of matching and sorting (n=222) (initialization): time 0.006555/0.4579, allocations: 3.354 MB / 0.5455 GB, free: 45.67 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.067e-05/0.4579, allocations: 11.69 kB / 0.5456 GB, free: 45.67 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.949e-05/0.4579, allocations: 13.44 kB / 0.5456 GB, free: 45.67 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003082/0.461, allocations: 1.197 MB / 0.5467 GB, free: 45.44 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00117/0.4622, allocations: 302.5 kB / 0.547 GB, free: 45.4 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01591/0.4781, allocations: 15.12 MB / 0.5618 GB, free: 35.73 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001285/0.4795, allocations: 76.83 kB / 0.5619 GB, free: 35.68 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001203/0.4796, allocations: 79.92 kB / 0.5619 GB, free: 35.61 MB / 414.1 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 $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: 60 * 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 (146): * Single equations (assignments): 142 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * 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,18,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(3,15), (21,20)} Notification: Performance of prepare postOptimizeDAE: time 0.0007856/0.4804, allocations: 0.4912 MB / 0.5624 GB, free: 35.11 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001832/0.4806, allocations: 134.3 kB / 0.5626 GB, free: 34.97 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002566/0.4831, allocations: 2.014 MB / 0.5645 GB, free: 32.88 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.353e-05/0.4832, allocations: 11.97 kB / 0.5645 GB, free: 32.87 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.597e-06/0.4832, allocations: 0 / 0.5645 GB, free: 32.87 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005947/0.4838, allocations: 317.7 kB / 0.5648 GB, free: 32.54 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001677/0.484, allocations: 47.38 kB / 0.5649 GB, free: 32.5 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006453/0.4846, allocations: 47.95 kB / 0.5649 GB, free: 32.45 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001789/0.4848, allocations: 105 kB / 0.565 GB, free: 32.35 MB / 414.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.004415/0.4892, allocations: 2.344 MB / 0.5673 GB, free: 30.02 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.002959/0.4922, allocations: 2.659 MB / 0.5699 GB, free: 27.34 MB / 414.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0008564/0.4931, allocations: 0.7441 MB / 0.5706 GB, free: 26.6 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0007028/0.4938, allocations: 0.6244 MB / 0.5712 GB, free: 25.96 MB / 414.1 MB Notification: Performance of Backend: time 3.61e-07/0.4938, allocations: 0 / 0.5712 GB, free: 25.96 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.004045/0.4978, allocations: 2.391 MB / 0.5736 GB, free: 23.54 MB / 414.1 MB Notification: Performance of SimCode: time 0.005344/0.5032, allocations: 5.006 MB / 0.5785 GB, free: 18.52 MB / 414.1 MB Notification: Performance of Templates: time 0.03932/0.5425, allocations: 28.44 MB / 0.6062 GB, free: 6.059 MB / 430.1 MB make -j1 -f PowerSystems_PowerSystems.Examples.Wind.WindTurbine_DFIG.makefile (rm -f PowerSystems_PowerSystems.Examples.Wind.WindTurbine_DFIG.pipe ; mkfifo PowerSystems_PowerSystems.Examples.Wind.WindTurbine_DFIG.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.Wind.WindTurbine_DFIG.pipe >> ../files/PowerSystems_PowerSystems.Examples.Wind.WindTurbine_DFIG.sim & ./PowerSystems_PowerSystems.Examples.Wind.WindTurbine_DFIG -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.Wind.WindTurbine_DFIG.pipe 2>&1)