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/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo", uses=false) Using package PowerSystems with version 1.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/Complex 3.2.3+maint.om/package.mo): time 0.001768/0.001768, allocations: 188.9 kB / 17.27 MB, free: 4.496 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.574/1.574, allocations: 205.1 MB / 223.1 MB, free: 8.465 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001133/0.001134, allocations: 95.91 kB / 270.5 MB, free: 8.434 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo): time 0.2069/0.2069, allocations: 38 MB / 355.8 MB, free: 2.93 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0009091/0.0009092, allocations: 47.92 kB / 421.8 MB, free: 37.78 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2619/0.2629, allocations: 55.24 MB / 477.1 MB, free: 9.902 MB / 314.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Wind.WindTurbine_IG): time 0.009011/0.2719, allocations: 9.317 MB / 486.4 MB, free: 3.297 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.009376/0.2813, allocations: 6.075 MB / 492.5 MB, free: 15.1 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001809/0.2832, allocations: 57.31 kB / 492.5 MB, free: 15.07 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.01171/0.2949, allocations: 5.125 MB / 497.7 MB, free: 13.61 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003008/0.2979, allocations: 0.7937 MB / 498.5 MB, free: 13.09 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001697/0.2997, allocations: 451.5 kB / 498.9 MB, free: 12.76 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.007167/0.3069, allocations: 3.764 MB / 0.4909 GB, free: 10.86 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001829/0.3087, allocations: 0.5741 MB / 0.4914 GB, free: 10.53 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002614/0.3114, allocations: 0.6622 MB / 0.4921 GB, free: 10.18 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003292/0.3147, allocations: 1.093 MB / 0.4932 GB, free: 9.59 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.00079/0.3155, allocations: 64.72 kB / 0.4932 GB, free: 9.59 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001783/0.3173, allocations: 341.2 kB / 0.4935 GB, free: 9.441 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001236/0.3186, allocations: 0.623 MB / 0.4942 GB, free: 9.062 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001917/0.3205, allocations: 0.6499 MB / 0.4948 GB, free: 8.641 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002818/0.3234, allocations: 1.673 MB / 0.4964 GB, free: 7.535 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.889e-06/0.3234, allocations: 5.406 kB / 0.4964 GB, free: 7.531 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.553e-06/0.3234, allocations: 0 / 0.4964 GB, free: 7.531 MB / 330.7 MB Notification: Performance of Transformations before backend: time 5.137e-05/0.3235, allocations: 0 / 0.4964 GB, free: 7.531 MB / 330.7 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.003666/0.3271, allocations: 1.577 MB / 0.498 GB, free: 6.055 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.255e-05/0.3272, allocations: 19.97 kB / 0.498 GB, free: 6.035 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001256/0.3285, allocations: 219.1 kB / 0.4982 GB, free: 5.82 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00209/0.3306, allocations: 0.9178 MB / 0.4991 GB, free: 4.859 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.376e-05/0.3306, allocations: 73.98 kB / 0.4992 GB, free: 4.789 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004331/0.3311, allocations: 187.7 kB / 0.4993 GB, free: 4.605 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002357/0.3335, allocations: 1.564 MB / 0.5009 GB, free: 2.961 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.345e-05/0.3335, allocations: 4 kB / 0.5009 GB, free: 2.957 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001028/0.3336, allocations: 35.98 kB / 0.5009 GB, free: 2.922 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006077/0.3342, allocations: 157.9 kB / 0.5011 GB, free: 2.766 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002054/0.3363, allocations: 1.253 MB / 0.5023 GB, free: 1.504 MB / 330.7 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.008753/0.3451, allocations: 6.489 MB / 0.5086 GB, free: 10.64 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001433/0.3465, allocations: 0.9126 MB / 0.5095 GB, free: 9.711 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007391/0.3473, allocations: 0.5044 MB / 0.51 GB, free: 9.199 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.937e-05/0.3473, allocations: 13 kB / 0.51 GB, free: 9.188 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.793e-05/0.3474, allocations: 55.48 kB / 0.5101 GB, free: 9.121 MB / 346.7 MB Notification: Performance of pre-optimization done (n=91): time 3.576e-06/0.3474, allocations: 0 / 0.5101 GB, free: 9.121 MB / 346.7 MB Notification: Performance of matching and sorting (n=96): time 0.006565/0.354, allocations: 3.664 MB / 0.5136 GB, free: 5.316 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.424e-05/0.3541, allocations: 94.05 kB / 0.5137 GB, free: 5.207 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009631/0.3551, allocations: 0.7311 MB / 0.5144 GB, free: 4.465 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 7.182e-05/0.3551, allocations: 41.7 kB / 0.5145 GB, free: 4.418 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003938/0.3555, allocations: 0.5574 MB / 0.515 GB, free: 3.852 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003031/0.3559, allocations: 362.8 kB / 0.5154 GB, free: 3.492 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003723/0.3562, allocations: 238.8 kB / 0.5156 GB, free: 3.254 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0002157/0.3565, allocations: 418.8 kB / 0.516 GB, free: 2.836 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000961/0.3574, allocations: 0.5647 MB / 0.5166 GB, free: 2.27 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001123/0.3586, allocations: 0.8853 MB / 0.5174 GB, free: 1.25 MB / 346.7 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.008826/0.3674, allocations: 3.224 MB / 0.5206 GB, free: 13.9 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.226e-05/0.3675, allocations: 4 kB / 0.5206 GB, free: 13.9 MB / 362.7 MB Notification: Performance of matching and sorting (n=164) (initialization): time 0.006585/0.3741, allocations: 2.736 MB / 0.5232 GB, free: 11.14 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.258e-05/0.3742, allocations: 15.94 kB / 0.5233 GB, free: 11.13 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.93e-05/0.3742, allocations: 8 kB / 0.5233 GB, free: 11.12 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002868/0.3771, allocations: 1.156 MB / 0.5244 GB, free: 9.961 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008649/0.378, allocations: 203.7 kB / 0.5246 GB, free: 9.762 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01685/0.3948, allocations: 11.21 MB / 0.5355 GB, free: 14.26 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009658/0.3958, allocations: 60.02 kB / 0.5356 GB, free: 14.2 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001121/0.3959, allocations: 52 kB / 0.5356 GB, free: 14.15 MB / 378.7 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.0007741/0.3967, allocations: 409.2 kB / 0.536 GB, free: 13.74 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001646/0.3969, allocations: 98.72 kB / 0.5361 GB, free: 13.64 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002315/0.3992, allocations: 1.404 MB / 0.5375 GB, free: 12.19 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.638e-06/0.3992, allocations: 12 kB / 0.5375 GB, free: 12.18 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.24e-06/0.3993, allocations: 3.984 kB / 0.5375 GB, free: 12.18 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.354e-05/0.3993, allocations: 11.92 kB / 0.5375 GB, free: 12.16 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004421/0.4037, allocations: 2.668 MB / 0.5401 GB, free: 9.371 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.272e-06/0.4037, allocations: 0 / 0.5401 GB, free: 9.371 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001552/0.4053, allocations: 279.6 kB / 0.5404 GB, free: 9.098 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000188/0.4055, allocations: 49.91 kB / 0.5404 GB, free: 9.043 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.685e-05/0.4056, allocations: 43.97 kB / 0.5405 GB, free: 9 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002071/0.4077, allocations: 2.638 MB / 0.5431 GB, free: 6.098 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.741e-06/0.4077, allocations: 8 kB / 0.5431 GB, free: 6.09 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01957/0.4273, allocations: 11.89 MB / 0.5547 GB, free: 9.57 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007655/0.4281, allocations: 255.9 kB / 0.5549 GB, free: 9.301 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002869/0.4284, allocations: 39.89 kB / 0.555 GB, free: 9.262 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007435/0.4292, allocations: 43.95 kB / 0.555 GB, free: 9.219 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002007/0.4294, allocations: 72.88 kB / 0.5551 GB, free: 9.148 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.61e-05/0.4295, allocations: 27.98 kB / 0.5551 GB, free: 9.121 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0007179/0.4302, allocations: 0.4911 MB / 0.5556 GB, free: 8.637 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4302, allocations: 0 / 0.5556 GB, free: 8.637 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.001879/0.4321, allocations: 496 kB / 0.5561 GB, free: 8.152 MB / 394.7 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.0001923/0.4323, allocations: 143 kB / 0.5562 GB, free: 8.004 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.003794/0.4361, allocations: 2.072 MB / 0.5582 GB, free: 5.906 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.597e-06/0.4361, allocations: 4 kB / 0.5582 GB, free: 5.902 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001137/0.4373, allocations: 0.7527 MB / 0.559 GB, free: 5.129 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001065/0.4383, allocations: 210.9 kB / 0.5592 GB, free: 4.922 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00762/0.446, allocations: 5.342 MB / 0.5644 GB, free: 15.48 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009979/0.447, allocations: 1.347 MB / 0.5657 GB, free: 14.1 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.001128/0.4481, allocations: 348 kB / 0.566 GB, free: 13.76 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003334/0.4485, allocations: 75.44 kB / 0.5661 GB, free: 13.69 MB / 410.7 MB Notification: Performance of SimCode: time 8.62e-07/0.4485, allocations: 0 / 0.5661 GB, free: 13.69 MB / 410.7 MB Notification: Performance of Templates: time 0.03545/0.4839, allocations: 21.86 MB / 0.5874 GB, free: 7.836 MB / 426.7 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 -emit_protected -lv LOG_STATS > PowerSystems_latest_PowerSystems.Examples.Wind.WindTurbine_IG.pipe 2>&1)