Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.Wind.WindTurbine_DFIG.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/package.mo", uses=false) Using package PowerSystems with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/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_DFIG,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.Wind.WindTurbine_DFIG") translateModel(PowerSystems.Examples.Wind.WindTurbine_DFIG,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.Wind.WindTurbine_DFIG") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001258/0.001258, allocations: 112.2 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.001263/0.001263, allocations: 185.3 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.346/1.346, allocations: 222.9 MB / 242.4 MB, free: 15.08 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo): time 0.1788/0.1788, allocations: 38.03 MB / 330.6 MB, free: 8.68 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001303/0.001303, allocations: 67.89 kB / 458.8 MB, free: 6.824 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3067/0.3081, allocations: 58.05 MB / 0.5048 GB, free: 7.793 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Wind.WindTurbine_DFIG): time 0.01024/0.3183, allocations: 10.6 MB / 0.5151 GB, free: 380 kB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.012/0.3304, allocations: 6.234 MB / 0.5212 GB, free: 12.02 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001615/0.332, allocations: 48.19 kB / 0.5212 GB, free: 12 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01325/0.3453, allocations: 5.519 MB / 0.5266 GB, free: 10.21 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003209/0.3485, allocations: 1.081 MB / 0.5277 GB, free: 9.609 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002099/0.3506, allocations: 0.6511 MB / 0.5283 GB, free: 9.312 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.004903/0.3555, allocations: 3.22 MB / 0.5315 GB, free: 7.801 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001585/0.3571, allocations: 1.007 MB / 0.5325 GB, free: 7.223 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001971/0.3591, allocations: 1.071 MB / 0.5335 GB, free: 6.609 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002404/0.3615, allocations: 1.346 MB / 0.5348 GB, free: 5.824 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005026/0.3621, allocations: 145.2 kB / 0.535 GB, free: 5.824 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001339/0.3634, allocations: 424.5 kB / 0.5354 GB, free: 5.676 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001147/0.3646, allocations: 0.8503 MB / 0.5362 GB, free: 5.133 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001874/0.3665, allocations: 0.9255 MB / 0.5371 GB, free: 4.512 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003548/0.37, allocations: 2.261 MB / 0.5393 GB, free: 3.016 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.611e-06/0.37, allocations: 5.438 kB / 0.5393 GB, free: 3.012 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.183e-06/0.37, allocations: 0 / 0.5393 GB, free: 3.012 MB / 398.1 MB Notification: Performance of Transformations before backend: time 0.0001032/0.3701, allocations: 0 / 0.5393 GB, free: 3.012 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: 392 * Number of variables: 392 Notification: Performance of Generate backend data structure: time 0.005968/0.3761, allocations: 2.051 MB / 0.5413 GB, free: 1.555 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.344e-05/0.3762, allocations: 16.97 kB / 0.5413 GB, free: 1.547 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001937/0.3781, allocations: 281.5 kB / 0.5416 GB, free: 1.41 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003103/0.3812, allocations: 1.209 MB / 0.5428 GB, free: 0.5547 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.769e-05/0.3813, allocations: 108.2 kB / 0.5429 GB, free: 0.5 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006335/0.382, allocations: 221 kB / 0.5431 GB, free: 436 kB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003976/0.386, allocations: 2.112 MB / 0.5452 GB, free: 14.95 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.404e-05/0.386, allocations: 11.84 kB / 0.5452 GB, free: 14.94 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001697/0.3862, allocations: 55.98 kB / 0.5452 GB, free: 14.89 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000712/0.3869, allocations: 182.6 kB / 0.5454 GB, free: 14.71 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003174/0.3901, allocations: 1.713 MB / 0.5471 GB, free: 12.99 MB / 414.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.01286/0.403, allocations: 7.879 MB / 0.5548 GB, free: 4.77 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002498/0.4055, allocations: 1.639 MB / 0.5564 GB, free: 3.039 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001026/0.4066, allocations: 0.6684 MB / 0.557 GB, free: 2.367 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.004e-05/0.4067, allocations: 13 kB / 0.557 GB, free: 2.355 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.301e-05/0.4067, allocations: 43.56 kB / 0.5571 GB, free: 2.301 MB / 414.1 MB Notification: Performance of pre-optimization done (n=127): time 4.578e-06/0.4067, allocations: 0 / 0.5571 GB, free: 2.301 MB / 414.1 MB Notification: Performance of matching and sorting (n=138): time 0.009608/0.4163, allocations: 5.092 MB / 0.562 GB, free: 13.02 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.707e-05/0.4164, allocations: 94.42 kB / 0.5621 GB, free: 12.91 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001163/0.4176, allocations: 0.9348 MB / 0.563 GB, free: 11.95 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001153/0.4177, allocations: 53.7 kB / 0.5631 GB, free: 11.89 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004912/0.4182, allocations: 0.7133 MB / 0.5638 GB, free: 11.17 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004069/0.4186, allocations: 0.4967 MB / 0.5643 GB, free: 10.66 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004764/0.4191, allocations: 311.4 kB / 0.5646 GB, free: 10.35 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 8.867e-05/0.4192, allocations: 301.1 kB / 0.5649 GB, free: 10.05 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001163/0.4204, allocations: 0.7066 MB / 0.5655 GB, free: 9.348 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00145/0.4218, allocations: 1.159 MB / 0.5667 GB, free: 8.004 MB / 430.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.01014/0.432, allocations: 4.082 MB / 0.5707 GB, free: 3.754 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.873e-05/0.432, allocations: 4 kB / 0.5707 GB, free: 3.75 MB / 430.1 MB Notification: Performance of matching and sorting (n=222) (initialization): time 0.006937/0.439, allocations: 3.362 MB / 0.574 GB, free: 356 kB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.209e-05/0.439, allocations: 15.98 kB / 0.574 GB, free: 340 kB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.231e-05/0.439, allocations: 12 kB / 0.574 GB, free: 328 kB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003094/0.4421, allocations: 1.193 MB / 0.5751 GB, free: 15.11 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001301/0.4435, allocations: 299.5 kB / 0.5754 GB, free: 14.82 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02107/0.4645, allocations: 15.11 MB / 0.5902 GB, free: 15.12 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001437/0.466, allocations: 79.88 kB / 0.5903 GB, free: 15.04 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003126/0.4663, allocations: 76 kB / 0.5903 GB, free: 14.97 MB / 462.1 MB Warning: The initial conditions are over specified. The following 4 initial equations are redundant, so they are removed from the initialization system: inverter2.switch_dq0[1] = 1.224744871391589 * cos(select2.alpha0) * select2.v0 $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: 60 * 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 (146): * Single equations (assignments): 142 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * 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,18,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(3,15), (21,20)} Notification: Performance of prepare postOptimizeDAE: time 0.001226/0.4676, allocations: 0.4933 MB / 0.5908 GB, free: 14.46 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003479/0.4679, allocations: 130.4 kB / 0.5909 GB, free: 14.34 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003626/0.4716, allocations: 2.018 MB / 0.5929 GB, free: 12.24 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.538e-05/0.4716, allocations: 3.984 kB / 0.5929 GB, free: 12.23 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.977e-06/0.4717, allocations: 4 kB / 0.5929 GB, free: 12.23 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008198/0.4725, allocations: 327.3 kB / 0.5932 GB, free: 11.89 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003277/0.4728, allocations: 43.98 kB / 0.5933 GB, free: 11.85 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008818/0.4737, allocations: 47.95 kB / 0.5933 GB, free: 11.8 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002169/0.4739, allocations: 101.1 kB / 0.5934 GB, free: 11.7 MB / 462.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.005757/0.4797, allocations: 2.342 MB / 0.5957 GB, free: 9.34 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.003895/0.4836, allocations: 2.655 MB / 0.5983 GB, free: 6.668 MB / 462.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001051/0.4847, allocations: 0.7441 MB / 0.599 GB, free: 5.926 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0009377/0.4856, allocations: 0.6244 MB / 0.5996 GB, free: 5.293 MB / 462.1 MB Notification: Performance of Backend: time 4.81e-07/0.4856, allocations: 0 / 0.5996 GB, free: 5.293 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.004903/0.4905, allocations: 2.404 MB / 0.602 GB, free: 2.832 MB / 462.1 MB Notification: Performance of SimCode: time 0.006878/0.4974, allocations: 5.01 MB / 0.6069 GB, free: 13.77 MB / 478.1 MB Notification: Performance of Templates: time 0.04546/0.5429, allocations: 28.44 MB / 0.6347 GB, free: 1.488 MB / 494.1 MB make -j1 -f PowerSystems_PowerSystems.Examples.Wind.WindTurbine_DFIG.makefile (rm -f PowerSystems_PowerSystems.Examples.Wind.WindTurbine_DFIG.pipe ; mkfifo PowerSystems_PowerSystems.Examples.Wind.WindTurbine_DFIG.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.Wind.WindTurbine_DFIG.pipe >> ../files/PowerSystems_PowerSystems.Examples.Wind.WindTurbine_DFIG.sim & ./PowerSystems_PowerSystems.Examples.Wind.WindTurbine_DFIG -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.Wind.WindTurbine_DFIG.pipe 2>&1)