Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_latest_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-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_PSGR,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_PSGR") translateModel(PowerSystems.Examples.Wind.WindTurbine_PSGR,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_PSGR") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001154/0.001154, allocations: 110.3 kB / 17.74 MB, free: 5.336 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.001082/0.001082, allocations: 185.4 kB / 18.67 MB, free: 4.418 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.331/1.331, 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-master/package.mo): time 0.1775/0.1775, allocations: 38.04 MB / 330.6 MB, free: 8.754 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00128/0.00128, allocations: 67.89 kB / 458.8 MB, free: 6.848 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3291/0.3304, allocations: 58.05 MB / 0.5048 GB, free: 7.797 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Wind.WindTurbine_PSGR): time 0.01089/0.3413, allocations: 10.96 MB / 0.5155 GB, free: 120 kB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01199/0.3533, allocations: 7.087 MB / 0.5224 GB, free: 11.13 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00125/0.3546, allocations: 45.09 kB / 0.5224 GB, free: 11.12 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.02322/0.3778, allocations: 12.91 MB / 0.535 GB, free: 6.453 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003456/0.3813, allocations: 1.11 MB / 0.5361 GB, free: 5.57 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002093/0.3834, allocations: 0.6513 MB / 0.5368 GB, free: 5.074 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.006113/0.3895, allocations: 3.912 MB / 0.5406 GB, free: 3.043 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001776/0.3913, allocations: 0.9908 MB / 0.5415 GB, free: 2.48 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002241/0.3936, allocations: 1.092 MB / 0.5426 GB, free: 1.789 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002612/0.3962, allocations: 1.398 MB / 0.544 GB, free: 396 kB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005234/0.3968, allocations: 148 kB / 0.5441 GB, free: 248 kB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001551/0.3983, allocations: 0.5071 MB / 0.5446 GB, free: 15.73 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001302/0.3996, allocations: 0.8884 MB / 0.5455 GB, free: 14.84 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001905/0.4016, allocations: 0.9562 MB / 0.5464 GB, free: 13.88 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003748/0.4053, allocations: 2.508 MB / 0.5489 GB, free: 11.37 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.692e-06/0.4053, allocations: 0 / 0.5489 GB, free: 11.37 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.002e-06/0.4054, allocations: 0 / 0.5489 GB, free: 11.37 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0001019/0.4055, allocations: 0 / 0.5489 GB, free: 11.37 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.005491/0.411, allocations: 2.152 MB / 0.551 GB, free: 9.156 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.603e-05/0.411, allocations: 11.89 kB / 0.551 GB, free: 9.145 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001733/0.4128, allocations: 326.3 kB / 0.5513 GB, free: 8.824 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002457/0.4152, allocations: 1.287 MB / 0.5525 GB, free: 7.492 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.022e-05/0.4153, allocations: 98.66 kB / 0.5526 GB, free: 7.395 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005321/0.4159, allocations: 239.7 kB / 0.5529 GB, free: 7.16 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003022/0.4189, allocations: 2.149 MB / 0.555 GB, free: 4.902 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.877e-05/0.4189, allocations: 7.938 kB / 0.555 GB, free: 4.895 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001378/0.4191, allocations: 55.98 kB / 0.555 GB, free: 4.84 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006094/0.4197, allocations: 182.7 kB / 0.5552 GB, free: 4.66 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002714/0.4224, allocations: 1.756 MB / 0.5569 GB, free: 2.898 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.01078/0.4332, allocations: 8.577 MB / 0.5653 GB, free: 9.898 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002405/0.4356, allocations: 1.817 MB / 0.5671 GB, free: 7.961 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001254/0.4369, allocations: 0.7582 MB / 0.5678 GB, free: 7.199 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.899e-05/0.437, allocations: 17.08 kB / 0.5678 GB, free: 7.184 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.604e-05/0.4371, allocations: 51.5 kB / 0.5679 GB, free: 7.121 MB / 430.1 MB Notification: Performance of pre-optimization done (n=122): time 4.889e-06/0.4371, allocations: 3.984 kB / 0.5679 GB, free: 7.117 MB / 430.1 MB Notification: Performance of matching and sorting (n=150): time 0.01789/0.455, allocations: 7.56 MB / 0.5753 GB, free: 15.39 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.03e-05/0.455, allocations: 90.42 kB / 0.5753 GB, free: 15.28 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001243/0.4563, allocations: 1.037 MB / 0.5764 GB, free: 14.23 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001041/0.4564, allocations: 53.7 kB / 0.5764 GB, free: 14.17 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005252/0.4569, allocations: 0.7639 MB / 0.5772 GB, free: 13.39 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004056/0.4574, allocations: 0.5353 MB / 0.5777 GB, free: 12.85 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004602/0.4578, allocations: 331.3 kB / 0.578 GB, free: 12.52 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 8.47e-05/0.4579, allocations: 301.1 kB / 0.5783 GB, free: 12.23 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001166/0.4591, allocations: 0.773 MB / 0.579 GB, free: 11.45 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001462/0.4606, allocations: 1.259 MB / 0.5803 GB, free: 10 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.01543/0.476, allocations: 5.677 MB / 0.5858 GB, free: 4.145 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.771e-05/0.476, allocations: 8 kB / 0.5858 GB, free: 4.137 MB / 446.1 MB Notification: Performance of matching and sorting (n=236) (initialization): time 0.009249/0.4853, allocations: 3.917 MB / 0.5896 GB, free: 180 kB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.753e-05/0.4854, allocations: 12 kB / 0.5897 GB, free: 168 kB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.554e-05/0.4854, allocations: 12 kB / 0.5897 GB, free: 156 kB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005685/0.4911, allocations: 1.746 MB / 0.5914 GB, free: 14.39 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001106/0.4922, allocations: 271.5 kB / 0.5916 GB, free: 14.13 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02811/0.5203, allocations: 18.47 MB / 0.6097 GB, free: 11.08 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00133/0.5217, allocations: 83.94 kB / 0.6097 GB, free: 11 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002613/0.522, allocations: 83.97 kB / 0.6098 GB, free: 10.92 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.001117/0.5231, allocations: 0.5355 MB / 0.6103 GB, free: 10.38 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003366/0.5234, allocations: 142.2 kB / 0.6105 GB, free: 10.23 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005299/0.5287, allocations: 2.413 MB / 0.6128 GB, free: 7.75 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.691e-05/0.5288, allocations: 7.969 kB / 0.6128 GB, free: 7.742 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.088e-06/0.5288, allocations: 0 / 0.6128 GB, free: 7.742 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006842/0.5295, allocations: 351.1 kB / 0.6132 GB, free: 7.379 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002921/0.5298, allocations: 47.98 kB / 0.6132 GB, free: 7.332 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000871/0.5307, allocations: 51.95 kB / 0.6133 GB, free: 7.281 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002775/0.531, allocations: 125.1 kB / 0.6134 GB, free: 7.16 MB / 478.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.007/0.538, allocations: 2.764 MB / 0.6161 GB, free: 4.375 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.004263/0.5422, allocations: 2.898 MB / 0.6189 GB, free: 1.457 MB / 478.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001163/0.5434, allocations: 0.8183 MB / 0.6197 GB, free: 0.6406 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.001095/0.5445, allocations: 0.6971 MB / 0.6204 GB, free: 15.93 MB / 494.1 MB Notification: Performance of Backend: time 1.893e-06/0.5446, allocations: 0 / 0.6204 GB, free: 15.93 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.006438/0.551, allocations: 2.733 MB / 0.6231 GB, free: 13.14 MB / 494.1 MB Notification: Performance of SimCode: time 0.007973/0.559, allocations: 5.254 MB / 0.6282 GB, free: 7.84 MB / 494.1 MB Notification: Performance of Templates: time 0.05457/0.6136, allocations: 33.66 MB / 0.6611 GB, free: 6.363 MB / 0.5137 GB make -j1 -f PowerSystems_latest_PowerSystems.Examples.Wind.WindTurbine_PSGR.makefile (rm -f PowerSystems_latest_PowerSystems.Examples.Wind.WindTurbine_PSGR.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.Wind.WindTurbine_PSGR.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.Wind.WindTurbine_PSGR.pipe >> ../files/PowerSystems_latest_PowerSystems.Examples.Wind.WindTurbine_PSGR.sim & ./PowerSystems_latest_PowerSystems.Examples.Wind.WindTurbine_PSGR -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > PowerSystems_latest_PowerSystems.Examples.Wind.WindTurbine_PSGR.pipe 2>&1)