Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_latest_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-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_IG,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_IG") translateModel(PowerSystems.Examples.Wind.WindTurbine_IG,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_IG") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001271/0.001271, allocations: 102.5 kB / 17.74 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.00136/0.00136, allocations: 197.2 kB / 18.67 MB, free: 4.383 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.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.1772/0.1772, allocations: 38.04 MB / 330.6 MB, free: 8.754 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001361/0.001361, allocations: 55.91 kB / 458.8 MB, free: 6.871 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3352/0.3365, allocations: 58.07 MB / 0.5048 GB, free: 7.676 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Wind.WindTurbine_IG): time 0.009286/0.3459, allocations: 8.083 MB / 0.5127 GB, free: 2.039 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.009381/0.3553, allocations: 5.486 MB / 0.518 GB, free: 14.22 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001205/0.3565, allocations: 33.91 kB / 0.5181 GB, free: 14.21 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01285/0.3694, allocations: 5.232 MB / 0.5232 GB, free: 12.58 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002525/0.3719, allocations: 0.8486 MB / 0.524 GB, free: 12.12 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00156/0.3735, allocations: 499.9 kB / 0.5245 GB, free: 11.91 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.003904/0.3774, allocations: 2.526 MB / 0.5269 GB, free: 10.98 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001106/0.3786, allocations: 0.6376 MB / 0.5276 GB, free: 10.68 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001507/0.3801, allocations: 0.7753 MB / 0.5283 GB, free: 10.36 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00192/0.382, allocations: 1.028 MB / 0.5293 GB, free: 9.855 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004169/0.3824, allocations: 105.6 kB / 0.5294 GB, free: 9.855 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001156/0.3836, allocations: 368.5 kB / 0.5298 GB, free: 9.719 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0009723/0.3846, allocations: 0.6586 MB / 0.5304 GB, free: 9.301 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001407/0.386, allocations: 0.6886 MB / 0.5311 GB, free: 8.84 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002718/0.3887, allocations: 1.723 MB / 0.5328 GB, free: 7.711 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.31e-06/0.3888, allocations: 1.188 kB / 0.5328 GB, free: 7.711 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.823e-06/0.3888, allocations: 0 / 0.5328 GB, free: 7.711 MB / 398.1 MB Notification: Performance of Transformations before backend: time 9.311e-05/0.3889, allocations: 0 / 0.5328 GB, free: 7.711 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.005211/0.3941, allocations: 1.592 MB / 0.5343 GB, free: 6.543 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.035e-05/0.3941, allocations: 12.14 kB / 0.5343 GB, free: 6.539 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00157/0.3957, allocations: 222.8 kB / 0.5345 GB, free: 6.43 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00271/0.3984, allocations: 0.9495 MB / 0.5355 GB, free: 5.742 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.912e-05/0.3985, allocations: 71.7 kB / 0.5355 GB, free: 5.707 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006115/0.3991, allocations: 187.4 kB / 0.5357 GB, free: 5.641 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002797/0.402, allocations: 1.565 MB / 0.5372 GB, free: 4.672 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.716e-05/0.402, allocations: 11.2 kB / 0.5373 GB, free: 4.664 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001137/0.4021, allocations: 41.73 kB / 0.5373 GB, free: 4.633 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006486/0.4028, allocations: 151.5 kB / 0.5374 GB, free: 4.582 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002201/0.405, allocations: 1.253 MB / 0.5387 GB, free: 3.984 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.008896/0.4139, allocations: 6.458 MB / 0.545 GB, free: 14.77 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001582/0.4155, allocations: 0.9003 MB / 0.5459 GB, free: 13.95 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008404/0.4164, allocations: 0.5121 MB / 0.5464 GB, free: 13.43 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.504e-05/0.4164, allocations: 16.98 kB / 0.5464 GB, free: 13.41 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.584e-05/0.4165, allocations: 43.56 kB / 0.5464 GB, free: 13.36 MB / 414.1 MB Notification: Performance of pre-optimization done (n=91): time 3.206e-06/0.4165, allocations: 0 / 0.5464 GB, free: 13.36 MB / 414.1 MB Notification: Performance of matching and sorting (n=96): time 0.007187/0.4237, allocations: 3.678 MB / 0.55 GB, free: 9.547 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.864e-05/0.4237, allocations: 94.05 kB / 0.5501 GB, free: 9.434 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000896/0.4246, allocations: 0.7272 MB / 0.5508 GB, free: 8.699 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 8.089e-05/0.4247, allocations: 41.7 kB / 0.5508 GB, free: 8.652 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004086/0.4252, allocations: 0.5535 MB / 0.5514 GB, free: 8.09 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003152/0.4255, allocations: 366.8 kB / 0.5517 GB, free: 7.727 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000367/0.4258, allocations: 230.8 kB / 0.552 GB, free: 7.496 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001782/0.426, allocations: 418.8 kB / 0.5524 GB, free: 7.078 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009367/0.427, allocations: 0.5647 MB / 0.5529 GB, free: 6.512 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001139/0.4281, allocations: 0.8815 MB / 0.5538 GB, free: 5.5 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.008563/0.4367, allocations: 3.232 MB / 0.5569 GB, free: 2.145 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.737e-06/0.4367, allocations: 4 kB / 0.5569 GB, free: 2.141 MB / 414.1 MB Notification: Performance of matching and sorting (n=164) (initialization): time 0.006127/0.4429, allocations: 2.74 MB / 0.5596 GB, free: 15.38 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.608e-05/0.4429, allocations: 11.94 kB / 0.5596 GB, free: 15.37 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.288e-05/0.4429, allocations: 8 kB / 0.5596 GB, free: 15.36 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003006/0.446, allocations: 1.156 MB / 0.5607 GB, free: 14.2 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008722/0.4468, allocations: 203.6 kB / 0.5609 GB, free: 14 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01898/0.4658, allocations: 12.27 MB / 0.5729 GB, free: 1.43 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001168/0.467, allocations: 63.8 kB / 0.573 GB, free: 1.367 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002689/0.4673, allocations: 55.94 kB / 0.573 GB, free: 1.312 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.0009549/0.4683, allocations: 405.4 kB / 0.5734 GB, free: 0.9062 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002493/0.4686, allocations: 94.86 kB / 0.5735 GB, free: 0.8125 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002732/0.4713, allocations: 1.408 MB / 0.5749 GB, free: 15.35 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.683e-05/0.4713, allocations: 7.969 kB / 0.5749 GB, free: 15.34 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.462e-06/0.4714, allocations: 8 kB / 0.5749 GB, free: 15.34 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007183/0.4721, allocations: 255.9 kB / 0.5752 GB, free: 15.07 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000269/0.4724, allocations: 35.89 kB / 0.5752 GB, free: 15.03 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007456/0.4731, allocations: 39.95 kB / 0.5752 GB, free: 14.99 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001777/0.4733, allocations: 60.91 kB / 0.5753 GB, free: 14.93 MB / 446.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.004392/0.4777, allocations: 1.786 MB / 0.577 GB, free: 13.13 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.002862/0.4806, allocations: 2.059 MB / 0.579 GB, free: 11.06 MB / 446.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0008259/0.4814, allocations: 0.562 MB / 0.5796 GB, free: 10.5 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.000692/0.4821, allocations: 499 kB / 0.5801 GB, free: 10.02 MB / 446.1 MB Notification: Performance of Backend: time 5.41e-07/0.4821, allocations: 0 / 0.5801 GB, free: 10.02 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.004419/0.4866, allocations: 1.903 MB / 0.5819 GB, free: 8.074 MB / 446.1 MB Notification: Performance of SimCode: time 0.005832/0.4924, allocations: 4.162 MB / 0.586 GB, free: 3.855 MB / 446.1 MB Notification: Performance of Templates: time 0.03697/0.5294, allocations: 22.69 MB / 0.6081 GB, free: 13.28 MB / 478.1 MB make -j1 -f PowerSystems_latest_PowerSystems.Examples.Wind.WindTurbine_IG.makefile (rm -f PowerSystems_latest_PowerSystems.Examples.Wind.WindTurbine_IG.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.Wind.WindTurbine_IG.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.Wind.WindTurbine_IG.pipe >> ../files/PowerSystems_latest_PowerSystems.Examples.Wind.WindTurbine_IG.sim & ./PowerSystems_latest_PowerSystems.Examples.Wind.WindTurbine_IG -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > PowerSystems_latest_PowerSystems.Examples.Wind.WindTurbine_IG.pipe 2>&1)