Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.Wind.WindTurbine_DFIG.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_DFIG,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.Wind.WindTurbine_DFIG") translateModel(PowerSystems.Examples.Wind.WindTurbine_DFIG,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.Wind.WindTurbine_DFIG") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001202/0.001202, allocations: 178.8 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.491/1.491, allocations: 225.7 MB / 243.2 MB, free: 8.453 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.0007855/0.0007856, allocations: 95.5 kB / 294.4 MB, free: 9.492 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.3913/0.3913, allocations: 38.12 MB / 383.6 MB, free: 40.36 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005036/0.0005036, allocations: 8 kB / 453.5 MB, free: 8.785 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3794/0.3799, allocations: 59.13 MB / 0.5006 GB, free: 38.89 MB / 378.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Wind.WindTurbine_DFIG): time 0.01272/0.3927, allocations: 11.52 MB / 0.5118 GB, free: 33.57 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.01353/0.4063, allocations: 10.02 MB / 0.5216 GB, free: 24.96 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002888/0.4092, allocations: 85.53 kB / 0.5217 GB, free: 24.92 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0096/0.4189, allocations: 4.864 MB / 0.5265 GB, free: 23.64 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003621/0.4225, allocations: 1.013 MB / 0.5274 GB, free: 23.11 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0018/0.4243, allocations: 0.5801 MB / 0.528 GB, free: 22.83 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.005078/0.4294, allocations: 4.717 MB / 0.5326 GB, free: 21.46 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002416/0.4318, allocations: 1.856 MB / 0.5344 GB, free: 20.08 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002078/0.4339, allocations: 0.8959 MB / 0.5353 GB, free: 19.73 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002382/0.4363, allocations: 1.353 MB / 0.5366 GB, free: 19.31 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002921/0.4366, allocations: 72.84 kB / 0.5367 GB, free: 19.31 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009798/0.4376, allocations: 350.8 kB / 0.537 GB, free: 19.23 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000643/0.4383, allocations: 0.7678 MB / 0.5378 GB, free: 19.01 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0008099/0.4391, allocations: 0.8551 MB / 0.5386 GB, free: 18.52 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001759/0.4409, allocations: 2.148 MB / 0.5407 GB, free: 17.88 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.45e-06/0.4409, allocations: 0 / 0.5407 GB, free: 17.88 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.563e-06/0.4409, allocations: 0 / 0.5407 GB, free: 17.88 MB / 378.7 MB Notification: Performance of Transformations before backend: time 2.008e-05/0.4409, allocations: 0 / 0.5407 GB, free: 17.88 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: 392 * Number of variables: 392 Notification: Performance of Generate backend data structure: time 0.003192/0.4441, allocations: 1.737 MB / 0.5424 GB, free: 16.82 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.651e-05/0.4442, allocations: 11.39 kB / 0.5424 GB, free: 16.82 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001314/0.4455, allocations: 275.2 kB / 0.5427 GB, free: 16.73 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00211/0.4476, allocations: 1.154 MB / 0.5438 GB, free: 16.11 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.658e-05/0.4477, allocations: 104 kB / 0.5439 GB, free: 16.06 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004591/0.4482, allocations: 235.7 kB / 0.5441 GB, free: 15.99 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002984/0.4512, allocations: 2.099 MB / 0.5462 GB, free: 15.09 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.984e-05/0.4512, allocations: 7.641 kB / 0.5462 GB, free: 15.09 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001217/0.4513, allocations: 60.78 kB / 0.5462 GB, free: 15.04 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005628/0.4519, allocations: 182.9 kB / 0.5464 GB, free: 15.02 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002999/0.4549, allocations: 1.709 MB / 0.5481 GB, free: 14.48 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.01137/0.4663, allocations: 7.984 MB / 0.5559 GB, free: 9.297 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002244/0.4686, allocations: 1.615 MB / 0.5575 GB, free: 8.258 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009684/0.4695, allocations: 0.6647 MB / 0.5581 GB, free: 7.93 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.982e-05/0.4696, allocations: 22.31 kB / 0.5581 GB, free: 7.922 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.579e-05/0.4697, allocations: 52.28 kB / 0.5582 GB, free: 7.867 MB / 378.7 MB Notification: Performance of pre-optimization done (n=127): time 2.976e-06/0.4697, allocations: 0 / 0.5582 GB, free: 7.867 MB / 378.7 MB Notification: Performance of matching and sorting (n=139): time 0.01041/0.4801, allocations: 6.057 MB / 0.5641 GB, free: 4.176 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.171e-05/0.4802, allocations: 99.14 kB / 0.5642 GB, free: 4.074 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001182/0.4814, allocations: 0.9258 MB / 0.5651 GB, free: 3.551 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 8.098e-05/0.4815, allocations: 55.61 kB / 0.5652 GB, free: 3.496 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004183/0.4819, allocations: 0.7169 MB / 0.5659 GB, free: 2.855 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000404/0.4823, allocations: 0.4966 MB / 0.5663 GB, free: 2.414 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.074e-05/0.4824, allocations: 34.81 kB / 0.5664 GB, free: 2.387 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001051/0.4825, allocations: 380 kB / 0.5667 GB, free: 2.031 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000974/0.4835, allocations: 0.707 MB / 0.5674 GB, free: 1.422 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001132/0.4846, allocations: 1.155 MB / 0.5685 GB, free: 80 kB / 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.009578/0.4942, allocations: 4.094 MB / 0.5725 GB, free: 11.81 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.467e-06/0.4943, allocations: 4 kB / 0.5726 GB, free: 11.81 MB / 394.7 MB Notification: Performance of matching and sorting (n=223) (initialization): time 0.006668/0.5009, allocations: 3.347 MB / 0.5758 GB, free: 8.422 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.076e-05/0.501, allocations: 12 kB / 0.5758 GB, free: 8.41 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.601e-05/0.501, allocations: 15.94 kB / 0.5758 GB, free: 8.395 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002877/0.5039, allocations: 1.188 MB / 0.577 GB, free: 7.199 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001212/0.5051, allocations: 307.5 kB / 0.5773 GB, free: 6.898 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01794/0.5231, allocations: 13.8 MB / 0.5908 GB, free: 8.543 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001431/0.5246, allocations: 83.88 kB / 0.5909 GB, free: 8.461 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001622/0.5247, allocations: 79.98 kB / 0.5909 GB, free: 8.383 MB / 410.7 MB Warning: The initial conditions are over specified. The following 4 initial equations are redundant, so they are removed from the initialization sytem: inverter2.switch_dq0[1] = 1.224744871391589 * cos(select2.alpha0) * select2.v0 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: 60 * 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 (147): * Single equations (assignments): 143 * 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 {(1,1,100.0%), (1,18,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(3,15), (21,20)} Notification: Performance of prepare postOptimizeDAE: time 0.0009604/0.5257, allocations: 0.4902 MB / 0.5914 GB, free: 7.883 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000197/0.5259, allocations: 138.3 kB / 0.5915 GB, free: 7.746 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003153/0.5291, allocations: 2.022 MB / 0.5935 GB, free: 5.645 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.177e-05/0.5291, allocations: 12 kB / 0.5935 GB, free: 5.633 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.993e-06/0.5291, allocations: 8 kB / 0.5935 GB, free: 5.625 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.61e-05/0.5291, allocations: 11.97 kB / 0.5935 GB, free: 5.613 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006197/0.5353, allocations: 3.791 MB / 0.5972 GB, free: 1.645 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.125e-06/0.5354, allocations: 4 kB / 0.5973 GB, free: 1.641 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001604/0.537, allocations: 335.9 kB / 0.5976 GB, free: 1.312 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004851/0.5375, allocations: 191.2 kB / 0.5978 GB, free: 1.113 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001085/0.5376, allocations: 43.98 kB / 0.5978 GB, free: 1.07 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005108/0.5427, allocations: 6.147 MB / 0.6038 GB, free: 10.39 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.204e-06/0.5427, allocations: 7.938 kB / 0.6038 GB, free: 10.38 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004555/0.5473, allocations: 2.735 MB / 0.6065 GB, free: 7.52 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000927/0.5483, allocations: 319.2 kB / 0.6068 GB, free: 7.188 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003794/0.5486, allocations: 43.98 kB / 0.6068 GB, free: 7.145 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007827/0.5494, allocations: 55.95 kB / 0.6069 GB, free: 7.09 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002636/0.5497, allocations: 109 kB / 0.607 GB, free: 6.984 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.333e-05/0.5498, allocations: 36 kB / 0.607 GB, free: 6.949 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0009255/0.5507, allocations: 0.6166 MB / 0.6076 GB, free: 6.324 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.8e-07/0.5507, allocations: 4 kB / 0.6076 GB, free: 6.32 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.002071/0.5528, allocations: 480 kB / 0.6081 GB, free: 5.852 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * Number of states: 26 (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],generator.phiRotor,line.v[1,2],line.v[1,3],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],meterDC.pav,inverter2.vDC1) * 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 (130): * Single equations (assignments): 125 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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): 4 systems {(1,10,100.0%), (1,1,100.0%), (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.0002718/0.5531, allocations: 167 kB / 0.6082 GB, free: 5.676 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.004719/0.5578, allocations: 2.681 MB / 0.6109 GB, free: 2.945 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 8.486e-06/0.5579, allocations: 8.047 kB / 0.6109 GB, free: 2.938 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001786/0.5597, allocations: 1.245 MB / 0.6121 GB, free: 1.641 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001968/0.5616, allocations: 302.9 kB / 0.6124 GB, free: 1.344 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008393/0.57, allocations: 5.984 MB / 0.6182 GB, free: 11.29 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001308/0.5714, allocations: 1.525 MB / 0.6197 GB, free: 9.723 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.001404/0.5728, allocations: 399.6 kB / 0.6201 GB, free: 9.328 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003394/0.5731, allocations: 107.4 kB / 0.6202 GB, free: 9.223 MB / 442.7 MB Notification: Performance of SimCode: time 8.82e-07/0.5732, allocations: 0 / 0.6202 GB, free: 9.223 MB / 442.7 MB Notification: Performance of Templates: time 0.04418/0.6173, allocations: 23.33 MB / 0.643 GB, free: 1.934 MB / 458.7 MB make -j1 -f PowerSystems_PowerSystems.Examples.Wind.WindTurbine_DFIG.makefile (rm -f PowerSystems_PowerSystems.Examples.Wind.WindTurbine_DFIG.pipe ; mkfifo PowerSystems_PowerSystems.Examples.Wind.WindTurbine_DFIG.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.Wind.WindTurbine_DFIG.pipe >> ../files/PowerSystems_PowerSystems.Examples.Wind.WindTurbine_DFIG.sim & ./PowerSystems_PowerSystems.Examples.Wind.WindTurbine_DFIG -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.Wind.WindTurbine_DFIG.pipe 2>&1)