Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC3ph.Generation.WindGeneratorLine.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.AC3ph.Generation.WindGeneratorLine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Generation.WindGeneratorLine") translateModel(PowerSystems.Examples.AC3ph.Generation.WindGeneratorLine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Generation.WindGeneratorLine") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001638/0.001638, allocations: 110.2 kB / 17.75 MB, free: 5.336 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.001883/0.001883, allocations: 185.4 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.403/1.403, allocations: 205.1 MB / 224.6 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.1828/0.1828, allocations: 37.99 MB / 309.9 MB, free: 5.953 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.001409/0.001409, allocations: 71.89 kB / 432.6 MB, free: 15.76 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09306/0.09447, allocations: 55.23 MB / 487.8 MB, free: 8.461 MB / 366.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Generation.WindGeneratorLine): time 0.00908/0.1036, allocations: 7.618 MB / 495.4 MB, free: 0.8008 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.007674/0.1113, allocations: 5.332 MB / 0.489 GB, free: 11.45 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006812/0.112, allocations: 27.81 kB / 0.489 GB, free: 11.42 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.01091/0.123, allocations: 5.177 MB / 0.4941 GB, free: 6.234 MB / 382.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Utilities/Strings.mo:139:3-175:14:writable] Warning: Pure function 'Modelica.Utilities.Strings.isEmpty' contains a call to impure function 'Modelica.Utilities.Strings.Advanced.skipWhiteSpace'. Notification: Performance of NFTyping.typeBindings: time 0.001493/0.1245, allocations: 0.6416 MB / 0.4947 GB, free: 5.59 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009924/0.1255, allocations: 427.2 kB / 0.4951 GB, free: 5.172 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.002621/0.1281, allocations: 2.214 MB / 0.4973 GB, free: 2.953 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001356/0.1295, allocations: 1.104 MB / 0.4984 GB, free: 1.828 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009945/0.1305, allocations: 0.6461 MB / 0.499 GB, free: 1.18 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001059/0.1316, allocations: 0.7396 MB / 0.4997 GB, free: 448 kB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000234/0.1318, allocations: 116 kB / 0.4998 GB, free: 332 kB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007604/0.1326, allocations: 395.5 kB / 0.5002 GB, free: 15.94 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004711/0.1331, allocations: 0.491 MB / 0.5007 GB, free: 15.45 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007003/0.1338, allocations: 0.6027 MB / 0.5013 GB, free: 14.84 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001809/0.1356, allocations: 1.706 MB / 0.5029 GB, free: 13.13 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.978e-06/0.1356, allocations: 0 / 0.5029 GB, free: 13.13 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.193e-06/0.1356, allocations: 4 kB / 0.5029 GB, free: 13.12 MB / 398.1 MB Notification: Performance of Transformations before backend: time 3.67e-05/0.1357, allocations: 0 / 0.5029 GB, free: 13.12 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: 208 * Number of variables: 208 Notification: Performance of Generate backend data structure: time 0.003017/0.1387, allocations: 1.424 MB / 0.5043 GB, free: 11.65 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.216e-05/0.1387, allocations: 15.89 kB / 0.5043 GB, free: 11.63 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007488/0.1395, allocations: 155.4 kB / 0.5045 GB, free: 11.48 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001867/0.1414, allocations: 0.9641 MB / 0.5054 GB, free: 10.47 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.502e-05/0.1414, allocations: 57.98 kB / 0.5055 GB, free: 10.41 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001991/0.1416, allocations: 103.8 kB / 0.5056 GB, free: 10.31 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001684/0.1433, allocations: 1.059 MB / 0.5066 GB, free: 9.211 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.651e-05/0.1434, allocations: 11.91 kB / 0.5066 GB, free: 9.199 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.739e-05/0.1435, allocations: 35.98 kB / 0.5067 GB, free: 9.164 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002201/0.1437, allocations: 73.95 kB / 0.5067 GB, free: 9.094 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001447/0.1452, allocations: 0.8314 MB / 0.5076 GB, free: 8.262 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005744/0.1509, allocations: 3.981 MB / 0.5114 GB, free: 4.098 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001017/0.152, allocations: 0.625 MB / 0.512 GB, free: 3.434 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004257/0.1524, allocations: 315.2 kB / 0.5124 GB, free: 3.121 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.672e-05/0.1524, allocations: 16.5 kB / 0.5124 GB, free: 3.105 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.045e-05/0.1525, allocations: 39.12 kB / 0.5124 GB, free: 3.059 MB / 398.1 MB Notification: Performance of pre-optimization done (n=57): time 2.555e-06/0.1525, allocations: 0 / 0.5124 GB, free: 3.059 MB / 398.1 MB Notification: Performance of matching and sorting (n=65): time 0.004623/0.1571, allocations: 2.575 MB / 0.5149 GB, free: 392 kB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.658e-05/0.1572, allocations: 115.7 kB / 0.515 GB, free: 252 kB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008585/0.1581, allocations: 0.6998 MB / 0.5157 GB, free: 15.54 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 6.099e-05/0.1581, allocations: 37.7 kB / 0.5157 GB, free: 15.49 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003247/0.1585, allocations: 487.1 kB / 0.5162 GB, free: 15.01 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001887/0.1587, allocations: 236.5 kB / 0.5164 GB, free: 14.77 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002213/0.1589, allocations: 150.6 kB / 0.5166 GB, free: 14.62 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.000156/0.1591, allocations: 394.7 kB / 0.517 GB, free: 14.23 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004769/0.1595, allocations: 305.8 kB / 0.5172 GB, free: 13.93 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005992/0.1601, allocations: 0.515 MB / 0.5178 GB, free: 13.32 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003744/0.1639, allocations: 1.676 MB / 0.5194 GB, free: 11.54 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.508e-06/0.1639, allocations: 0 / 0.5194 GB, free: 11.54 MB / 414.1 MB Notification: Performance of matching and sorting (n=103) (initialization): time 0.00224/0.1662, allocations: 1.267 MB / 0.5206 GB, free: 10.26 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.366e-05/0.1662, allocations: 11.94 kB / 0.5206 GB, free: 10.25 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.624e-05/0.1662, allocations: 7.984 kB / 0.5206 GB, free: 10.24 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001098/0.1673, allocations: 409.6 kB / 0.521 GB, free: 9.836 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005056/0.1679, allocations: 143.8 kB / 0.5212 GB, free: 9.695 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007524/0.1754, allocations: 6.238 MB / 0.5273 GB, free: 3.156 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004796/0.1759, allocations: 36 kB / 0.5273 GB, free: 3.121 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.348e-05/0.176, allocations: 35.98 kB / 0.5273 GB, free: 3.086 MB / 414.1 MB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization system: $DER.windGen.WT.turbine.w = 0.0. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 28 * Number of states: 0 () * 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 initialization (75): * Single equations (assignments): 73 * 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,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(4,21)} Notification: Performance of prepare postOptimizeDAE: time 0.0004842/0.1765, allocations: 353.5 kB / 0.5277 GB, free: 2.73 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001435/0.1766, allocations: 82.97 kB / 0.5277 GB, free: 2.648 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001611/0.1782, allocations: 0.8955 MB / 0.5286 GB, free: 1.727 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.021e-05/0.1782, allocations: 3.984 kB / 0.5286 GB, free: 1.723 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.034e-06/0.1783, allocations: 0 / 0.5286 GB, free: 1.723 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003355/0.1786, allocations: 208 kB / 0.5288 GB, free: 1.5 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001199/0.1787, allocations: 16 kB / 0.5288 GB, free: 1.484 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003517/0.1791, allocations: 19.98 kB / 0.5289 GB, free: 1.465 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.627e-05/0.1792, allocations: 52.42 kB / 0.5289 GB, free: 1.414 MB / 414.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.002344/0.1815, allocations: 1.164 MB / 0.53 GB, free: 244 kB / 414.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.2226/0.4042, allocations: 1.354 MB / 0.5314 GB, free: 51.18 MB / 414.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.000481/0.4047, allocations: 341.9 kB / 0.5317 GB, free: 51.18 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0006454/0.4053, allocations: 0.4895 MB / 0.5322 GB, free: 51.09 MB / 414.1 MB Notification: Performance of Backend: time 3.6e-07/0.4053, allocations: 0 / 0.5322 GB, free: 51.09 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.00323/0.4086, allocations: 1.434 MB / 0.5336 GB, free: 50.57 MB / 414.1 MB Notification: Performance of SimCode: time 0.003402/0.412, allocations: 2.901 MB / 0.5364 GB, free: 49.03 MB / 414.1 MB Notification: Performance of Templates: time 0.02407/0.4361, allocations: 14.15 MB / 0.5502 GB, free: 44.96 MB / 414.1 MB make -j1 -f PowerSystems_PowerSystems.Examples.AC3ph.Generation.WindGeneratorLine.makefile (rm -f PowerSystems_PowerSystems.Examples.AC3ph.Generation.WindGeneratorLine.pipe ; mkfifo PowerSystems_PowerSystems.Examples.AC3ph.Generation.WindGeneratorLine.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.AC3ph.Generation.WindGeneratorLine.pipe >> ../files/PowerSystems_PowerSystems.Examples.AC3ph.Generation.WindGeneratorLine.sim & ./PowerSystems_PowerSystems.Examples.AC3ph.Generation.WindGeneratorLine -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.AC3ph.Generation.WindGeneratorLine.pipe 2>&1)