Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_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/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_PSGI,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.Wind.WindTurbine_PSGI") translateModel(PowerSystems.Examples.Wind.WindTurbine_PSGI,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_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.001282/0.001282, allocations: 108.9 kB / 17.75 MB, free: 5.152 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.001264/0.001264, allocations: 192.2 kB / 18.68 MB, free: 4.238 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.321/1.321, 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/package.mo): time 0.1805/0.1805, allocations: 38.04 MB / 330.6 MB, free: 8.672 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00125/0.00125, allocations: 63.91 kB / 458.8 MB, free: 6.848 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.302/0.3033, allocations: 58.07 MB / 0.5048 GB, free: 7.84 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Wind.WindTurbine_PSGI): time 0.01039/0.3137, allocations: 11.02 MB / 0.5155 GB, free: 108 kB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01205/0.3258, allocations: 7.08 MB / 0.5224 GB, free: 11.12 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001357/0.3272, allocations: 53.19 kB / 0.5225 GB, free: 11.11 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.02237/0.3496, allocations: 12.88 MB / 0.5351 GB, free: 6.391 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003215/0.3528, allocations: 1.131 MB / 0.5362 GB, free: 5.488 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002019/0.3548, allocations: 0.6893 MB / 0.5368 GB, free: 4.961 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.006218/0.3611, allocations: 4.018 MB / 0.5408 GB, free: 2.855 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001479/0.3626, allocations: 0.9956 MB / 0.5417 GB, free: 2.277 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002004/0.3646, allocations: 1.126 MB / 0.5428 GB, free: 1.566 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002317/0.3669, allocations: 1.441 MB / 0.5442 GB, free: 124 kB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002861/0.3672, allocations: 152 kB / 0.5444 GB, free: 15.97 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001186/0.3684, allocations: 0.5188 MB / 0.5449 GB, free: 15.45 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0008345/0.3693, allocations: 0.9001 MB / 0.5458 GB, free: 14.55 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00107/0.3703, allocations: 0.9873 MB / 0.5467 GB, free: 13.56 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002846/0.3732, allocations: 2.568 MB / 0.5492 GB, free: 10.98 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.539e-06/0.3732, allocations: 0 / 0.5492 GB, free: 10.98 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.312e-06/0.3732, allocations: 4 kB / 0.5492 GB, free: 10.98 MB / 414.1 MB Notification: Performance of Transformations before backend: time 2.778e-05/0.3733, allocations: 0 / 0.5492 GB, free: 10.98 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.004284/0.3775, allocations: 2.275 MB / 0.5515 GB, free: 8.641 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.763e-05/0.3776, allocations: 15.88 kB / 0.5515 GB, free: 8.625 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001681/0.3793, allocations: 343.4 kB / 0.5518 GB, free: 8.289 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002449/0.3817, allocations: 1.347 MB / 0.5531 GB, free: 6.898 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.751e-05/0.3818, allocations: 106.7 kB / 0.5532 GB, free: 6.793 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005189/0.3824, allocations: 231.9 kB / 0.5535 GB, free: 6.566 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003072/0.3854, allocations: 2.196 MB / 0.5556 GB, free: 4.266 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.42e-05/0.3855, allocations: 15.89 kB / 0.5556 GB, free: 4.25 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001368/0.3856, allocations: 59.92 kB / 0.5557 GB, free: 4.191 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005776/0.3862, allocations: 182.8 kB / 0.5558 GB, free: 4.012 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00289/0.3891, allocations: 1.827 MB / 0.5576 GB, free: 2.18 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.01067/0.3998, allocations: 8.538 MB / 0.566 GB, free: 9.227 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002514/0.4023, allocations: 1.912 MB / 0.5678 GB, free: 7.184 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001282/0.4036, allocations: 0.7864 MB / 0.5686 GB, free: 6.395 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.776e-05/0.4037, allocations: 25.38 kB / 0.5686 GB, free: 6.371 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.326e-05/0.4038, allocations: 43.88 kB / 0.5687 GB, free: 6.32 MB / 430.1 MB Notification: Performance of pre-optimization done (n=130): time 2.926e-06/0.4038, allocations: 0 / 0.5687 GB, free: 6.32 MB / 430.1 MB Notification: Performance of matching and sorting (n=165): time 0.02173/0.4255, allocations: 9.271 MB / 0.5777 GB, free: 12.81 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.597e-05/0.4256, allocations: 94.42 kB / 0.5778 GB, free: 12.7 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001234/0.4268, allocations: 1.067 MB / 0.5789 GB, free: 11.62 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 9.924e-05/0.4269, allocations: 49.7 kB / 0.5789 GB, free: 11.57 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005214/0.4274, allocations: 0.8054 MB / 0.5797 GB, free: 10.75 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004792/0.4279, allocations: 0.6197 MB / 0.5803 GB, free: 10.13 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005033/0.4284, allocations: 351.4 kB / 0.5806 GB, free: 9.781 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 8.45e-05/0.4285, allocations: 305.1 kB / 0.5809 GB, free: 9.48 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001356/0.4299, allocations: 0.8511 MB / 0.5817 GB, free: 8.625 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001761/0.4317, allocations: 1.352 MB / 0.5831 GB, free: 7.066 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.01302/0.4447, allocations: 5.176 MB / 0.5881 GB, free: 1.719 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.197e-05/0.4447, allocations: 4 kB / 0.5881 GB, free: 1.715 MB / 446.1 MB Notification: Performance of matching and sorting (n=255) (initialization): time 0.008692/0.4534, allocations: 4.205 MB / 0.5922 GB, free: 13.44 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.342e-05/0.4535, allocations: 8 kB / 0.5922 GB, free: 13.43 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.36e-05/0.4535, allocations: 20.03 kB / 0.5923 GB, free: 13.41 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004589/0.4581, allocations: 1.614 MB / 0.5938 GB, free: 11.78 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001182/0.4593, allocations: 311.5 kB / 0.5941 GB, free: 11.48 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02594/0.4852, allocations: 20.9 MB / 0.6145 GB, free: 5.715 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001264/0.4865, allocations: 87.94 kB / 0.6146 GB, free: 5.629 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002058/0.4867, allocations: 83.98 kB / 0.6147 GB, free: 5.547 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.0009027/0.4877, allocations: 0.5498 MB / 0.6152 GB, free: 4.988 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002866/0.488, allocations: 163 kB / 0.6154 GB, free: 4.828 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005073/0.493, allocations: 2.797 MB / 0.6181 GB, free: 1.926 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.606e-05/0.4931, allocations: 7.969 kB / 0.6181 GB, free: 1.918 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.31e-06/0.4931, allocations: 4.141 kB / 0.6181 GB, free: 1.914 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006349/0.4937, allocations: 379.9 kB / 0.6185 GB, free: 1.523 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002526/0.494, allocations: 43.98 kB / 0.6185 GB, free: 1.48 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008811/0.4949, allocations: 75.86 kB / 0.6186 GB, free: 1.406 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002776/0.4951, allocations: 129.8 kB / 0.6187 GB, free: 1.277 MB / 478.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.007117/0.5023, allocations: 3.021 MB / 0.6217 GB, free: 14.23 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.004648/0.5069, allocations: 3.229 MB / 0.6248 GB, free: 10.98 MB / 494.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001351/0.5083, allocations: 0.9251 MB / 0.6258 GB, free: 10.05 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0009802/0.5093, allocations: 0.71 MB / 0.6264 GB, free: 9.34 MB / 494.1 MB Notification: Performance of Backend: time 2.31e-07/0.5093, allocations: 0 / 0.6264 GB, free: 9.34 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.005688/0.515, allocations: 3.052 MB / 0.6294 GB, free: 6.203 MB / 494.1 MB Notification: Performance of SimCode: time 0.007302/0.5223, allocations: 5.509 MB / 0.6348 GB, free: 0.6406 MB / 494.1 MB Notification: Performance of Templates: time 0.07276/0.5951, allocations: 34.51 MB / 0.6685 GB, free: 14.3 MB / 0.5294 GB make -j1 -f PowerSystems_PowerSystems.Examples.Wind.WindTurbine_PSGI.makefile (rm -f PowerSystems_PowerSystems.Examples.Wind.WindTurbine_PSGI.pipe ; mkfifo PowerSystems_PowerSystems.Examples.Wind.WindTurbine_PSGI.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.Wind.WindTurbine_PSGI.pipe >> ../files/PowerSystems_PowerSystems.Examples.Wind.WindTurbine_PSGI.sim & ./PowerSystems_PowerSystems.Examples.Wind.WindTurbine_PSGI -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.Wind.WindTurbine_PSGI.pipe 2>&1)