Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC3ph.Generation.WindGeneratorLine.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.AC3ph.Generation.WindGeneratorLine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Generation.WindGeneratorLine") translateModel(PowerSystems.Examples.AC3ph.Generation.WindGeneratorLine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Generation.WindGeneratorLine") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00182/0.00182, allocations: 183.7 kB / 16.71 MB, free: 4.973 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.449/1.449, allocations: 225.7 MB / 243.2 MB, free: 8.504 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.0007792/0.0007792, allocations: 102.3 kB / 294.4 MB, free: 9.5 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.3075/0.3075, allocations: 38.13 MB / 383.6 MB, free: 40.33 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003033/0.0003034, allocations: 8 kB / 453.5 MB, free: 8.738 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4112/0.4116, allocations: 59.14 MB / 0.5006 GB, free: 39.21 MB / 378.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Generation.WindGeneratorLine): time 0.01061/0.4222, allocations: 8.235 MB / 0.5086 GB, free: 36.22 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.01148/0.4338, allocations: 8.016 MB / 0.5165 GB, free: 29.52 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001727/0.4355, allocations: 54.56 kB / 0.5165 GB, free: 29.5 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.008696/0.4442, allocations: 4.724 MB / 0.5211 GB, free: 28.33 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001893/0.4462, allocations: 0.5956 MB / 0.5217 GB, free: 28.01 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001128/0.4473, allocations: 409.9 kB / 0.5221 GB, free: 27.78 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.002656/0.45, allocations: 2.932 MB / 0.525 GB, free: 26.88 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001662/0.4517, allocations: 1.64 MB / 0.5266 GB, free: 25.73 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008264/0.4525, allocations: 0.5146 MB / 0.5271 GB, free: 25.53 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008154/0.4533, allocations: 0.7009 MB / 0.5278 GB, free: 25.29 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001038/0.4534, allocations: 48.97 kB / 0.5278 GB, free: 25.29 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006692/0.4541, allocations: 330.4 kB / 0.5281 GB, free: 25.2 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003404/0.4545, allocations: 432 kB / 0.5285 GB, free: 25.06 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000438/0.4549, allocations: 0.5384 MB / 0.5291 GB, free: 24.73 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001217/0.4561, allocations: 1.626 MB / 0.5306 GB, free: 24.27 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.661e-06/0.4562, allocations: 0 / 0.5306 GB, free: 24.27 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.104e-06/0.4562, allocations: 3.938 kB / 0.5306 GB, free: 24.26 MB / 378.7 MB Notification: Performance of Transformations before backend: time 2.001e-05/0.4562, allocations: 0 / 0.5306 GB, free: 24.26 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: 208 * Number of variables: 208 Notification: Performance of Generate backend data structure: time 0.001958/0.4582, allocations: 1.218 MB / 0.5318 GB, free: 23.45 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.844e-05/0.4582, allocations: 9.469 kB / 0.5318 GB, free: 23.45 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006223/0.4588, allocations: 151.7 kB / 0.532 GB, free: 23.39 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001357/0.4602, allocations: 0.9493 MB / 0.5329 GB, free: 22.82 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.998e-05/0.4603, allocations: 60.92 kB / 0.533 GB, free: 22.79 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001614/0.4604, allocations: 94.12 kB / 0.5331 GB, free: 22.75 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001346/0.4618, allocations: 1.054 MB / 0.5341 GB, free: 22.28 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.77e-05/0.4618, allocations: 3.344 kB / 0.5341 GB, free: 22.28 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.193e-05/0.4619, allocations: 34.2 kB / 0.5341 GB, free: 22.25 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001936/0.4621, allocations: 73.34 kB / 0.5342 GB, free: 22.24 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001125/0.4632, allocations: 0.835 MB / 0.535 GB, free: 21.95 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004461/0.4677, allocations: 4.018 MB / 0.5389 GB, free: 19.37 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008268/0.4686, allocations: 0.6179 MB / 0.5395 GB, free: 19.04 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003883/0.469, allocations: 308.8 kB / 0.5398 GB, free: 18.91 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.252e-05/0.469, allocations: 7.391 kB / 0.5398 GB, free: 18.91 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.849e-05/0.469, allocations: 43.12 kB / 0.5399 GB, free: 18.86 MB / 378.7 MB Notification: Performance of pre-optimization done (n=57): time 2.164e-06/0.4691, allocations: 0 / 0.5399 GB, free: 18.86 MB / 378.7 MB Notification: Performance of matching and sorting (n=66): time 0.004722/0.4738, allocations: 3.094 MB / 0.5429 GB, free: 17.11 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.499e-05/0.4739, allocations: 115 kB / 0.543 GB, free: 16.98 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008723/0.4747, allocations: 0.697 MB / 0.5437 GB, free: 16.68 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 4.232e-05/0.4748, allocations: 37.02 kB / 0.5437 GB, free: 16.64 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002729/0.4751, allocations: 482.9 kB / 0.5442 GB, free: 16.26 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001556/0.4752, allocations: 238.2 kB / 0.5444 GB, free: 16.07 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.518e-05/0.4753, allocations: 15.22 kB / 0.5444 GB, free: 16.06 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001161/0.4754, allocations: 395.3 kB / 0.5448 GB, free: 15.71 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004522/0.4758, allocations: 302.4 kB / 0.5451 GB, free: 15.61 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006031/0.4765, allocations: 0.5143 MB / 0.5456 GB, free: 15.23 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003835/0.4803, allocations: 1.676 MB / 0.5472 GB, free: 14.39 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.811e-06/0.4803, allocations: 1.875 kB / 0.5472 GB, free: 14.39 MB / 378.7 MB Notification: Performance of matching and sorting (n=104) (initialization): time 0.002429/0.4828, allocations: 1.274 MB / 0.5485 GB, free: 13.86 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.441e-05/0.4828, allocations: 7.312 kB / 0.5485 GB, free: 13.86 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.485e-05/0.4828, allocations: 6.75 kB / 0.5485 GB, free: 13.86 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001147/0.484, allocations: 406.5 kB / 0.5489 GB, free: 13.75 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005509/0.4845, allocations: 153.1 kB / 0.549 GB, free: 13.74 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006934/0.4915, allocations: 5.711 MB / 0.5546 GB, free: 9.672 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007259/0.4922, allocations: 36.66 kB / 0.5546 GB, free: 9.652 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.037e-05/0.4923, allocations: 34.61 kB / 0.5547 GB, free: 9.645 MB / 378.7 MB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization sytem: $DER.windGen.WT.turbine.w = 0.0. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 28 * Number of states: 0 () * 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 initialization (76): * Single equations (assignments): 74 * 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,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(4,21)} Notification: Performance of prepare postOptimizeDAE: time 0.000611/0.4929, allocations: 372 kB / 0.555 GB, free: 9.398 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001224/0.4931, allocations: 80.31 kB / 0.5551 GB, free: 9.355 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001605/0.4947, allocations: 0.8992 MB / 0.556 GB, free: 8.949 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.828e-06/0.4947, allocations: 6.312 kB / 0.556 GB, free: 8.949 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.692e-06/0.4947, allocations: 2.891 kB / 0.556 GB, free: 8.949 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.152e-05/0.4947, allocations: 4.062 kB / 0.556 GB, free: 8.949 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003311/0.4981, allocations: 2.025 MB / 0.558 GB, free: 7.762 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.022e-06/0.4981, allocations: 1.406 kB / 0.558 GB, free: 7.762 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006992/0.4988, allocations: 121.1 kB / 0.5581 GB, free: 7.734 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005403/0.4994, allocations: 199.3 kB / 0.5583 GB, free: 7.613 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.789e-05/0.4994, allocations: 24.61 kB / 0.5583 GB, free: 7.598 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003459/0.5029, allocations: 4.997 MB / 0.5632 GB, free: 2.816 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.037e-06/0.5029, allocations: 1 kB / 0.5632 GB, free: 2.816 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002121/0.5051, allocations: 1.265 MB / 0.5644 GB, free: 2.043 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004011/0.5055, allocations: 219.2 kB / 0.5646 GB, free: 1.852 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001073/0.5056, allocations: 28.02 kB / 0.5647 GB, free: 1.832 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003429/0.5059, allocations: 22.11 kB / 0.5647 GB, free: 1.816 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000121/0.5061, allocations: 46.78 kB / 0.5647 GB, free: 1.793 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.03e-05/0.5061, allocations: 22.08 kB / 0.5647 GB, free: 1.785 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.000826/0.507, allocations: 493.1 kB / 0.5652 GB, free: 1.508 MB / 378.7 MB Notification: Performance of sort global known variables: time 2.21e-07/0.507, allocations: 0 / 0.5652 GB, free: 1.508 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.001445/0.5084, allocations: 258 kB / 0.5655 GB, free: 1.469 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 11 (windGen.generator.i[3],windGen.generator.phi_el,windGen.generator.w_el,windGen.generator.psi_rd[1],windGen.generator.psi_rq[1],windGen.WT.turbine.phi,windGen.WT.turbine.w,windGen.WT.gear.phi,windGen.WT.gear.w,line.i[1],line.i[2]) * 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 (55): * Single equations (assignments): 51 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,5,100.0%), (1,5,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001026/0.5095, allocations: 477.8 kB / 0.5659 GB, free: 1.191 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.002104/0.5116, allocations: 1.136 MB / 0.567 GB, free: 0.4961 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 4.118e-06/0.5116, allocations: 1.219 kB / 0.567 GB, free: 0.4961 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009705/0.5126, allocations: 0.7225 MB / 0.5677 GB, free: 15.95 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001159/0.5137, allocations: 171.4 kB / 0.5679 GB, free: 15.86 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004646/0.5184, allocations: 3.079 MB / 0.5709 GB, free: 13.46 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007878/0.5192, allocations: 1.146 MB / 0.572 GB, free: 12.28 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0006214/0.5198, allocations: 162.6 kB / 0.5722 GB, free: 12.12 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001585/0.52, allocations: 59.44 kB / 0.5722 GB, free: 12.06 MB / 394.7 MB Notification: Performance of SimCode: time 7.72e-07/0.52, allocations: 4 kB / 0.5722 GB, free: 12.06 MB / 394.7 MB Notification: Performance of Templates: time 0.02195/0.542, allocations: 11.79 MB / 0.5838 GB, free: 332 kB / 394.7 MB make -j1 -f PowerSystems_PowerSystems.Examples.AC3ph.Generation.WindGeneratorLine.makefile (rm -f PowerSystems_PowerSystems.Examples.AC3ph.Generation.WindGeneratorLine.pipe ; mkfifo PowerSystems_PowerSystems.Examples.AC3ph.Generation.WindGeneratorLine.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.AC3ph.Generation.WindGeneratorLine.pipe >> ../files/PowerSystems_PowerSystems.Examples.AC3ph.Generation.WindGeneratorLine.sim & ./PowerSystems_PowerSystems.Examples.AC3ph.Generation.WindGeneratorLine -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.AC3ph.Generation.WindGeneratorLine.pipe 2>&1)