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.001293/0.001293, allocations: 110.9 kB / 17.75 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.001407/0.001407, allocations: 186.6 kB / 18.67 MB, free: 4.395 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.359/1.359, allocations: 222.9 MB / 242.4 MB, free: 15.13 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.1739/0.1739, allocations: 38.04 MB / 330.6 MB, free: 8.73 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001686/0.001686, allocations: 55.91 kB / 458.8 MB, free: 6.844 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3395/0.3412, allocations: 58.06 MB / 0.5048 GB, free: 8.043 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Wind.WindTurbine_IG): time 0.008296/0.3496, allocations: 8.095 MB / 0.5127 GB, free: 2.387 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.009023/0.3586, allocations: 5.482 MB / 0.518 GB, free: 14.57 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008439/0.3595, allocations: 30.28 kB / 0.518 GB, free: 14.56 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01177/0.3713, allocations: 5.234 MB / 0.5232 GB, free: 12.93 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002941/0.3743, allocations: 0.8336 MB / 0.524 GB, free: 12.48 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001588/0.3759, allocations: 0.4914 MB / 0.5245 GB, free: 12.26 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.004996/0.3809, allocations: 2.52 MB / 0.5269 GB, free: 11.34 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001222/0.3821, allocations: 0.6329 MB / 0.5275 GB, free: 11.04 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001726/0.3839, allocations: 0.7742 MB / 0.5283 GB, free: 10.71 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001554/0.3854, allocations: 1.036 MB / 0.5293 GB, free: 10.14 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001893/0.3856, allocations: 105.8 kB / 0.5294 GB, free: 10.14 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000953/0.3866, allocations: 374.6 kB / 0.5298 GB, free: 10 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007205/0.3873, allocations: 0.6569 MB / 0.5304 GB, free: 9.586 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008201/0.3882, allocations: 0.6848 MB / 0.5311 GB, free: 9.129 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002169/0.3903, allocations: 1.722 MB / 0.5328 GB, free: 8 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.338e-06/0.3904, allocations: 0 / 0.5328 GB, free: 8 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.694e-06/0.3904, allocations: 1.156 kB / 0.5328 GB, free: 8 MB / 398.1 MB Notification: Performance of Transformations before backend: time 2.522e-05/0.3904, allocations: 0 / 0.5328 GB, free: 8 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.003541/0.3939, allocations: 1.595 MB / 0.5343 GB, free: 6.828 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.639e-05/0.394, allocations: 17.34 kB / 0.5343 GB, free: 6.82 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001249/0.3953, allocations: 218.3 kB / 0.5345 GB, free: 6.715 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002132/0.3974, allocations: 0.9537 MB / 0.5355 GB, free: 6.023 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.052e-05/0.3975, allocations: 67.92 kB / 0.5355 GB, free: 5.992 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004915/0.398, allocations: 187.4 kB / 0.5357 GB, free: 5.926 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002567/0.4006, allocations: 1.56 MB / 0.5372 GB, free: 4.961 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.144e-05/0.4006, allocations: 7.391 kB / 0.5372 GB, free: 4.957 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000116/0.4007, allocations: 38.02 kB / 0.5373 GB, free: 4.93 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005822/0.4013, allocations: 159.2 kB / 0.5374 GB, free: 4.871 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002168/0.4035, allocations: 1.249 MB / 0.5386 GB, free: 4.277 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.009/0.4125, allocations: 6.448 MB / 0.5449 GB, free: 15.01 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001573/0.4141, allocations: 0.9107 MB / 0.5458 GB, free: 14.08 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007858/0.4149, allocations: 0.5083 MB / 0.5463 GB, free: 13.57 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.726e-05/0.415, allocations: 16.97 kB / 0.5463 GB, free: 13.55 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.622e-05/0.415, allocations: 51.5 kB / 0.5464 GB, free: 13.49 MB / 414.1 MB Notification: Performance of pre-optimization done (n=91): time 3.547e-06/0.415, allocations: 0 / 0.5464 GB, free: 13.49 MB / 414.1 MB Notification: Performance of matching and sorting (n=96): time 0.006695/0.4217, allocations: 3.674 MB / 0.55 GB, free: 9.676 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.925e-05/0.4218, allocations: 94.05 kB / 0.5501 GB, free: 9.562 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008768/0.4227, allocations: 0.7272 MB / 0.5508 GB, free: 8.828 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 8.318e-05/0.4228, allocations: 49.64 kB / 0.5508 GB, free: 8.773 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003857/0.4232, allocations: 0.5496 MB / 0.5514 GB, free: 8.215 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003164/0.4235, allocations: 370.8 kB / 0.5517 GB, free: 7.848 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003716/0.4239, allocations: 226.8 kB / 0.5519 GB, free: 7.621 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002086/0.4241, allocations: 414.7 kB / 0.5523 GB, free: 7.207 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001017/0.4251, allocations: 0.5687 MB / 0.5529 GB, free: 6.637 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001143/0.4263, allocations: 0.8815 MB / 0.5537 GB, free: 5.625 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.00867/0.435, allocations: 3.228 MB / 0.5569 GB, free: 2.273 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.164e-05/0.435, allocations: 4 kB / 0.5569 GB, free: 2.27 MB / 414.1 MB Notification: Performance of matching and sorting (n=164) (initialization): time 0.005994/0.441, allocations: 2.74 MB / 0.5596 GB, free: 15.51 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.498e-05/0.441, allocations: 11.94 kB / 0.5596 GB, free: 15.5 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.006e-05/0.4411, allocations: 8 kB / 0.5596 GB, free: 15.49 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003048/0.4441, allocations: 1.152 MB / 0.5607 GB, free: 14.33 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008556/0.445, allocations: 199.7 kB / 0.5609 GB, free: 14.14 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01924/0.4642, allocations: 12.29 MB / 0.5729 GB, free: 1.555 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001151/0.4654, allocations: 63.8 kB / 0.573 GB, free: 1.492 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000261/0.4657, allocations: 52 kB / 0.573 GB, free: 1.441 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.0009595/0.4667, allocations: 409.3 kB / 0.5734 GB, free: 1.031 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002884/0.467, allocations: 94.88 kB / 0.5735 GB, free: 0.9375 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002761/0.4698, allocations: 1.408 MB / 0.5749 GB, free: 15.48 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.718e-05/0.4698, allocations: 7.922 kB / 0.5749 GB, free: 15.47 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.899e-06/0.4698, allocations: 4 kB / 0.5749 GB, free: 15.46 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000728/0.4705, allocations: 259.9 kB / 0.5751 GB, free: 15.19 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002723/0.4708, allocations: 35.89 kB / 0.5752 GB, free: 15.16 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007198/0.4716, allocations: 43.95 kB / 0.5752 GB, free: 15.11 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001566/0.4717, allocations: 52.91 kB / 0.5753 GB, free: 15.06 MB / 446.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.004462/0.4762, allocations: 1.794 MB / 0.577 GB, free: 13.25 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.003008/0.4792, allocations: 2.055 MB / 0.579 GB, free: 11.18 MB / 446.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0008178/0.4801, allocations: 0.5582 MB / 0.5796 GB, free: 10.62 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0007744/0.4808, allocations: 0.4912 MB / 0.58 GB, free: 10.14 MB / 446.1 MB Notification: Performance of Backend: time 4.71e-07/0.4808, allocations: 0 / 0.58 GB, free: 10.14 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.004585/0.4854, allocations: 1.913 MB / 0.5819 GB, free: 8.191 MB / 446.1 MB Notification: Performance of SimCode: time 0.006184/0.4916, allocations: 4.149 MB / 0.586 GB, free: 3.984 MB / 446.1 MB Notification: Performance of Templates: time 0.03799/0.5297, allocations: 22.7 MB / 0.6081 GB, free: 13.4 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)