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.001084/0.001084, allocations: 114.4 kB / 17.75 MB, free: 5.176 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.001013/0.001013, allocations: 183 kB / 18.67 MB, free: 4.258 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.276/1.276, allocations: 222.9 MB / 242.4 MB, free: 15.05 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.1696/0.1696, allocations: 38.05 MB / 330.6 MB, free: 8.715 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001208/0.001208, allocations: 59.91 kB / 458.8 MB, free: 6.824 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2941/0.2953, allocations: 58.06 MB / 0.5048 GB, free: 7.832 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Wind.WindTurbine_PSGI): time 0.009709/0.3051, allocations: 11.02 MB / 0.5155 GB, free: 96 kB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0112/0.3163, allocations: 7.079 MB / 0.5224 GB, free: 11.11 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001449/0.3178, allocations: 48.81 kB / 0.5225 GB, free: 11.1 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.02334/0.3411, allocations: 12.88 MB / 0.5351 GB, free: 6.383 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003255/0.3444, allocations: 1.131 MB / 0.5362 GB, free: 5.48 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002098/0.3465, allocations: 0.6896 MB / 0.5368 GB, free: 4.953 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.005691/0.3522, allocations: 4.02 MB / 0.5408 GB, free: 2.852 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001636/0.3539, allocations: 0.9916 MB / 0.5417 GB, free: 2.277 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001982/0.3559, allocations: 1.135 MB / 0.5428 GB, free: 1.551 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002396/0.3583, allocations: 1.433 MB / 0.5442 GB, free: 116 kB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004846/0.3588, allocations: 148 kB / 0.5444 GB, free: 15.96 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001335/0.3601, allocations: 0.5188 MB / 0.5449 GB, free: 15.45 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001078/0.3612, allocations: 0.9079 MB / 0.5458 GB, free: 14.54 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001549/0.3628, allocations: 0.9834 MB / 0.5467 GB, free: 13.55 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003154/0.366, allocations: 2.561 MB / 0.5492 GB, free: 10.98 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.09e-06/0.366, allocations: 3.984 kB / 0.5492 GB, free: 10.98 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.455e-06/0.366, allocations: 0 / 0.5492 GB, free: 10.98 MB / 414.1 MB Notification: Performance of Transformations before backend: time 8.804e-05/0.3661, allocations: 3.938 kB / 0.5492 GB, free: 10.97 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.00482/0.3709, allocations: 2.283 MB / 0.5515 GB, free: 8.629 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.696e-05/0.3709, allocations: 15.83 kB / 0.5515 GB, free: 8.613 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001744/0.3727, allocations: 335.4 kB / 0.5518 GB, free: 8.285 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002601/0.3753, allocations: 1.347 MB / 0.5531 GB, free: 6.895 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.184e-05/0.3754, allocations: 114.7 kB / 0.5532 GB, free: 6.781 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005475/0.376, allocations: 235.9 kB / 0.5535 GB, free: 6.551 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00322/0.3792, allocations: 2.192 MB / 0.5556 GB, free: 4.254 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.708e-05/0.3793, allocations: 11.94 kB / 0.5556 GB, free: 4.242 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001411/0.3794, allocations: 59.97 kB / 0.5557 GB, free: 4.184 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000573/0.38, allocations: 190.8 kB / 0.5559 GB, free: 3.996 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003115/0.3831, allocations: 1.826 MB / 0.5576 GB, free: 2.164 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.0109/0.394, allocations: 8.534 MB / 0.566 GB, free: 9.215 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002474/0.3965, allocations: 1.915 MB / 0.5678 GB, free: 7.172 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001275/0.3978, allocations: 0.7863 MB / 0.5686 GB, free: 6.383 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.172e-05/0.3979, allocations: 25.36 kB / 0.5686 GB, free: 6.359 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.48e-05/0.3979, allocations: 47.88 kB / 0.5687 GB, free: 6.305 MB / 430.1 MB Notification: Performance of pre-optimization done (n=130): time 2.565e-06/0.398, allocations: 0 / 0.5687 GB, free: 6.305 MB / 430.1 MB Notification: Performance of matching and sorting (n=165): time 0.02175/0.4197, allocations: 9.261 MB / 0.5777 GB, free: 12.81 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.533e-05/0.4198, allocations: 94.42 kB / 0.5778 GB, free: 12.7 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001269/0.421, allocations: 1.067 MB / 0.5789 GB, free: 11.62 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001052/0.4212, allocations: 61.64 kB / 0.5789 GB, free: 11.55 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005259/0.4217, allocations: 0.8015 MB / 0.5797 GB, free: 10.74 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004595/0.4222, allocations: 0.6197 MB / 0.5803 GB, free: 10.12 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004937/0.4227, allocations: 351.4 kB / 0.5806 GB, free: 9.77 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 8.236e-05/0.4228, allocations: 309.2 kB / 0.5809 GB, free: 9.465 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001392/0.4241, allocations: 0.8472 MB / 0.5818 GB, free: 8.613 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001813/0.426, allocations: 1.344 MB / 0.5831 GB, free: 7.062 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.01329/0.4393, allocations: 5.187 MB / 0.5881 GB, free: 1.703 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.392e-05/0.4393, allocations: 8 kB / 0.5881 GB, free: 1.695 MB / 446.1 MB Notification: Performance of matching and sorting (n=255) (initialization): time 0.008887/0.4482, allocations: 4.201 MB / 0.5922 GB, free: 13.43 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.707e-05/0.4483, allocations: 16.12 kB / 0.5923 GB, free: 13.41 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.774e-05/0.4483, allocations: 19.98 kB / 0.5923 GB, free: 13.39 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004642/0.4529, allocations: 1.598 MB / 0.5938 GB, free: 11.77 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001236/0.4542, allocations: 319.4 kB / 0.5941 GB, free: 11.46 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02591/0.4801, allocations: 20.88 MB / 0.6145 GB, free: 5.715 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001263/0.4814, allocations: 95.91 kB / 0.6146 GB, free: 5.621 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001962/0.4816, allocations: 87.98 kB / 0.6147 GB, free: 5.535 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.0009336/0.4826, allocations: 0.5536 MB / 0.6153 GB, free: 4.973 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003033/0.4829, allocations: 159 kB / 0.6154 GB, free: 4.816 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005039/0.4879, allocations: 2.801 MB / 0.6181 GB, free: 1.91 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.724e-05/0.488, allocations: 7.969 kB / 0.6181 GB, free: 1.902 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.837e-06/0.488, allocations: 0 / 0.6181 GB, free: 1.902 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006414/0.4886, allocations: 379.9 kB / 0.6185 GB, free: 1.512 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002521/0.4889, allocations: 51.98 kB / 0.6186 GB, free: 1.461 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008727/0.4898, allocations: 71.86 kB / 0.6186 GB, free: 1.391 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002634/0.49, allocations: 125.8 kB / 0.6187 GB, free: 1.266 MB / 478.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.007006/0.497, allocations: 3.029 MB / 0.6217 GB, free: 14.2 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.004588/0.5016, allocations: 3.229 MB / 0.6249 GB, free: 10.96 MB / 494.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.00131/0.503, allocations: 0.9173 MB / 0.6258 GB, free: 10.04 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0009172/0.5039, allocations: 0.7178 MB / 0.6265 GB, free: 9.316 MB / 494.1 MB Notification: Performance of Backend: time 3.8e-07/0.5039, allocations: 3.938 kB / 0.6265 GB, free: 9.312 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.005305/0.5092, allocations: 3.048 MB / 0.6294 GB, free: 6.18 MB / 494.1 MB Notification: Performance of SimCode: time 0.007067/0.5163, allocations: 5.5 MB / 0.6348 GB, free: 0.6289 MB / 494.1 MB Notification: Performance of Templates: time 0.05206/0.5684, allocations: 34.53 MB / 0.6685 GB, free: 14.29 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)