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.001328/0.001329, allocations: 116.3 kB / 17.07 MB, free: 5.973 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.001135/0.001135, allocations: 198.8 kB / 18.01 MB, free: 5.055 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.43/1.43, allocations: 222.9 MB / 241.7 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.1791/0.1791, allocations: 38.05 MB / 329.9 MB, free: 8.73 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001392/0.001392, allocations: 59.91 kB / 458.1 MB, free: 6.844 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4192/0.4207, allocations: 58.05 MB / 0.5041 GB, free: 7.703 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Wind.WindTurbine_IG): time 0.01105/0.4318, allocations: 8.104 MB / 0.512 GB, free: 2.055 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01104/0.4429, allocations: 5.477 MB / 0.5174 GB, free: 14.25 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00165/0.4445, allocations: 30.72 kB / 0.5174 GB, free: 14.24 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01765/0.4622, allocations: 5.239 MB / 0.5225 GB, free: 12.6 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003825/0.4661, allocations: 0.8464 MB / 0.5233 GB, free: 12.15 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002182/0.4683, allocations: 494.8 kB / 0.5238 GB, free: 11.94 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.006565/0.4749, allocations: 2.526 MB / 0.5263 GB, free: 11.01 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001715/0.4766, allocations: 0.6346 MB / 0.5269 GB, free: 10.72 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002913/0.4795, allocations: 0.7814 MB / 0.5276 GB, free: 10.38 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002573/0.4821, allocations: 1.029 MB / 0.5287 GB, free: 9.895 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005843/0.4828, allocations: 103.4 kB / 0.5288 GB, free: 9.895 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001657/0.4844, allocations: 373.3 kB / 0.5291 GB, free: 9.754 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001366/0.4858, allocations: 0.659 MB / 0.5298 GB, free: 9.336 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002977/0.4888, allocations: 0.6892 MB / 0.5304 GB, free: 8.875 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005127/0.4939, allocations: 1.726 MB / 0.5321 GB, free: 7.742 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.663e-06/0.494, allocations: 1.188 kB / 0.5321 GB, free: 7.742 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.783e-06/0.494, allocations: 0 / 0.5321 GB, free: 7.742 MB / 398.1 MB Notification: Performance of Transformations before backend: time 9.701e-05/0.4941, allocations: 0 / 0.5321 GB, free: 7.742 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.006112/0.5002, allocations: 1.594 MB / 0.5337 GB, free: 6.57 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.107e-05/0.5003, allocations: 13.33 kB / 0.5337 GB, free: 6.566 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001741/0.502, allocations: 218.6 kB / 0.5339 GB, free: 6.461 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002774/0.5048, allocations: 0.953 MB / 0.5348 GB, free: 5.77 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.431e-05/0.5049, allocations: 68.42 kB / 0.5349 GB, free: 5.738 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007017/0.5056, allocations: 187 kB / 0.5351 GB, free: 5.672 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004048/0.5097, allocations: 1.565 MB / 0.5366 GB, free: 4.703 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.406e-05/0.5098, allocations: 6.875 kB / 0.5366 GB, free: 4.699 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001299/0.5099, allocations: 38.14 kB / 0.5366 GB, free: 4.672 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006264/0.5106, allocations: 151.3 kB / 0.5368 GB, free: 4.621 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002786/0.5134, allocations: 1.245 MB / 0.538 GB, free: 4.031 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.01069/0.5241, allocations: 6.457 MB / 0.5443 GB, free: 14.82 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00165/0.5257, allocations: 0.9133 MB / 0.5452 GB, free: 13.92 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007917/0.5265, allocations: 0.5083 MB / 0.5457 GB, free: 13.41 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.083e-05/0.5266, allocations: 13 kB / 0.5457 GB, free: 13.39 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.679e-05/0.5267, allocations: 47.5 kB / 0.5457 GB, free: 13.34 MB / 414.1 MB Notification: Performance of pre-optimization done (n=91): time 2.966e-06/0.5267, allocations: 4 kB / 0.5458 GB, free: 13.33 MB / 414.1 MB Notification: Performance of matching and sorting (n=96): time 0.008241/0.5349, allocations: 3.666 MB / 0.5493 GB, free: 9.527 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.781e-05/0.5351, allocations: 97.98 kB / 0.5494 GB, free: 9.41 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001385/0.5365, allocations: 0.7312 MB / 0.5501 GB, free: 8.672 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 9.643e-05/0.5366, allocations: 45.7 kB / 0.5502 GB, free: 8.621 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006363/0.5372, allocations: 0.5496 MB / 0.5507 GB, free: 8.062 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003513/0.5376, allocations: 370.8 kB / 0.5511 GB, free: 7.695 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003961/0.538, allocations: 230.8 kB / 0.5513 GB, free: 7.465 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002495/0.5382, allocations: 414.7 kB / 0.5517 GB, free: 7.051 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009355/0.5392, allocations: 0.5647 MB / 0.5522 GB, free: 6.484 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001224/0.5404, allocations: 0.8854 MB / 0.5531 GB, free: 5.469 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.008498/0.5489, allocations: 3.224 MB / 0.5563 GB, free: 2.121 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.264e-05/0.549, allocations: 7.938 kB / 0.5563 GB, free: 2.113 MB / 414.1 MB Notification: Performance of matching and sorting (n=164) (initialization): time 0.005868/0.5548, allocations: 2.737 MB / 0.5589 GB, free: 15.36 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.297e-05/0.5549, allocations: 15.94 kB / 0.5589 GB, free: 15.34 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.415e-05/0.5549, allocations: 11.98 kB / 0.559 GB, free: 15.33 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002923/0.5579, allocations: 1.152 MB / 0.5601 GB, free: 14.17 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008456/0.5587, allocations: 207.6 kB / 0.5603 GB, free: 13.97 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0178/0.5765, allocations: 12.27 MB / 0.5723 GB, free: 1.406 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001097/0.5777, allocations: 67.92 kB / 0.5723 GB, free: 1.34 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001184/0.5778, allocations: 52 kB / 0.5724 GB, free: 1.289 MB / 430.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.0007433/0.5786, allocations: 405.2 kB / 0.5728 GB, free: 0.8828 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001596/0.5787, allocations: 94.88 kB / 0.5729 GB, free: 0.7891 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002317/0.581, allocations: 1.411 MB / 0.5742 GB, free: 15.32 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.077e-05/0.5811, allocations: 8 kB / 0.5742 GB, free: 15.32 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.353e-06/0.5811, allocations: 7.938 kB / 0.5742 GB, free: 15.31 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.227e-06/0.5811, allocations: 3.984 kB / 0.5743 GB, free: 15.3 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004664/0.5858, allocations: 2.657 MB / 0.5768 GB, free: 12.53 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.456e-06/0.5858, allocations: 7.938 kB / 0.5769 GB, free: 12.52 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001497/0.5873, allocations: 275.6 kB / 0.5771 GB, free: 12.25 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001684/0.5875, allocations: 53.69 kB / 0.5772 GB, free: 12.19 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001192/0.5876, allocations: 48.03 kB / 0.5772 GB, free: 12.14 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002604/0.5902, allocations: 2.839 MB / 0.58 GB, free: 9.027 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.989e-06/0.5902, allocations: 4 kB / 0.58 GB, free: 9.023 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00298/0.5932, allocations: 1.896 MB / 0.5818 GB, free: 7.043 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007023/0.594, allocations: 255.8 kB / 0.5821 GB, free: 6.773 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001395/0.5941, allocations: 31.98 kB / 0.5821 GB, free: 6.742 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000572/0.5947, allocations: 47.89 kB / 0.5822 GB, free: 6.695 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001722/0.5949, allocations: 64.86 kB / 0.5822 GB, free: 6.633 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.955e-05/0.5949, allocations: 31.98 kB / 0.5823 GB, free: 6.602 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0007682/0.5957, allocations: 499 kB / 0.5827 GB, free: 6.117 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.5957, allocations: 0 / 0.5827 GB, free: 6.117 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001659/0.5974, allocations: 376 kB / 0.5831 GB, free: 5.75 MB / 446.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.0002407/0.5976, allocations: 154.9 kB / 0.5832 GB, free: 5.586 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.004734/0.6024, allocations: 2.116 MB / 0.5853 GB, free: 3.438 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.401e-05/0.6024, allocations: 0 / 0.5853 GB, free: 3.438 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001496/0.6039, allocations: 0.7612 MB / 0.586 GB, free: 2.652 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001335/0.6053, allocations: 219.1 kB / 0.5863 GB, free: 2.441 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007111/0.6124, allocations: 4.024 MB / 0.5902 GB, free: 14.36 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001096/0.6135, allocations: 1.306 MB / 0.5915 GB, free: 13.03 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0009922/0.6145, allocations: 316 kB / 0.5918 GB, free: 12.71 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002869/0.6148, allocations: 71.42 kB / 0.5918 GB, free: 12.65 MB / 462.1 MB Notification: Performance of SimCode: time 1.032e-06/0.6148, allocations: 0 / 0.5918 GB, free: 12.65 MB / 462.1 MB Notification: Performance of Templates: time 0.03329/0.6481, allocations: 19.49 MB / 0.6109 GB, free: 9.262 MB / 478.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 -emit_protected -lv LOG_STATS > PowerSystems_latest_PowerSystems.Examples.Wind.WindTurbine_IG.pipe 2>&1)