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.001288/0.001288, allocations: 116.5 kB / 17.7 MB, free: 5.438 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.001084/0.001084, allocations: 191 kB / 18.63 MB, free: 4.508 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.36/1.36, allocations: 222.9 MB / 242.3 MB, free: 15.19 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.1664/0.1664, allocations: 38.04 MB / 330.5 MB, free: 8.789 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00136/0.001361, allocations: 64.5 kB / 400.3 MB, free: 33.38 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1216/0.123, allocations: 58.07 MB / 458.3 MB, free: 7.34 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Wind.WindTurbine_IG): time 0.00968/0.1327, allocations: 8.081 MB / 466.4 MB, free: 15.22 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.008317/0.1411, allocations: 5.498 MB / 471.9 MB, free: 9.703 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006298/0.1418, allocations: 23.88 kB / 471.9 MB, free: 9.68 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01101/0.1528, allocations: 5.234 MB / 477.2 MB, free: 4.438 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002514/0.1554, allocations: 0.8363 MB / 478 MB, free: 3.598 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001454/0.1568, allocations: 499 kB / 478.5 MB, free: 3.109 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.004038/0.1609, allocations: 2.526 MB / 481 MB, free: 0.5742 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009362/0.1618, allocations: 0.6299 MB / 481.6 MB, free: 15.94 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001248/0.1631, allocations: 0.7628 MB / 482.4 MB, free: 15.17 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001449/0.1646, allocations: 1.024 MB / 483.4 MB, free: 14.14 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001678/0.1647, allocations: 104 kB / 483.5 MB, free: 14.04 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007952/0.1656, allocations: 371.5 kB / 483.9 MB, free: 13.68 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006327/0.1662, allocations: 0.6586 MB / 484.6 MB, free: 13.02 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007894/0.167, allocations: 0.6881 MB / 485.2 MB, free: 12.33 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002152/0.1692, allocations: 1.729 MB / 487 MB, free: 10.59 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.492e-06/0.1692, allocations: 0 / 487 MB, free: 10.59 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.854e-06/0.1692, allocations: 0 / 487 MB, free: 10.59 MB / 366.1 MB Notification: Performance of Transformations before backend: time 2.418e-05/0.1692, allocations: 4 kB / 487 MB, free: 10.59 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.003456/0.1727, allocations: 1.585 MB / 488.6 MB, free: 8.949 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.549e-05/0.1728, allocations: 8.031 kB / 488.6 MB, free: 8.941 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001176/0.1739, allocations: 215.1 kB / 488.8 MB, free: 8.73 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002114/0.1761, allocations: 0.9607 MB / 489.7 MB, free: 7.727 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.923e-05/0.1761, allocations: 69.98 kB / 489.8 MB, free: 7.66 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004499/0.1766, allocations: 183.8 kB / 490 MB, free: 7.48 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002333/0.1789, allocations: 1.56 MB / 491.5 MB, free: 5.84 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.728e-05/0.179, allocations: 11.84 kB / 491.6 MB, free: 5.828 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001042/0.1791, allocations: 43.98 kB / 491.6 MB, free: 5.785 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005557/0.1797, allocations: 145.9 kB / 491.7 MB, free: 5.641 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00212/0.1818, allocations: 1.249 MB / 493 MB, free: 4.383 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.008695/0.1905, allocations: 6.462 MB / 499.5 MB, free: 13.54 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00159/0.1921, allocations: 0.9127 MB / 0.4886 GB, free: 12.61 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007683/0.1929, allocations: 0.516 MB / 0.4891 GB, free: 12.08 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.519e-05/0.193, allocations: 9 kB / 0.4891 GB, free: 12.07 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.542e-05/0.193, allocations: 47.55 kB / 0.4892 GB, free: 12.02 MB / 382.1 MB Notification: Performance of pre-optimization done (n=91): time 3.386e-06/0.1931, allocations: 0 / 0.4892 GB, free: 12.02 MB / 382.1 MB Notification: Performance of matching and sorting (n=96): time 0.006762/0.1998, allocations: 3.671 MB / 0.4928 GB, free: 8.207 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.034e-05/0.1999, allocations: 90.05 kB / 0.4929 GB, free: 8.102 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009285/0.2009, allocations: 0.7312 MB / 0.4936 GB, free: 7.359 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 8.69e-05/0.201, allocations: 41.7 kB / 0.4936 GB, free: 7.312 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004075/0.2014, allocations: 0.5535 MB / 0.4942 GB, free: 6.75 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003179/0.2017, allocations: 366.8 kB / 0.4945 GB, free: 6.387 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003676/0.2021, allocations: 242.8 kB / 0.4947 GB, free: 6.145 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0002064/0.2023, allocations: 418.7 kB / 0.4951 GB, free: 5.727 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009087/0.2032, allocations: 0.5608 MB / 0.4957 GB, free: 5.164 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001066/0.2043, allocations: 0.8815 MB / 0.4965 GB, free: 4.152 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.008163/0.2125, allocations: 3.24 MB / 0.4997 GB, free: 0.7891 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.102e-05/0.2125, allocations: 0 / 0.4997 GB, free: 0.7891 MB / 382.1 MB Notification: Performance of matching and sorting (n=164) (initialization): time 0.005689/0.2182, allocations: 2.729 MB / 0.5024 GB, free: 14.04 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.132e-05/0.2183, allocations: 11.94 kB / 0.5024 GB, free: 14.03 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.835e-05/0.2183, allocations: 12.62 kB / 0.5024 GB, free: 14.02 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00301/0.2214, allocations: 1.163 MB / 0.5035 GB, free: 12.85 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009708/0.2223, allocations: 195.7 kB / 0.5037 GB, free: 12.66 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01987/0.2422, allocations: 12.28 MB / 0.5157 GB, free: 80 kB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001012/0.2433, allocations: 51.97 kB / 0.5158 GB, free: 28 kB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.2587/0.502, allocations: 54.94 kB / 0.5158 GB, free: 70.14 MB / 398.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.0009248/0.5029, allocations: 393.7 kB / 0.5162 GB, free: 70.03 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002692/0.5032, allocations: 96.73 kB / 0.5163 GB, free: 70.03 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002434/0.5057, allocations: 1.411 MB / 0.5177 GB, free: 69.76 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.26e-05/0.5057, allocations: 9.781 kB / 0.5177 GB, free: 69.76 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.464e-06/0.5057, allocations: 4.359 kB / 0.5177 GB, free: 69.76 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.221e-05/0.5057, allocations: 6.531 kB / 0.5177 GB, free: 69.76 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00461/0.5103, allocations: 2.667 MB / 0.5203 GB, free: 69.15 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.444e-06/0.5104, allocations: 2.875 kB / 0.5203 GB, free: 69.15 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001487/0.5118, allocations: 271.5 kB / 0.5205 GB, free: 69.14 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001738/0.512, allocations: 59.23 kB / 0.5206 GB, free: 69.12 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.186e-05/0.5121, allocations: 38.91 kB / 0.5206 GB, free: 69.11 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001506/0.5136, allocations: 2.833 MB / 0.5234 GB, free: 66.32 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.899e-06/0.5137, allocations: 11.53 kB / 0.5234 GB, free: 66.32 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002659/0.5163, allocations: 1.893 MB / 0.5253 GB, free: 65.43 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000544/0.5169, allocations: 254.1 kB / 0.5255 GB, free: 65.31 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001462/0.517, allocations: 45 kB / 0.5256 GB, free: 65.29 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005378/0.5176, allocations: 40.95 kB / 0.5256 GB, free: 65.28 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001803/0.5178, allocations: 68.7 kB / 0.5257 GB, free: 65.27 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.939e-05/0.5179, allocations: 26.95 kB / 0.5257 GB, free: 65.26 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0006666/0.5185, allocations: 498.7 kB / 0.5262 GB, free: 65.06 MB / 398.1 MB Notification: Performance of sort global known variables: time 2.7e-07/0.5185, allocations: 0 / 0.5262 GB, free: 65.06 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.00138/0.5199, allocations: 377.2 kB / 0.5265 GB, free: 65.02 MB / 398.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.0001908/0.5201, allocations: 145.2 kB / 0.5267 GB, free: 64.91 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.004113/0.5242, allocations: 2.119 MB / 0.5287 GB, free: 64.07 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 4.498e-06/0.5243, allocations: 2.625 kB / 0.5287 GB, free: 64.07 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001194/0.5255, allocations: 0.7539 MB / 0.5295 GB, free: 63.69 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009737/0.5264, allocations: 217.9 kB / 0.5297 GB, free: 63.61 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006496/0.5329, allocations: 4.035 MB / 0.5336 GB, free: 61.55 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001053/0.534, allocations: 1.304 MB / 0.5349 GB, free: 60.77 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0009103/0.5349, allocations: 316.3 kB / 0.5352 GB, free: 60.72 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002789/0.5352, allocations: 74.45 kB / 0.5353 GB, free: 60.71 MB / 398.1 MB Notification: Performance of SimCode: time 9.72e-07/0.5352, allocations: 0 / 0.5353 GB, free: 60.71 MB / 398.1 MB Notification: Performance of Templates: time 0.0254/0.5606, allocations: 19.13 MB / 0.5539 GB, free: 47.78 MB / 398.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 cvode -emit_protected -lv LOG_STATS > PowerSystems_latest_PowerSystems.Examples.Wind.WindTurbine_IG.pipe 2>&1)