Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.Wind.WindTurbine_IG.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/PowerSystems 1.0.0/package.mo", uses=false) Using package PowerSystems with version 1.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/PowerSystems 1.0.0/package.mo) Using package ModelicaServices with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 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(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001264/0.001264, allocations: 177.3 kB / 16.71 MB, free: 5.09 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.502/1.502, allocations: 225.7 MB / 243.2 MB, free: 8.449 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008461/0.0008462, allocations: 89.61 kB / 294.4 MB, free: 9.496 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/PowerSystems 1.0.0/package.mo): time 0.3773/0.3773, allocations: 38.12 MB / 383.6 MB, free: 40.36 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004097/0.0004096, allocations: 8.219 kB / 453.5 MB, free: 8.781 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4474/0.4478, allocations: 59.13 MB / 0.5006 GB, free: 39.04 MB / 378.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Wind.WindTurbine_IG): time 0.01404/0.4619, allocations: 8.491 MB / 0.5089 GB, free: 35.85 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.01582/0.4777, allocations: 8.725 MB / 0.5174 GB, free: 28.32 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002495/0.4803, allocations: 49 kB / 0.5175 GB, free: 28.3 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.01451/0.4948, allocations: 4.747 MB / 0.5221 GB, free: 27.09 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003788/0.4987, allocations: 0.7907 MB / 0.5229 GB, free: 26.69 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002359/0.501, allocations: 454.6 kB / 0.5233 GB, free: 26.48 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.006598/0.5077, allocations: 3.759 MB / 0.527 GB, free: 25.44 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002502/0.5102, allocations: 1.28 MB / 0.5282 GB, free: 24.45 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002059/0.5123, allocations: 0.6579 MB / 0.5289 GB, free: 24.2 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002542/0.5149, allocations: 1.044 MB / 0.5299 GB, free: 23.89 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0005532/0.5155, allocations: 53 kB / 0.5299 GB, free: 23.89 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001647/0.5171, allocations: 321.2 kB / 0.5302 GB, free: 23.81 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001266/0.5184, allocations: 0.5964 MB / 0.5308 GB, free: 23.65 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.00198/0.5204, allocations: 0.6466 MB / 0.5314 GB, free: 23.27 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003427/0.5239, allocations: 1.645 MB / 0.5331 GB, free: 22.79 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.572e-06/0.5239, allocations: 0 / 0.5331 GB, free: 22.79 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.255e-06/0.5239, allocations: 0 / 0.5331 GB, free: 22.79 MB / 378.7 MB Notification: Performance of Transformations before backend: time 2.414e-05/0.5239, allocations: 0 / 0.5331 GB, free: 22.79 MB / 378.7 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.003611/0.5276, allocations: 1.364 MB / 0.5344 GB, free: 21.91 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.322e-05/0.5276, allocations: 13.52 kB / 0.5344 GB, free: 21.91 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001631/0.5293, allocations: 214.3 kB / 0.5346 GB, free: 21.83 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002248/0.5315, allocations: 0.9258 MB / 0.5355 GB, free: 21.31 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.664e-05/0.5316, allocations: 68.02 kB / 0.5356 GB, free: 21.28 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006146/0.5322, allocations: 187.2 kB / 0.5357 GB, free: 21.23 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003077/0.5353, allocations: 1.561 MB / 0.5373 GB, free: 20.55 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.516e-05/0.5354, allocations: 11.36 kB / 0.5373 GB, free: 20.55 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001421/0.5356, allocations: 41.73 kB / 0.5373 GB, free: 20.52 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0008505/0.5364, allocations: 149.2 kB / 0.5375 GB, free: 20.5 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002991/0.5394, allocations: 1.256 MB / 0.5387 GB, free: 20.1 MB / 378.7 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.007465/0.5469, allocations: 6.509 MB / 0.545 GB, free: 15.71 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001433/0.5484, allocations: 0.9022 MB / 0.5459 GB, free: 15.37 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008857/0.5493, allocations: 0.5195 MB / 0.5464 GB, free: 15.17 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.746e-05/0.5493, allocations: 13.22 kB / 0.5464 GB, free: 15.17 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.419e-05/0.5494, allocations: 39.78 kB / 0.5465 GB, free: 15.12 MB / 378.7 MB Notification: Performance of pre-optimization done (n=91): time 2.264e-06/0.5494, allocations: 0 / 0.5465 GB, free: 15.12 MB / 378.7 MB Notification: Performance of matching and sorting (n=97): time 0.007845/0.5572, allocations: 4.458 MB / 0.5508 GB, free: 12.77 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.849e-05/0.5573, allocations: 89.16 kB / 0.5509 GB, free: 12.68 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009883/0.5583, allocations: 0.7247 MB / 0.5516 GB, free: 12.38 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 6.29e-05/0.5584, allocations: 41.92 kB / 0.5517 GB, free: 12.33 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003646/0.5587, allocations: 0.5541 MB / 0.5522 GB, free: 11.89 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002791/0.559, allocations: 369.1 kB / 0.5526 GB, free: 11.61 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.194e-05/0.5591, allocations: 25.75 kB / 0.5526 GB, free: 11.59 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001648/0.5593, allocations: 411.2 kB / 0.553 GB, free: 11.23 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009631/0.5602, allocations: 0.5715 MB / 0.5535 GB, free: 11.06 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001184/0.5614, allocations: 0.8883 MB / 0.5544 GB, free: 10.49 MB / 378.7 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.008262/0.5697, allocations: 3.258 MB / 0.5576 GB, free: 9.191 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.065e-05/0.5697, allocations: 4.031 kB / 0.5576 GB, free: 9.191 MB / 378.7 MB Notification: Performance of matching and sorting (n=165) (initialization): time 0.005424/0.5752, allocations: 2.734 MB / 0.5603 GB, free: 7.754 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.776e-05/0.5752, allocations: 11.19 kB / 0.5603 GB, free: 7.754 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.933e-05/0.5752, allocations: 9.625 kB / 0.5603 GB, free: 7.754 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002837/0.5781, allocations: 1.184 MB / 0.5614 GB, free: 7.324 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008056/0.5789, allocations: 201.8 kB / 0.5616 GB, free: 7.281 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01463/0.5935, allocations: 11.21 MB / 0.5726 GB, free: 11.83 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001126/0.5947, allocations: 59.95 kB / 0.5726 GB, free: 11.77 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001126/0.5948, allocations: 60 kB / 0.5727 GB, free: 11.71 MB / 394.7 MB Warning: The initial conditions are over specified. The following 3 initial equations are redundant, so they are removed from the initialization sytem: rotor.A = 3.141592653589793 * rotor.R ^ 2.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 (97): * Single equations (assignments): 95 * 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.0008066/0.5956, allocations: 406.1 kB / 0.5731 GB, free: 11.31 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001574/0.5958, allocations: 94.78 kB / 0.5732 GB, free: 11.21 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00228/0.5981, allocations: 1.427 MB / 0.5746 GB, free: 9.742 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.039e-05/0.5981, allocations: 12 kB / 0.5746 GB, free: 9.73 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.038e-06/0.5981, allocations: 0 / 0.5746 GB, free: 9.73 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.168e-05/0.5981, allocations: 11.92 kB / 0.5746 GB, free: 9.719 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004463/0.6026, allocations: 2.692 MB / 0.5772 GB, free: 6.902 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.883e-06/0.6026, allocations: 4 kB / 0.5772 GB, free: 6.898 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001454/0.6041, allocations: 283.9 kB / 0.5775 GB, free: 6.621 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001622/0.6043, allocations: 49.67 kB / 0.5775 GB, free: 6.566 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.361e-05/0.6044, allocations: 43.97 kB / 0.5776 GB, free: 6.523 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001908/0.6063, allocations: 2.642 MB / 0.5802 GB, free: 3.617 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.134e-06/0.6063, allocations: 160 / 0.5802 GB, free: 3.617 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002804/0.6091, allocations: 1.918 MB / 0.582 GB, free: 1.617 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005049/0.6096, allocations: 263.8 kB / 0.5823 GB, free: 1.34 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000138/0.6098, allocations: 35.98 kB / 0.5823 GB, free: 1.305 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005261/0.6103, allocations: 47.95 kB / 0.5824 GB, free: 1.258 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001768/0.6105, allocations: 64.8 kB / 0.5824 GB, free: 1.195 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.982e-05/0.6106, allocations: 35.98 kB / 0.5825 GB, free: 1.16 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.000654/0.6112, allocations: 491 kB / 0.5829 GB, free: 0.6836 MB / 394.7 MB Notification: Performance of sort global known variables: time 2.51e-07/0.6112, allocations: 0 / 0.5829 GB, free: 0.6836 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.001468/0.6127, allocations: 376 kB / 0.5833 GB, free: 324 kB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * Number of states: 25 (generator.i[3],generator.phi_el,generator.w_el,generator.psi_s[1],generator.psi_s[2],generator.psi_rd[1],generator.psi_rq[1],line.v[1,1],line.v[1,2],line.v[1,3],line.v[2,1],line.v[2,2],line.v[2,3],line.v[3,1],line.v[3,2],line.v[3,3],line.i[1,1],line.i[1,2],line.i[1,3],line.i[2,1],line.i[2,2],line.i[2,3],line.i[3,1],line.i[3,2],line.i[3,3]) * Number of discrete variables: 1 (system.initime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (96): * Single equations (assignments): 93 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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): 2 systems {(1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001972/0.6129, allocations: 151.1 kB / 0.5834 GB, free: 164 kB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.003812/0.6167, allocations: 2.067 MB / 0.5855 GB, free: 14.05 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.026e-06/0.6168, allocations: 3.938 kB / 0.5855 GB, free: 14.05 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001123/0.6179, allocations: 0.7654 MB / 0.5862 GB, free: 13.26 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001228/0.6191, allocations: 207.1 kB / 0.5864 GB, free: 13.06 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006805/0.6259, allocations: 4.941 MB / 0.5912 GB, free: 8.066 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001028/0.627, allocations: 1.306 MB / 0.5925 GB, free: 6.727 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.00101/0.628, allocations: 316.1 kB / 0.5928 GB, free: 6.414 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002686/0.6283, allocations: 75.44 kB / 0.5929 GB, free: 6.34 MB / 410.7 MB Notification: Performance of SimCode: time 2.825e-06/0.6283, allocations: 0 / 0.5929 GB, free: 6.34 MB / 410.7 MB Notification: Performance of Templates: time 0.03056/0.6589, allocations: 17.99 MB / 0.6104 GB, free: 4.371 MB / 426.7 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)