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.001475/0.001475, allocations: 113.3 kB / 17.69 MB, free: 5.309 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.001548/0.001548, allocations: 192 kB / 18.63 MB, free: 4.375 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.31/1.31, allocations: 222.9 MB / 242.3 MB, free: 15.29 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.1759/0.1759, allocations: 38.04 MB / 330.5 MB, free: 8.758 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001254/0.001254, allocations: 62.38 kB / 400.3 MB, free: 33.39 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1036/0.1049, allocations: 58.05 MB / 458.3 MB, free: 7.375 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Wind.WindTurbine_IG): time 0.008959/0.1139, allocations: 8.093 MB / 466.4 MB, free: 15.24 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.007454/0.1214, allocations: 5.485 MB / 471.9 MB, free: 9.738 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00047/0.1219, allocations: 27.88 kB / 471.9 MB, free: 9.711 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.009477/0.1313, allocations: 5.235 MB / 477.2 MB, free: 4.469 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002038/0.1334, allocations: 0.8363 MB / 478 MB, free: 3.629 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001178/0.1346, allocations: 499 kB / 478.5 MB, free: 3.141 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.002959/0.1376, allocations: 2.53 MB / 481 MB, free: 0.6016 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008331/0.1384, allocations: 0.6261 MB / 481.6 MB, free: 15.96 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009604/0.1394, allocations: 0.7589 MB / 482.4 MB, free: 15.2 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00119/0.1406, allocations: 1.028 MB / 483.4 MB, free: 14.17 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001453/0.1407, allocations: 107.9 kB / 483.5 MB, free: 14.07 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006318/0.1414, allocations: 371.5 kB / 483.9 MB, free: 13.7 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005948/0.142, allocations: 0.6546 MB / 484.5 MB, free: 13.05 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006291/0.1426, allocations: 0.692 MB / 485.2 MB, free: 12.35 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001646/0.1443, allocations: 1.725 MB / 487 MB, free: 10.62 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.579e-06/0.1443, allocations: 0 / 487 MB, free: 10.62 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.893e-06/0.1443, allocations: 0 / 487 MB, free: 10.62 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.894e-05/0.1443, allocations: 4 kB / 487 MB, free: 10.62 MB / 366.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.00325/0.1476, allocations: 1.584 MB / 488.5 MB, free: 8.98 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.085e-05/0.1477, allocations: 19.88 kB / 488.6 MB, free: 8.961 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001193/0.1489, allocations: 207.1 kB / 488.8 MB, free: 8.758 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002139/0.151, allocations: 0.9685 MB / 489.7 MB, free: 7.746 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.485e-05/0.1511, allocations: 69.98 kB / 489.8 MB, free: 7.68 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004386/0.1515, allocations: 179.8 kB / 490 MB, free: 7.504 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002494/0.154, allocations: 1.56 MB / 491.5 MB, free: 5.863 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.194e-05/0.1541, allocations: 15.83 kB / 491.6 MB, free: 5.848 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001058/0.1542, allocations: 47.97 kB / 491.6 MB, free: 5.801 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005504/0.1547, allocations: 149.9 kB / 491.7 MB, free: 5.652 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002048/0.1568, allocations: 1.249 MB / 493 MB, free: 4.395 MB / 366.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.008545/0.1654, allocations: 6.458 MB / 499.5 MB, free: 13.56 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00152/0.1669, allocations: 0.9088 MB / 0.4886 GB, free: 12.62 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007615/0.1677, allocations: 0.5044 MB / 0.4891 GB, free: 12.11 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.871e-05/0.1678, allocations: 16.98 kB / 0.4891 GB, free: 12.1 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.064e-05/0.1678, allocations: 39.56 kB / 0.4892 GB, free: 12.05 MB / 382.1 MB Notification: Performance of pre-optimization done (n=91): time 2.705e-06/0.1678, allocations: 3.938 kB / 0.4892 GB, free: 12.05 MB / 382.1 MB Notification: Performance of matching and sorting (n=96): time 0.006191/0.174, allocations: 3.679 MB / 0.4928 GB, free: 8.227 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.448e-05/0.1741, allocations: 94.05 kB / 0.4929 GB, free: 8.117 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007815/0.1749, allocations: 0.7312 MB / 0.4936 GB, free: 7.375 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 6.563e-05/0.1749, allocations: 41.7 kB / 0.4936 GB, free: 7.328 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003543/0.1753, allocations: 0.5496 MB / 0.4942 GB, free: 6.77 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002775/0.1756, allocations: 370.8 kB / 0.4945 GB, free: 6.402 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003478/0.1759, allocations: 234.8 kB / 0.4947 GB, free: 6.168 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0002201/0.1762, allocations: 410.7 kB / 0.4951 GB, free: 5.758 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008842/0.1771, allocations: 0.5686 MB / 0.4957 GB, free: 5.188 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001064/0.1781, allocations: 0.8776 MB / 0.4965 GB, free: 4.18 MB / 382.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.007884/0.186, allocations: 3.236 MB / 0.4997 GB, free: 0.8203 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.011e-05/0.1861, allocations: 4 kB / 0.4997 GB, free: 0.8164 MB / 382.1 MB Notification: Performance of matching and sorting (n=164) (initialization): time 0.2047/0.3908, allocations: 2.729 MB / 0.5024 GB, free: 56.09 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.64e-05/0.3908, allocations: 14.06 kB / 0.5024 GB, free: 56.09 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.359e-05/0.3908, allocations: 9.812 kB / 0.5024 GB, free: 56.09 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003009/0.3939, allocations: 1.153 MB / 0.5035 GB, free: 56.05 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008855/0.3948, allocations: 197.2 kB / 0.5037 GB, free: 56.04 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01695/0.4117, allocations: 12.27 MB / 0.5157 GB, free: 50.25 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001117/0.4129, allocations: 54.08 kB / 0.5157 GB, free: 50.23 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002533/0.4132, allocations: 61.12 kB / 0.5158 GB, free: 50.22 MB / 382.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.0009557/0.4141, allocations: 404 kB / 0.5162 GB, free: 49.99 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002847/0.4144, allocations: 96.44 kB / 0.5163 GB, free: 49.98 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002389/0.4168, allocations: 1.413 MB / 0.5177 GB, free: 49.29 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.372e-05/0.4168, allocations: 9.25 kB / 0.5177 GB, free: 49.29 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.388e-06/0.4169, allocations: 5.531 kB / 0.5177 GB, free: 49.29 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.011e-05/0.4169, allocations: 3.891 kB / 0.5177 GB, free: 49.29 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004318/0.4212, allocations: 2.665 MB / 0.5203 GB, free: 48.09 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.653e-06/0.4212, allocations: 2.281 kB / 0.5203 GB, free: 48.09 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001546/0.4228, allocations: 274.3 kB / 0.5205 GB, free: 48.07 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001787/0.423, allocations: 61.12 kB / 0.5206 GB, free: 48.05 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001154/0.4231, allocations: 36.48 kB / 0.5206 GB, free: 48.04 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00146/0.4246, allocations: 2.836 MB / 0.5234 GB, free: 45.22 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.436e-06/0.4246, allocations: 9.25 kB / 0.5234 GB, free: 45.21 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002423/0.427, allocations: 1.89 MB / 0.5253 GB, free: 44.13 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005484/0.4276, allocations: 259.4 kB / 0.5255 GB, free: 43.93 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001845/0.4278, allocations: 42.16 kB / 0.5256 GB, free: 43.91 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006102/0.4284, allocations: 42.86 kB / 0.5256 GB, free: 43.89 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001487/0.4285, allocations: 63.08 kB / 0.5257 GB, free: 43.86 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.972e-05/0.4286, allocations: 35.58 kB / 0.5257 GB, free: 43.84 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0005663/0.4292, allocations: 497.8 kB / 0.5262 GB, free: 43.56 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.4292, allocations: 0 / 0.5262 GB, free: 43.56 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001255/0.4304, allocations: 377.4 kB / 0.5265 GB, free: 43.52 MB / 382.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.0001708/0.4306, allocations: 142.7 kB / 0.5267 GB, free: 43.41 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.003097/0.4337, allocations: 2.122 MB / 0.5287 GB, free: 42.23 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.256e-06/0.4337, allocations: 256 / 0.5287 GB, free: 42.23 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008491/0.4346, allocations: 0.7528 MB / 0.5295 GB, free: 41.45 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009176/0.4355, allocations: 219.3 kB / 0.5297 GB, free: 41.24 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004704/0.4402, allocations: 4.04 MB / 0.5336 GB, free: 37.25 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005977/0.4409, allocations: 1.302 MB / 0.5349 GB, free: 35.92 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0006651/0.4415, allocations: 320 kB / 0.5352 GB, free: 35.61 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002312/0.4418, allocations: 75.42 kB / 0.5353 GB, free: 35.54 MB / 382.1 MB Notification: Performance of SimCode: time 1.603e-06/0.4418, allocations: 3.938 kB / 0.5353 GB, free: 35.53 MB / 382.1 MB Notification: Performance of Templates: time 0.02285/0.4646, allocations: 19.12 MB / 0.5539 GB, free: 16.55 MB / 382.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 -s gbode -emit_protected -lv LOG_STATS > PowerSystems_latest_PowerSystems.Examples.Wind.WindTurbine_IG.pipe 2>&1)