Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.Wind.WindTurbine_PSGI.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_PSGI,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_PSGI") translateModel(PowerSystems.Examples.Wind.WindTurbine_PSGI,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_PSGI") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001431/0.00143, allocations: 114.3 kB / 17.75 MB, free: 5.305 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.001198/0.001198, allocations: 189.3 kB / 18.68 MB, free: 4.383 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.277/1.277, allocations: 222.9 MB / 242.4 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.1736/0.1736, allocations: 38.04 MB / 330.6 MB, free: 8.73 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001348/0.001348, allocations: 59.91 kB / 458.8 MB, free: 6.844 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3083/0.3097, allocations: 58.05 MB / 0.5048 GB, free: 7.75 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Wind.WindTurbine_PSGI): time 0.009394/0.3191, allocations: 11.03 MB / 0.5155 GB, free: 16 kB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01093/0.3301, allocations: 7.071 MB / 0.5224 GB, free: 11.04 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001154/0.3313, allocations: 52.97 kB / 0.5225 GB, free: 11.02 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.02109/0.3524, allocations: 12.86 MB / 0.5351 GB, free: 6.398 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002865/0.3553, allocations: 1.119 MB / 0.5362 GB, free: 5.504 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001762/0.3571, allocations: 0.6879 MB / 0.5368 GB, free: 4.977 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0048/0.3619, allocations: 4.02 MB / 0.5408 GB, free: 2.875 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001207/0.3631, allocations: 0.9912 MB / 0.5417 GB, free: 2.301 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00144/0.3645, allocations: 1.129 MB / 0.5428 GB, free: 1.613 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001622/0.3662, allocations: 1.437 MB / 0.5442 GB, free: 176 kB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002362/0.3664, allocations: 152 kB / 0.5444 GB, free: 24 kB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009462/0.3674, allocations: 0.5227 MB / 0.5449 GB, free: 15.5 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007362/0.3681, allocations: 0.9079 MB / 0.5458 GB, free: 14.59 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008966/0.369, allocations: 0.9796 MB / 0.5467 GB, free: 13.61 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002277/0.3713, allocations: 2.558 MB / 0.5492 GB, free: 11.04 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.176e-06/0.3713, allocations: 0 / 0.5492 GB, free: 11.04 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.623e-06/0.3713, allocations: 0 / 0.5492 GB, free: 11.04 MB / 414.1 MB Notification: Performance of Transformations before backend: time 2.037e-05/0.3714, allocations: 0 / 0.5492 GB, free: 11.04 MB / 414.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 409 * Number of variables: 409 Notification: Performance of Generate backend data structure: time 0.003932/0.3753, allocations: 2.224 MB / 0.5514 GB, free: 8.754 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.584e-05/0.3754, allocations: 11.89 kB / 0.5514 GB, free: 8.742 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00164/0.377, allocations: 334.2 kB / 0.5517 GB, free: 8.414 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002458/0.3795, allocations: 1.33 MB / 0.553 GB, free: 7.039 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.803e-05/0.3796, allocations: 106.7 kB / 0.5531 GB, free: 6.934 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000513/0.3801, allocations: 239.7 kB / 0.5534 GB, free: 6.699 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002949/0.383, allocations: 2.188 MB / 0.5555 GB, free: 4.406 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.908e-05/0.3831, allocations: 11.94 kB / 0.5555 GB, free: 4.395 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001403/0.3832, allocations: 59.98 kB / 0.5556 GB, free: 4.336 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005669/0.3838, allocations: 190.8 kB / 0.5557 GB, free: 4.148 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002805/0.3866, allocations: 1.83 MB / 0.5575 GB, free: 2.312 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.01076/0.3974, allocations: 8.524 MB / 0.5659 GB, free: 9.371 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002489/0.3999, allocations: 1.897 MB / 0.5677 GB, free: 7.344 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001325/0.4012, allocations: 0.8047 MB / 0.5685 GB, free: 6.539 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.957e-05/0.4013, allocations: 25.36 kB / 0.5685 GB, free: 6.516 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.489e-05/0.4014, allocations: 43.88 kB / 0.5686 GB, free: 6.465 MB / 430.1 MB Notification: Performance of pre-optimization done (n=130): time 3.156e-06/0.4014, allocations: 4 kB / 0.5686 GB, free: 6.461 MB / 430.1 MB Notification: Performance of matching and sorting (n=165): time 0.02289/0.4243, allocations: 9.204 MB / 0.5775 GB, free: 13.02 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.274e-05/0.4243, allocations: 94.42 kB / 0.5776 GB, free: 12.91 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001381/0.4257, allocations: 1.071 MB / 0.5787 GB, free: 11.82 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 9.805e-05/0.4258, allocations: 49.7 kB / 0.5787 GB, free: 11.77 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005641/0.4264, allocations: 0.7915 MB / 0.5795 GB, free: 10.96 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000533/0.427, allocations: 0.5814 MB / 0.5801 GB, free: 10.38 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005365/0.4275, allocations: 359.3 kB / 0.5804 GB, free: 10.02 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001545/0.4277, allocations: 301.1 kB / 0.5807 GB, free: 9.723 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001447/0.4291, allocations: 0.8549 MB / 0.5815 GB, free: 8.863 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001753/0.4309, allocations: 1.34 MB / 0.5828 GB, free: 7.316 MB / 446.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.01325/0.4441, allocations: 5.183 MB / 0.5879 GB, free: 1.961 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.534e-05/0.4442, allocations: 7.938 kB / 0.5879 GB, free: 1.953 MB / 446.1 MB Notification: Performance of matching and sorting (n=255) (initialization): time 0.009174/0.4534, allocations: 4.2 MB / 0.592 GB, free: 13.68 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.668e-05/0.4534, allocations: 12 kB / 0.592 GB, free: 13.67 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.573e-05/0.4534, allocations: 12 kB / 0.592 GB, free: 13.66 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004687/0.4581, allocations: 1.606 MB / 0.5936 GB, free: 12.04 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001261/0.4594, allocations: 315.5 kB / 0.5939 GB, free: 11.73 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02645/0.4859, allocations: 20.87 MB / 0.6143 GB, free: 5.988 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001681/0.4876, allocations: 95.98 kB / 0.6144 GB, free: 5.895 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000313/0.4879, allocations: 83.98 kB / 0.6145 GB, free: 5.812 MB / 478.1 MB Warning: The initial conditions are over specified. The following 6 initial equations are redundant, so they are removed from the initialization system: inverter2.switch_dq0[1] = 1.224744871391589 * cos(select2.alpha0) * select2.v0 $DER.PI.x = 0.0 $DER.generator.psi_s[2] = 0.0 $DER.generator.psi_s[1] = 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: 66 * 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 (152): * Single equations (assignments): 146 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(1,3,100.0%), (1,8,100.0%), (1,1,100.0%), (3,24,77.8%)} * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(4,22), (21,20)} Notification: Performance of prepare postOptimizeDAE: time 0.001102/0.489, allocations: 0.552 MB / 0.615 GB, free: 5.254 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004265/0.4895, allocations: 154.1 kB / 0.6151 GB, free: 5.102 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005321/0.4948, allocations: 2.809 MB / 0.6179 GB, free: 2.188 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.708e-05/0.4948, allocations: 7.969 kB / 0.6179 GB, free: 2.18 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.008e-06/0.4948, allocations: 0 / 0.6179 GB, free: 2.18 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008468/0.4957, allocations: 371 kB / 0.6183 GB, free: 1.797 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003714/0.4961, allocations: 44.27 kB / 0.6183 GB, free: 1.754 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001024/0.4971, allocations: 75.88 kB / 0.6184 GB, free: 1.68 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00028/0.4974, allocations: 125.8 kB / 0.6185 GB, free: 1.555 MB / 478.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.00745/0.5049, allocations: 3.02 MB / 0.6214 GB, free: 14.5 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.005117/0.51, allocations: 3.216 MB / 0.6246 GB, free: 11.27 MB / 494.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001429/0.5115, allocations: 0.9212 MB / 0.6255 GB, free: 10.35 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.00127/0.5127, allocations: 0.7139 MB / 0.6262 GB, free: 9.629 MB / 494.1 MB Notification: Performance of Backend: time 4.21e-07/0.5128, allocations: 0 / 0.6262 GB, free: 9.629 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.006647/0.5194, allocations: 3.028 MB / 0.6291 GB, free: 6.512 MB / 494.1 MB Notification: Performance of SimCode: time 0.008212/0.5276, allocations: 5.453 MB / 0.6345 GB, free: 1.016 MB / 494.1 MB Notification: Performance of Templates: time 0.0571/0.5848, allocations: 34.52 MB / 0.6682 GB, free: 14.69 MB / 0.5294 GB make -j1 -f PowerSystems_latest_PowerSystems.Examples.Wind.WindTurbine_PSGI.makefile (rm -f PowerSystems_latest_PowerSystems.Examples.Wind.WindTurbine_PSGI.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.Wind.WindTurbine_PSGI.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.Wind.WindTurbine_PSGI.pipe >> ../files/PowerSystems_latest_PowerSystems.Examples.Wind.WindTurbine_PSGI.sim & ./PowerSystems_latest_PowerSystems.Examples.Wind.WindTurbine_PSGI -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > PowerSystems_latest_PowerSystems.Examples.Wind.WindTurbine_PSGI.pipe 2>&1)