Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.Wind.WindTurbine_IG.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_IG,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.Wind.WindTurbine_IG") translateModel(PowerSystems.Examples.Wind.WindTurbine_IG,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.Wind.WindTurbine_IG") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001251/0.001251, allocations: 110.9 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.00128/0.001281, allocations: 190.6 kB / 18.68 MB, free: 4.375 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.317/1.317, allocations: 222.9 MB / 242.4 MB, free: 15.1 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo): time 0.1736/0.1736, allocations: 38.04 MB / 330.6 MB, free: 8.68 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001276/0.001276, allocations: 67.89 kB / 458.8 MB, free: 6.844 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.302/0.3033, allocations: 58.06 MB / 0.5048 GB, free: 7.836 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Wind.WindTurbine_IG): time 0.007669/0.311, allocations: 8.092 MB / 0.5127 GB, free: 2.188 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.007638/0.3187, allocations: 5.483 MB / 0.518 GB, free: 14.37 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005221/0.3192, allocations: 26.41 kB / 0.518 GB, free: 14.36 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01145/0.3307, allocations: 5.235 MB / 0.5231 GB, free: 12.73 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002493/0.3332, allocations: 0.8534 MB / 0.524 GB, free: 12.27 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001559/0.3348, allocations: 0.4883 MB / 0.5245 GB, free: 12.05 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.00337/0.3381, allocations: 2.525 MB / 0.5269 GB, free: 11.12 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009247/0.3391, allocations: 0.6333 MB / 0.5275 GB, free: 10.84 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001102/0.3402, allocations: 0.7753 MB / 0.5283 GB, free: 10.51 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001303/0.3415, allocations: 1.029 MB / 0.5293 GB, free: 9.922 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001664/0.3417, allocations: 104.6 kB / 0.5294 GB, free: 9.922 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007647/0.3425, allocations: 371.7 kB / 0.5298 GB, free: 9.781 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006402/0.3431, allocations: 0.6562 MB / 0.5304 GB, free: 9.367 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007582/0.3439, allocations: 0.6925 MB / 0.5311 GB, free: 8.902 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002005/0.3459, allocations: 1.726 MB / 0.5328 GB, free: 7.77 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.782e-06/0.3459, allocations: 1.125 kB / 0.5328 GB, free: 7.77 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.994e-06/0.3459, allocations: 7.938 kB / 0.5328 GB, free: 7.762 MB / 398.1 MB Notification: Performance of Transformations before backend: time 2.569e-05/0.346, allocations: 0 / 0.5328 GB, free: 7.762 MB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 281 * Number of variables: 281 Notification: Performance of Generate backend data structure: time 0.003289/0.3493, allocations: 1.622 MB / 0.5344 GB, free: 6.559 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.326e-05/0.3493, allocations: 13.08 kB / 0.5344 GB, free: 6.555 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0012/0.3505, allocations: 219.7 kB / 0.5346 GB, free: 6.449 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001912/0.3524, allocations: 0.9705 MB / 0.5355 GB, free: 5.742 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.945e-05/0.3525, allocations: 70.64 kB / 0.5356 GB, free: 5.707 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004541/0.353, allocations: 186.9 kB / 0.5358 GB, free: 5.641 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002453/0.3554, allocations: 1.56 MB / 0.5373 GB, free: 4.68 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.943e-05/0.3555, allocations: 14.52 kB / 0.5373 GB, free: 4.668 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001097/0.3556, allocations: 38.3 kB / 0.5373 GB, free: 4.641 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005988/0.3562, allocations: 146.8 kB / 0.5375 GB, free: 4.594 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002093/0.3583, allocations: 1.258 MB / 0.5387 GB, free: 3.992 MB / 398.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.008327/0.3666, allocations: 6.458 MB / 0.545 GB, free: 14.78 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001597/0.3683, allocations: 0.9127 MB / 0.5459 GB, free: 13.85 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007751/0.369, allocations: 0.5121 MB / 0.5464 GB, free: 13.33 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.384e-05/0.3691, allocations: 12.98 kB / 0.5464 GB, free: 13.32 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.141e-05/0.3692, allocations: 43.56 kB / 0.5465 GB, free: 13.27 MB / 414.1 MB Notification: Performance of pre-optimization done (n=91): time 3.457e-06/0.3692, allocations: 4 kB / 0.5465 GB, free: 13.26 MB / 414.1 MB Notification: Performance of matching and sorting (n=96): time 0.006366/0.3756, allocations: 3.698 MB / 0.5501 GB, free: 9.43 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.945e-05/0.3756, allocations: 90.05 kB / 0.5502 GB, free: 9.32 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008083/0.3764, allocations: 0.7312 MB / 0.5509 GB, free: 8.582 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 7.068e-05/0.3765, allocations: 41.7 kB / 0.5509 GB, free: 8.535 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003629/0.3769, allocations: 0.5744 MB / 0.5515 GB, free: 7.953 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002904/0.3772, allocations: 388.8 kB / 0.5519 GB, free: 7.57 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003483/0.3775, allocations: 238.8 kB / 0.5521 GB, free: 7.332 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001855/0.3777, allocations: 414.7 kB / 0.5525 GB, free: 6.918 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008871/0.3786, allocations: 0.5569 MB / 0.553 GB, free: 6.359 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001094/0.3797, allocations: 0.8892 MB / 0.5539 GB, free: 5.34 MB / 414.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.008055/0.3878, allocations: 3.232 MB / 0.557 GB, free: 1.984 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.044e-06/0.3878, allocations: 4 kB / 0.557 GB, free: 1.98 MB / 414.1 MB Notification: Performance of matching and sorting (n=164) (initialization): time 0.005476/0.3933, allocations: 2.733 MB / 0.5597 GB, free: 15.23 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.543e-05/0.3933, allocations: 15.92 kB / 0.5597 GB, free: 15.21 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.75e-05/0.3934, allocations: 12.62 kB / 0.5597 GB, free: 15.2 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002861/0.3962, allocations: 1.159 MB / 0.5609 GB, free: 14.03 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008123/0.3971, allocations: 195.7 kB / 0.5611 GB, free: 13.84 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01723/0.4143, allocations: 12.28 MB / 0.5731 GB, free: 1.262 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009345/0.4153, allocations: 63.88 kB / 0.5731 GB, free: 1.199 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00011/0.4154, allocations: 59.92 kB / 0.5732 GB, free: 1.141 MB / 430.1 MB Warning: The initial conditions are over specified. The following 3 initial equations are redundant, so they are removed from the initialization system: $DER.inertia.w = 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: 43 * 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 (96): * Single equations (assignments): 94 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,17,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(24,28)} Notification: Performance of prepare postOptimizeDAE: time 0.0006559/0.416, allocations: 401.3 kB / 0.5736 GB, free: 0.7422 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001534/0.4162, allocations: 103.3 kB / 0.5737 GB, free: 0.6406 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00223/0.4184, allocations: 1.412 MB / 0.575 GB, free: 15.18 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.006e-05/0.4185, allocations: 3.984 kB / 0.575 GB, free: 15.17 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.916e-06/0.4185, allocations: 0 / 0.575 GB, free: 15.17 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004257/0.4189, allocations: 264.3 kB / 0.5753 GB, free: 14.89 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001439/0.4191, allocations: 35.98 kB / 0.5753 GB, free: 14.86 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005336/0.4196, allocations: 39.95 kB / 0.5754 GB, free: 14.82 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000152/0.4198, allocations: 60.91 kB / 0.5754 GB, free: 14.76 MB / 446.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.004077/0.4238, allocations: 1.79 MB / 0.5772 GB, free: 12.96 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.002755/0.4266, allocations: 2.063 MB / 0.5792 GB, free: 10.88 MB / 446.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0008156/0.4274, allocations: 0.566 MB / 0.5797 GB, free: 10.31 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.000591/0.428, allocations: 495 kB / 0.5802 GB, free: 9.836 MB / 446.1 MB Notification: Performance of Backend: time 3.01e-07/0.4281, allocations: 4 kB / 0.5802 GB, free: 9.832 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.003803/0.4319, allocations: 1.92 MB / 0.5821 GB, free: 7.871 MB / 446.1 MB Notification: Performance of SimCode: time 0.005215/0.4371, allocations: 4.202 MB / 0.5862 GB, free: 3.613 MB / 446.1 MB Notification: Performance of Templates: time 0.03371/0.4708, allocations: 22.71 MB / 0.6084 GB, free: 13 MB / 478.1 MB make -j1 -f PowerSystems_PowerSystems.Examples.Wind.WindTurbine_IG.makefile (rm -f PowerSystems_PowerSystems.Examples.Wind.WindTurbine_IG.pipe ; mkfifo PowerSystems_PowerSystems.Examples.Wind.WindTurbine_IG.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.Wind.WindTurbine_IG.pipe >> ../files/PowerSystems_PowerSystems.Examples.Wind.WindTurbine_IG.sim & ./PowerSystems_PowerSystems.Examples.Wind.WindTurbine_IG -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.Wind.WindTurbine_IG.pipe 2>&1)