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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo", uses=false) Using package PowerSystems with version 1.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.0009282/0.0009282, allocations: 110.3 kB / 17.16 MB, free: 6.082 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.0008832/0.0008832, allocations: 198.9 kB / 18.08 MB, free: 5.285 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.177/1.177, allocations: 205.1 MB / 223.9 MB, free: 12.47 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo): time 0.1693/0.1693, allocations: 37.98 MB / 309.2 MB, free: 6.238 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001167/0.001167, allocations: 67.89 kB / 375.3 MB, free: 4.113 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.183/0.1842, allocations: 55.24 MB / 430.5 MB, free: 19.67 MB / 318.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Wind.WindTurbine_IG): time 0.006701/0.1909, allocations: 9.312 MB / 439.8 MB, free: 10.32 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.006595/0.1975, allocations: 6.08 MB / 445.9 MB, free: 4.219 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000908/0.1985, allocations: 47.69 kB / 445.9 MB, free: 4.172 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00783/0.2063, allocations: 5.126 MB / 451.1 MB, free: 15.04 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001665/0.208, allocations: 0.7939 MB / 451.9 MB, free: 14.24 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00104/0.209, allocations: 455.2 kB / 452.3 MB, free: 13.79 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.003745/0.2128, allocations: 3.751 MB / 456.1 MB, free: 10.04 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009287/0.2138, allocations: 0.5752 MB / 456.6 MB, free: 9.445 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00122/0.215, allocations: 0.6496 MB / 457.3 MB, free: 8.793 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00169/0.2167, allocations: 1.098 MB / 458.4 MB, free: 7.691 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003464/0.217, allocations: 64 kB / 458.4 MB, free: 7.629 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009098/0.218, allocations: 339.5 kB / 458.8 MB, free: 7.297 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0008199/0.2188, allocations: 0.6272 MB / 459.4 MB, free: 6.668 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001094/0.2199, allocations: 0.6451 MB / 460 MB, free: 6.02 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001367/0.2213, allocations: 1.317 MB / 461.4 MB, free: 4.699 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.878e-06/0.2213, allocations: 4 kB / 461.4 MB, free: 4.695 MB / 334.1 MB Notification: Performance of FrontEnd: time 7.71e-07/0.2213, allocations: 0 / 461.4 MB, free: 4.695 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.879e-05/0.2214, allocations: 0 / 461.4 MB, free: 4.695 MB / 334.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.002962/0.2243, allocations: 1.581 MB / 463 MB, free: 3.059 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.315e-05/0.2244, allocations: 8.031 kB / 463 MB, free: 3.051 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001055/0.2254, allocations: 219.1 kB / 463.2 MB, free: 2.836 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001537/0.227, allocations: 0.9256 MB / 464.1 MB, free: 1.867 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.016e-05/0.227, allocations: 69.98 kB / 464.2 MB, free: 1.801 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004005/0.2274, allocations: 191.7 kB / 464.4 MB, free: 1.613 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002223/0.2297, allocations: 1.564 MB / 465.9 MB, free: 15.97 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.986e-05/0.2297, allocations: 0 / 465.9 MB, free: 15.97 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.835e-05/0.2298, allocations: 39.98 kB / 466 MB, free: 15.93 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005519/0.2304, allocations: 149.9 kB / 466.1 MB, free: 15.78 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001947/0.2323, allocations: 1.253 MB / 467.4 MB, free: 14.52 MB / 350.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.007499/0.2399, allocations: 6.493 MB / 473.8 MB, free: 7.656 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001391/0.2413, allocations: 0.9087 MB / 474.8 MB, free: 6.727 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007011/0.242, allocations: 0.5122 MB / 475.3 MB, free: 6.207 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.07e-05/0.242, allocations: 9 kB / 475.3 MB, free: 6.199 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.262e-05/0.2421, allocations: 47.56 kB / 475.3 MB, free: 6.141 MB / 350.1 MB Notification: Performance of pre-optimization done (n=91): time 5.741e-06/0.2421, allocations: 0 / 475.3 MB, free: 6.141 MB / 350.1 MB Notification: Performance of matching and sorting (n=96): time 0.005782/0.2479, allocations: 3.671 MB / 479 MB, free: 2.328 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.153e-05/0.2479, allocations: 94.17 kB / 479.1 MB, free: 2.219 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007549/0.2487, allocations: 0.7272 MB / 479.8 MB, free: 1.48 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 6.162e-05/0.2488, allocations: 45.7 kB / 479.9 MB, free: 1.43 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003351/0.2491, allocations: 0.5535 MB / 480.4 MB, free: 0.8672 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002482/0.2494, allocations: 366.8 kB / 480.8 MB, free: 0.5039 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003048/0.2497, allocations: 238.8 kB / 481 MB, free: 272 kB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001725/0.2499, allocations: 414.7 kB / 481.4 MB, free: 15.85 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008139/0.2507, allocations: 0.5647 MB / 482 MB, free: 15.29 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009963/0.2517, allocations: 0.8892 MB / 482.9 MB, free: 14.26 MB / 366.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.007593/0.2593, allocations: 3.224 MB / 486.1 MB, free: 10.92 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.951e-06/0.2593, allocations: 4 kB / 486.1 MB, free: 10.91 MB / 366.1 MB Notification: Performance of matching and sorting (n=164) (initialization): time 0.005102/0.2644, allocations: 2.737 MB / 488.8 MB, free: 8.156 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.17e-05/0.2645, allocations: 11.94 kB / 488.8 MB, free: 8.145 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.833e-05/0.2645, allocations: 16 kB / 488.9 MB, free: 8.129 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00273/0.2672, allocations: 1.152 MB / 490 MB, free: 6.973 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007136/0.2679, allocations: 207.6 kB / 490.2 MB, free: 6.77 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01483/0.2828, allocations: 11.21 MB / 0.4897 GB, free: 11.29 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007789/0.2836, allocations: 64.02 kB / 0.4897 GB, free: 11.22 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.457e-05/0.2837, allocations: 52 kB / 0.4898 GB, free: 11.17 MB / 382.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.0005841/0.2843, allocations: 397.3 kB / 0.4902 GB, free: 10.77 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001381/0.2844, allocations: 98.78 kB / 0.4902 GB, free: 10.68 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002049/0.2865, allocations: 1.404 MB / 0.4916 GB, free: 9.223 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.695e-06/0.2865, allocations: 8 kB / 0.4916 GB, free: 9.215 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.803e-06/0.2865, allocations: 7.984 kB / 0.4916 GB, free: 9.207 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.338e-06/0.2865, allocations: 7.922 kB / 0.4916 GB, free: 9.199 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003893/0.2904, allocations: 2.668 MB / 0.4942 GB, free: 6.406 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.441e-06/0.2904, allocations: 4 kB / 0.4943 GB, free: 6.402 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001387/0.2918, allocations: 271.6 kB / 0.4945 GB, free: 6.137 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001547/0.292, allocations: 65.73 kB / 0.4946 GB, free: 6.066 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.474e-05/0.2921, allocations: 39.97 kB / 0.4946 GB, free: 6.027 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001681/0.2938, allocations: 2.65 MB / 0.4972 GB, free: 3.113 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.206e-06/0.2938, allocations: 4 kB / 0.4972 GB, free: 3.109 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002428/0.2962, allocations: 1.887 MB / 0.499 GB, free: 1.141 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003534/0.2966, allocations: 255.8 kB / 0.4993 GB, free: 0.8711 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001317/0.2967, allocations: 39.98 kB / 0.4993 GB, free: 0.832 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005347/0.2973, allocations: 43.95 kB / 0.4994 GB, free: 0.7891 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001423/0.2974, allocations: 68.78 kB / 0.4994 GB, free: 0.7227 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.07e-05/0.2975, allocations: 27.98 kB / 0.4995 GB, free: 0.6953 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0005483/0.298, allocations: 499 kB / 0.4999 GB, free: 216 kB / 382.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.298, allocations: 0 / 0.4999 GB, free: 216 kB / 382.1 MB Notification: Performance of remove unused functions: time 0.00113/0.2992, allocations: 380 kB / 0.5003 GB, free: 15.84 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * Number of states: 25 (generator.i[3],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],inertia.phi,inertia.w) * 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 (95): * Single equations (assignments): 92 * 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.0001634/0.2994, allocations: 139 kB / 0.5004 GB, free: 15.7 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.003173/0.3025, allocations: 2.071 MB / 0.5025 GB, free: 13.59 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.745e-06/0.3025, allocations: 1.312 kB / 0.5025 GB, free: 13.59 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009676/0.3035, allocations: 0.7608 MB / 0.5032 GB, free: 12.81 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008893/0.3044, allocations: 207.7 kB / 0.5034 GB, free: 12.61 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005691/0.3101, allocations: 4.647 MB / 0.5079 GB, free: 7.906 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008393/0.311, allocations: 1.306 MB / 0.5092 GB, free: 6.566 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002732/0.3113, allocations: 75.44 kB / 0.5093 GB, free: 6.496 MB / 398.1 MB Notification: Performance of SimCode: time 4.41e-07/0.3113, allocations: 0 / 0.5093 GB, free: 6.496 MB / 398.1 MB Notification: Performance of Templates: time 0.1751/0.4863, allocations: 23.84 MB / 0.5326 GB, free: 79.1 MB / 398.1 MB make -j1 -f PowerSystems_PowerSystems.Examples.Wind.WindTurbine_IG.makefile make -j1 -f PowerSystems_PowerSystems.Examples.Wind.WindTurbine_IG.makefile clang++ -std=c++14 NOTFOUND -Winvalid-pch -O2 -g -DNDEBUG -fPIC -std=c++11 -DBOOST_ALL_DYN_LINK -DUSE_DGESV -DUSE_LOGGER -DOMC_BUILD -DUSE_THREAD -DSUNDIALS_MAJOR_VERSION=5 -DSUNDIALS_MINOR_VERSION=4 -DPMC_USE_SUNDIALS -I"." -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/cpp/" -I. -I"." -I"." -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/include/omc/sundials" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppPowerSystems_PowerSystems.Examples.Wind.WindTurbine_IGCalcHelperMain.o OMCppPowerSystems_PowerSystems.Examples.Wind.WindTurbine_IGCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppPowerSystems_PowerSystems.Examples.Wind.WindTurbine_IGCalcHelperMain.o] Error 1