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.001282/0.001291, allocations: 94.56 kB / 17.31 MB, free: 5.656 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.002144/0.002144, allocations: 179.9 kB / 18.21 MB, free: 5.25 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.55/1.55, allocations: 223.2 MB / 242.2 MB, free: 232 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.1901/0.1901, allocations: 38.1 MB / 331.5 MB, free: 8.754 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003402/0.0003402, allocations: 8 kB / 401.4 MB, free: 34.18 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1262/0.1266, allocations: 59.16 MB / 460.5 MB, free: 7.09 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Wind.WindTurbine_IG): time 0.0101/0.1368, allocations: 8.853 MB / 469.4 MB, free: 14.2 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01022/0.147, allocations: 5.929 MB / 475.3 MB, free: 8.25 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002059/0.1491, allocations: 51.62 kB / 475.4 MB, free: 8.199 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01007/0.1592, allocations: 4.722 MB / 480.1 MB, free: 3.469 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002501/0.1618, allocations: 0.8018 MB / 480.9 MB, free: 2.664 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001339/0.1631, allocations: 459.2 kB / 481.3 MB, free: 2.215 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.005146/0.1683, allocations: 3.751 MB / 485.1 MB, free: 14.45 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001635/0.1699, allocations: 0.9105 MB / 486 MB, free: 13.51 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001291/0.1713, allocations: 0.6145 MB / 486.6 MB, free: 12.89 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001664/0.1729, allocations: 1.063 MB / 487.7 MB, free: 11.82 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001338/0.1731, allocations: 52 kB / 487.7 MB, free: 11.77 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007939/0.1739, allocations: 327.5 kB / 488 MB, free: 11.45 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006516/0.1745, allocations: 0.6116 MB / 488.6 MB, free: 10.84 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007519/0.1753, allocations: 0.6468 MB / 489.3 MB, free: 10.18 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001391/0.1767, allocations: 1.286 MB / 490.6 MB, free: 8.895 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.005e-06/0.1767, allocations: 4 kB / 490.6 MB, free: 8.891 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.805e-06/0.1767, allocations: 0 / 490.6 MB, free: 8.891 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.878e-05/0.1768, allocations: 0 / 490.6 MB, free: 8.891 MB / 366.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.002998/0.1798, allocations: 1.359 MB / 491.9 MB, free: 7.477 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.464e-05/0.1798, allocations: 8.031 kB / 491.9 MB, free: 7.469 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001215/0.181, allocations: 215.1 kB / 492.2 MB, free: 7.258 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001859/0.1829, allocations: 0.9295 MB / 493.1 MB, free: 6.285 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.197e-05/0.183, allocations: 69.98 kB / 493.2 MB, free: 6.219 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004774/0.1835, allocations: 183.8 kB / 493.3 MB, free: 6.039 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002536/0.186, allocations: 1.571 MB / 494.9 MB, free: 4.387 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.883e-05/0.1861, allocations: 7.906 kB / 494.9 MB, free: 4.379 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001188/0.1862, allocations: 47.92 kB / 495 MB, free: 4.332 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006311/0.1868, allocations: 145.9 kB / 495.1 MB, free: 4.188 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002131/0.189, allocations: 1.265 MB / 496.4 MB, free: 2.914 MB / 366.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.009897/0.1989, allocations: 6.509 MB / 0.4911 GB, free: 12.03 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001605/0.2005, allocations: 0.9205 MB / 0.492 GB, free: 11.08 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008172/0.2014, allocations: 0.5122 MB / 0.4925 GB, free: 10.56 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.929e-05/0.2014, allocations: 9 kB / 0.4925 GB, free: 10.55 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.707e-05/0.2015, allocations: 43.56 kB / 0.4925 GB, free: 10.5 MB / 382.1 MB Notification: Performance of pre-optimization done (n=91): time 3.417e-06/0.2015, allocations: 8 kB / 0.4925 GB, free: 10.49 MB / 382.1 MB Notification: Performance of matching and sorting (n=96): time 0.007165/0.2087, allocations: 3.694 MB / 0.4962 GB, free: 6.66 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.378e-05/0.2088, allocations: 90.08 kB / 0.4962 GB, free: 6.555 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009231/0.2097, allocations: 0.7351 MB / 0.497 GB, free: 5.809 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 7.981e-05/0.2098, allocations: 41.7 kB / 0.497 GB, free: 5.762 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004356/0.2102, allocations: 0.5535 MB / 0.4975 GB, free: 5.199 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003243/0.2106, allocations: 366.8 kB / 0.4979 GB, free: 4.836 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001623/0.2108, allocations: 121.6 kB / 0.498 GB, free: 4.711 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0002185/0.211, allocations: 410.7 kB / 0.4984 GB, free: 4.301 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009528/0.2119, allocations: 0.5726 MB / 0.499 GB, free: 3.73 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001159/0.2131, allocations: 0.8893 MB / 0.4998 GB, free: 2.703 MB / 382.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.2724/0.4855, allocations: 3.26 MB / 0.503 GB, free: 55.63 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.011e-05/0.4855, allocations: 2.562 kB / 0.503 GB, free: 55.63 MB / 382.1 MB Notification: Performance of matching and sorting (n=164) (initialization): time 0.007377/0.4929, allocations: 2.747 MB / 0.5057 GB, free: 55.34 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.087e-05/0.493, allocations: 8.719 kB / 0.5057 GB, free: 55.34 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.137e-05/0.4931, allocations: 9.359 kB / 0.5057 GB, free: 55.34 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003795/0.4969, allocations: 1.156 MB / 0.5068 GB, free: 55.3 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001027/0.4979, allocations: 200.8 kB / 0.507 GB, free: 55.29 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01829/0.5162, allocations: 11.24 MB / 0.518 GB, free: 49.94 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001011/0.5173, allocations: 57.03 kB / 0.5181 GB, free: 49.92 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001236/0.5174, allocations: 55.75 kB / 0.5181 GB, free: 49.91 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 sytem: $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.0007638/0.5182, allocations: 399.2 kB / 0.5185 GB, free: 49.69 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001812/0.5184, allocations: 99.66 kB / 0.5186 GB, free: 49.68 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00213/0.5205, allocations: 1.423 MB / 0.52 GB, free: 48.98 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.285e-05/0.5205, allocations: 11.72 kB / 0.52 GB, free: 48.98 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.759e-06/0.5205, allocations: 0 / 0.52 GB, free: 48.98 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.365e-05/0.5206, allocations: 10.27 kB / 0.52 GB, free: 48.98 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004382/0.5249, allocations: 2.694 MB / 0.5226 GB, free: 47.71 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.651e-06/0.525, allocations: 0 / 0.5226 GB, free: 47.71 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001359/0.5263, allocations: 271.6 kB / 0.5229 GB, free: 47.65 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001803/0.5265, allocations: 61.39 kB / 0.5229 GB, free: 47.61 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.109e-05/0.5266, allocations: 43.62 kB / 0.523 GB, free: 47.59 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001362/0.528, allocations: 2.631 MB / 0.5256 GB, free: 44.89 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.166e-06/0.528, allocations: 3.938 kB / 0.5256 GB, free: 44.88 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002296/0.5303, allocations: 1.907 MB / 0.5274 GB, free: 43.74 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003401/0.5307, allocations: 256.8 kB / 0.5277 GB, free: 43.55 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001205/0.5308, allocations: 34.45 kB / 0.5277 GB, free: 43.53 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000535/0.5313, allocations: 50.61 kB / 0.5277 GB, free: 43.5 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001488/0.5315, allocations: 66.28 kB / 0.5278 GB, free: 43.46 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.739e-05/0.5316, allocations: 32.64 kB / 0.5278 GB, free: 43.45 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0005276/0.5321, allocations: 0.4903 MB / 0.5283 GB, free: 43.18 MB / 382.1 MB Notification: Performance of sort global known variables: time 4e-07/0.5321, allocations: 0 / 0.5283 GB, free: 43.18 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001311/0.5334, allocations: 374.5 kB / 0.5287 GB, free: 43.14 MB / 382.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.0001935/0.5336, allocations: 145.4 kB / 0.5288 GB, free: 43.02 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.003353/0.537, allocations: 2.065 MB / 0.5308 GB, free: 41.17 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.278e-06/0.537, allocations: 0 / 0.5308 GB, free: 41.17 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008966/0.5379, allocations: 0.7723 MB / 0.5316 GB, free: 40.38 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001197/0.5391, allocations: 204.7 kB / 0.5318 GB, free: 40.18 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005497/0.5446, allocations: 5.04 MB / 0.5367 GB, free: 35.09 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007983/0.5454, allocations: 1.306 MB / 0.538 GB, free: 33.75 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000343/0.5458, allocations: 75.42 kB / 0.5381 GB, free: 33.67 MB / 382.1 MB Notification: Performance of SimCode: time 7.01e-07/0.5458, allocations: 0 / 0.5381 GB, free: 33.67 MB / 382.1 MB Notification: Performance of Templates: time 0.0277/0.5735, allocations: 23.72 MB / 0.5612 GB, free: 9.941 MB / 382.1 MB make -j1 -f PowerSystems_latest_PowerSystems.Examples.Wind.WindTurbine_IG.makefile make -j1 -f PowerSystems_latest_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_latest_PowerSystems.Examples.Wind.WindTurbine_IGCalcHelperMain.o OMCppPowerSystems_latest_PowerSystems.Examples.Wind.WindTurbine_IGCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppPowerSystems_latest_PowerSystems.Examples.Wind.WindTurbine_IGCalcHelperMain.o] Error 1