Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.Wind.WindTurbine_PSGR.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_PSGR,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.Wind.WindTurbine_PSGR") translateModel(PowerSystems.Examples.Wind.WindTurbine_PSGR,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.Wind.WindTurbine_PSGR") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001149/0.001149, allocations: 110.5 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.0016/0.0016, allocations: 183 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.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo): time 0.1829/0.1829, allocations: 38.03 MB / 330.6 MB, free: 8.695 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00132/0.00132, allocations: 67.89 kB / 458.8 MB, free: 6.848 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3021/0.3034, allocations: 58.06 MB / 0.5048 GB, free: 7.824 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Wind.WindTurbine_PSGR): time 0.009595/0.313, allocations: 10.96 MB / 0.5155 GB, free: 148 kB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01114/0.3242, allocations: 7.079 MB / 0.5224 GB, free: 11.16 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00131/0.3256, allocations: 45.53 kB / 0.5224 GB, free: 11.15 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.02291/0.3485, allocations: 12.92 MB / 0.535 GB, free: 6.453 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003207/0.3517, allocations: 1.111 MB / 0.5361 GB, free: 5.57 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001984/0.3537, allocations: 0.6514 MB / 0.5368 GB, free: 5.074 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.00549/0.3592, allocations: 3.916 MB / 0.5406 GB, free: 3.039 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001508/0.3607, allocations: 0.982 MB / 0.5415 GB, free: 2.48 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001856/0.3626, allocations: 1.1 MB / 0.5426 GB, free: 1.82 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002191/0.3648, allocations: 1.398 MB / 0.544 GB, free: 428 kB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004386/0.3653, allocations: 148 kB / 0.5441 GB, free: 280 kB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001313/0.3666, allocations: 0.4993 MB / 0.5446 GB, free: 15.77 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001022/0.3676, allocations: 0.9001 MB / 0.5455 GB, free: 14.87 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001443/0.3691, allocations: 0.9562 MB / 0.5464 GB, free: 13.91 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002929/0.372, allocations: 2.5 MB / 0.5489 GB, free: 11.4 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.937e-06/0.372, allocations: 0 / 0.5489 GB, free: 11.4 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.282e-06/0.372, allocations: 0 / 0.5489 GB, free: 11.4 MB / 414.1 MB Notification: Performance of Transformations before backend: time 6.619e-05/0.3721, allocations: 0 / 0.5489 GB, free: 11.4 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: 397 * Number of variables: 397 Notification: Performance of Generate backend data structure: time 0.004999/0.3771, allocations: 2.152 MB / 0.551 GB, free: 9.191 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.909e-05/0.3772, allocations: 8.031 kB / 0.551 GB, free: 9.184 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00196/0.3791, allocations: 322.3 kB / 0.5513 GB, free: 8.867 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002789/0.3819, allocations: 1.287 MB / 0.5525 GB, free: 7.535 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.789e-05/0.382, allocations: 102.6 kB / 0.5526 GB, free: 7.434 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000599/0.3826, allocations: 235.7 kB / 0.5529 GB, free: 7.203 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003773/0.3864, allocations: 2.147 MB / 0.555 GB, free: 4.949 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.688e-05/0.3865, allocations: 7.984 kB / 0.555 GB, free: 4.941 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001876/0.3867, allocations: 67.97 kB / 0.555 GB, free: 4.875 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006611/0.3873, allocations: 178.7 kB / 0.5552 GB, free: 4.699 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003126/0.3905, allocations: 1.76 MB / 0.5569 GB, free: 2.934 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.01284/0.4033, allocations: 8.573 MB / 0.5653 GB, free: 9.938 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0026/0.406, allocations: 1.821 MB / 0.5671 GB, free: 7.996 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001369/0.4073, allocations: 0.7582 MB / 0.5678 GB, free: 7.234 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.607e-05/0.4074, allocations: 17.06 kB / 0.5678 GB, free: 7.219 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.385e-05/0.4075, allocations: 47.55 kB / 0.5679 GB, free: 7.16 MB / 430.1 MB Notification: Performance of pre-optimization done (n=122): time 3.026e-06/0.4075, allocations: 0 / 0.5679 GB, free: 7.16 MB / 430.1 MB Notification: Performance of matching and sorting (n=150): time 0.01943/0.4269, allocations: 7.564 MB / 0.5753 GB, free: 15.43 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.387e-05/0.427, allocations: 90.42 kB / 0.5753 GB, free: 15.32 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001335/0.4283, allocations: 1.033 MB / 0.5764 GB, free: 14.27 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001165/0.4285, allocations: 53.7 kB / 0.5764 GB, free: 14.21 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005641/0.429, allocations: 0.7639 MB / 0.5771 GB, free: 13.44 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004408/0.4295, allocations: 0.5353 MB / 0.5777 GB, free: 12.89 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004916/0.43, allocations: 331.3 kB / 0.578 GB, free: 12.57 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 9.929e-05/0.4301, allocations: 309.2 kB / 0.5783 GB, free: 12.26 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001259/0.4313, allocations: 0.773 MB / 0.579 GB, free: 11.49 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001537/0.4329, allocations: 1.247 MB / 0.5803 GB, free: 10.05 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.01593/0.4488, allocations: 5.681 MB / 0.5858 GB, free: 4.188 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.089e-05/0.4489, allocations: 4 kB / 0.5858 GB, free: 4.184 MB / 446.1 MB Notification: Performance of matching and sorting (n=236) (initialization): time 0.009228/0.4581, allocations: 3.925 MB / 0.5896 GB, free: 220 kB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.561e-05/0.4581, allocations: 12.78 kB / 0.5897 GB, free: 208 kB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.432e-05/0.4582, allocations: 12 kB / 0.5897 GB, free: 196 kB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005873/0.4641, allocations: 1.74 MB / 0.5914 GB, free: 14.44 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001091/0.4652, allocations: 267.5 kB / 0.5916 GB, free: 14.18 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02658/0.4918, allocations: 18.47 MB / 0.6097 GB, free: 11.12 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001264/0.4931, allocations: 83.95 kB / 0.6097 GB, free: 11.04 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001904/0.4933, allocations: 75.98 kB / 0.6098 GB, free: 10.96 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.generator.psi_rq[1] = 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: 63 * 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 (130): * Single equations (assignments): 126 * 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 {(2,11,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(5,49), (21,20)} Notification: Performance of prepare postOptimizeDAE: time 0.0009372/0.4942, allocations: 0.5394 MB / 0.6103 GB, free: 10.41 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002925/0.4945, allocations: 142.2 kB / 0.6105 GB, free: 10.27 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005422/0.4999, allocations: 2.413 MB / 0.6128 GB, free: 7.789 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.732e-05/0.5, allocations: 7.969 kB / 0.6128 GB, free: 7.781 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.727e-06/0.5, allocations: 0 / 0.6128 GB, free: 7.781 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007795/0.5008, allocations: 355.1 kB / 0.6132 GB, free: 7.414 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002923/0.5011, allocations: 43.98 kB / 0.6132 GB, free: 7.371 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009417/0.502, allocations: 55.94 kB / 0.6133 GB, free: 7.316 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002514/0.5023, allocations: 125.1 kB / 0.6134 GB, free: 7.195 MB / 478.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.007075/0.5094, allocations: 2.764 MB / 0.6161 GB, free: 4.41 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.004185/0.5136, allocations: 2.901 MB / 0.6189 GB, free: 1.488 MB / 478.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.00122/0.5148, allocations: 0.8183 MB / 0.6197 GB, free: 0.6719 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.0009748/0.5158, allocations: 0.701 MB / 0.6204 GB, free: 15.96 MB / 494.1 MB Notification: Performance of Backend: time 3.7e-07/0.5158, allocations: 0 / 0.6204 GB, free: 15.96 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.00544/0.5212, allocations: 2.704 MB / 0.623 GB, free: 13.2 MB / 494.1 MB Notification: Performance of SimCode: time 0.007129/0.5284, allocations: 5.271 MB / 0.6282 GB, free: 7.879 MB / 494.1 MB Notification: Performance of Templates: time 0.05146/0.5799, allocations: 33.65 MB / 0.6611 GB, free: 6.395 MB / 0.5137 GB make -j1 -f PowerSystems_PowerSystems.Examples.Wind.WindTurbine_PSGR.makefile (rm -f PowerSystems_PowerSystems.Examples.Wind.WindTurbine_PSGR.pipe ; mkfifo PowerSystems_PowerSystems.Examples.Wind.WindTurbine_PSGR.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.Wind.WindTurbine_PSGR.pipe >> ../files/PowerSystems_PowerSystems.Examples.Wind.WindTurbine_PSGR.sim & ./PowerSystems_PowerSystems.Examples.Wind.WindTurbine_PSGR -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.Wind.WindTurbine_PSGR.pipe 2>&1)