Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.Wind.WindTurbine_PSGI.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_PSGI,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_PSGI") translateModel(PowerSystems.Examples.Wind.WindTurbine_PSGI,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_PSGI") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000807/0.0008069, allocations: 93.25 kB / 17.31 MB, free: 5.59 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.000855/0.000855, allocations: 178.3 kB / 18.21 MB, free: 5.191 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.485/1.485, allocations: 223.2 MB / 242.2 MB, free: 192 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.1872/0.1872, allocations: 38.08 MB / 331.4 MB, free: 8.832 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004637/0.0004637, allocations: 13.27 kB / 401.4 MB, free: 34.17 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.141/0.1415, allocations: 59.16 MB / 460.5 MB, free: 7.078 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Wind.WindTurbine_PSGI): time 0.01344/0.155, allocations: 12.5 MB / 473 MB, free: 10.52 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01575/0.1708, allocations: 7.766 MB / 480.8 MB, free: 2.734 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002808/0.1737, allocations: 91.38 kB / 480.9 MB, free: 2.645 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.02067/0.1944, allocations: 12.5 MB / 493.4 MB, free: 6.129 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003965/0.1984, allocations: 1.074 MB / 494.5 MB, free: 5.051 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002302/0.2007, allocations: 0.6201 MB / 495.1 MB, free: 4.43 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.009066/0.2098, allocations: 5.65 MB / 0.489 GB, free: 14.77 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003671/0.2136, allocations: 1.27 MB / 0.4902 GB, free: 13.44 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002543/0.2161, allocations: 0.9139 MB / 0.4911 GB, free: 12.52 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002538/0.2187, allocations: 1.464 MB / 0.4925 GB, free: 11.05 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003039/0.219, allocations: 80 kB / 0.4926 GB, free: 10.98 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001319/0.2203, allocations: 459.2 kB / 0.4931 GB, free: 10.53 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0009672/0.2213, allocations: 0.8298 MB / 0.4939 GB, free: 9.695 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001142/0.2225, allocations: 0.9186 MB / 0.4948 GB, free: 8.766 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002427/0.2249, allocations: 1.894 MB / 0.4966 GB, free: 6.867 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.745e-06/0.2249, allocations: 0 / 0.4966 GB, free: 6.867 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.863e-06/0.2249, allocations: 0 / 0.4966 GB, free: 6.867 MB / 382.1 MB Notification: Performance of Transformations before backend: time 3.117e-05/0.225, allocations: 0 / 0.4966 GB, free: 6.867 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 409 * Number of variables: 409 Notification: Performance of Generate backend data structure: time 0.004454/0.2294, allocations: 1.897 MB / 0.4985 GB, free: 4.91 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.192e-05/0.2295, allocations: 16.02 kB / 0.4985 GB, free: 4.895 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001952/0.2314, allocations: 334.3 kB / 0.4988 GB, free: 4.566 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003068/0.2345, allocations: 1.28 MB / 0.5001 GB, free: 3.238 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.511e-05/0.2346, allocations: 102.7 kB / 0.5002 GB, free: 3.137 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006442/0.2353, allocations: 235.8 kB / 0.5004 GB, free: 2.906 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003982/0.2393, allocations: 2.196 MB / 0.5025 GB, free: 0.6055 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.462e-05/0.2394, allocations: 11.89 kB / 0.5025 GB, free: 0.5938 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001647/0.2395, allocations: 55.98 kB / 0.5026 GB, free: 0.5391 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006633/0.2402, allocations: 190.8 kB / 0.5028 GB, free: 360 kB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.3076/0.5478, allocations: 1.838 MB / 0.5046 GB, free: 47.61 MB / 382.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.01437/0.5622, allocations: 8.577 MB / 0.5129 GB, free: 43.77 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002701/0.5649, allocations: 1.908 MB / 0.5148 GB, free: 43.14 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001562/0.5665, allocations: 0.8187 MB / 0.5156 GB, free: 43.11 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001064/0.5666, allocations: 17.98 kB / 0.5156 GB, free: 43.11 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.888e-05/0.5667, allocations: 48 kB / 0.5157 GB, free: 43.07 MB / 382.1 MB Notification: Performance of pre-optimization done (n=130): time 3.827e-06/0.5667, allocations: 0 / 0.5157 GB, free: 43.07 MB / 382.1 MB Notification: Performance of matching and sorting (n=145): time 0.01451/0.5812, allocations: 6.005 MB / 0.5215 GB, free: 40.4 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.153e-05/0.5813, allocations: 93.38 kB / 0.5216 GB, free: 40.31 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001471/0.5828, allocations: 1.069 MB / 0.5227 GB, free: 39.9 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 9.213e-05/0.5829, allocations: 50.89 kB / 0.5227 GB, free: 39.85 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004443/0.5833, allocations: 0.7805 MB / 0.5235 GB, free: 39.24 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000319/0.5837, allocations: 0.5289 MB / 0.524 GB, free: 38.83 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001825/0.5838, allocations: 156.1 kB / 0.5241 GB, free: 38.76 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 5.715e-05/0.5839, allocations: 303.5 kB / 0.5244 GB, free: 38.46 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001082/0.585, allocations: 0.7478 MB / 0.5252 GB, free: 38.23 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001419/0.5864, allocations: 1.233 MB / 0.5264 GB, free: 37.41 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.009681/0.5961, allocations: 4.349 MB / 0.5306 GB, free: 35.51 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.235e-05/0.5961, allocations: 6.969 kB / 0.5306 GB, free: 35.51 MB / 382.1 MB Notification: Performance of matching and sorting (n=237) (initialization): time 0.007179/0.6033, allocations: 3.989 MB / 0.5345 GB, free: 32.93 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.78e-05/0.6034, allocations: 14.5 kB / 0.5345 GB, free: 32.91 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.795e-05/0.6034, allocations: 18.31 kB / 0.5345 GB, free: 32.9 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003619/0.607, allocations: 1.452 MB / 0.536 GB, free: 31.43 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001002/0.6081, allocations: 291.6 kB / 0.5362 GB, free: 31.14 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01874/0.6268, allocations: 19.18 MB / 0.555 GB, free: 11.05 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001631/0.6285, allocations: 87.84 kB / 0.5551 GB, free: 10.96 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001628/0.6287, allocations: 80 kB / 0.5551 GB, free: 10.89 MB / 382.1 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 $DER.PI.x = 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: 66 * 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 (144): * Single equations (assignments): 137 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 7 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 5 systems {(1,1,100.0%), (1,1,100.0%), (1,2,100.0%), (1,1,100.0%), (1,23,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(4,22), (21,20)} Notification: Performance of prepare postOptimizeDAE: time 0.001209/0.6299, allocations: 0.521 MB / 0.5556 GB, free: 10.36 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002664/0.6302, allocations: 150.2 kB / 0.5558 GB, free: 10.21 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002986/0.6331, allocations: 2.224 MB / 0.558 GB, free: 7.883 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.171e-05/0.6332, allocations: 15.94 kB / 0.558 GB, free: 7.867 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.484e-06/0.6332, allocations: 4 kB / 0.558 GB, free: 7.863 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.343e-05/0.6332, allocations: 7.969 kB / 0.558 GB, free: 7.855 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005675/0.6389, allocations: 4.002 MB / 0.5619 GB, free: 3.711 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.686e-06/0.6389, allocations: 7.984 kB / 0.5619 GB, free: 3.703 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001544/0.6405, allocations: 335.9 kB / 0.5622 GB, free: 3.375 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004914/0.641, allocations: 219.9 kB / 0.5624 GB, free: 3.145 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001049/0.6411, allocations: 51.81 kB / 0.5625 GB, free: 3.098 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005207/0.6463, allocations: 7.305 MB / 0.5696 GB, free: 11.13 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.535e-06/0.6463, allocations: 3.938 kB / 0.5696 GB, free: 11.12 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004877/0.6512, allocations: 2.948 MB / 0.5725 GB, free: 8.043 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007357/0.652, allocations: 343.1 kB / 0.5728 GB, free: 7.688 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001939/0.6522, allocations: 43.98 kB / 0.5729 GB, free: 7.645 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007954/0.653, allocations: 63.94 kB / 0.5729 GB, free: 7.582 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002485/0.6532, allocations: 109 kB / 0.573 GB, free: 7.477 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.961e-05/0.6533, allocations: 39.98 kB / 0.5731 GB, free: 7.438 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.001148/0.6545, allocations: 0.71 MB / 0.5738 GB, free: 6.723 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.6545, allocations: 0 / 0.5738 GB, free: 6.723 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.002271/0.6568, allocations: 0.5474 MB / 0.5743 GB, free: 6.18 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 26 (inertia.phi,inertia.w,meterDC.pav,generator.i_s[1],generator.i_s[2],generator.i_s[3],generator.i_rd[1],generator.i_rq[1],inverter2.vDC1,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],PI.x) * 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 (137): * Single equations (assignments): 131 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 5 systems {(1,1,100.0%), (1,1,100.0%), (1,8,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.0004126/0.6572, allocations: 183 kB / 0.5745 GB, free: 5.996 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.005542/0.6627, allocations: 3.22 MB / 0.5776 GB, free: 2.699 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 7.243e-06/0.6628, allocations: 4 kB / 0.5776 GB, free: 2.695 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002143/0.6649, allocations: 1.418 MB / 0.579 GB, free: 1.223 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001828/0.6667, allocations: 333.9 kB / 0.5793 GB, free: 0.8984 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008887/0.6756, allocations: 6.392 MB / 0.5856 GB, free: 10.45 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001467/0.6771, allocations: 1.581 MB / 0.5871 GB, free: 8.836 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004366/0.6776, allocations: 119.4 kB / 0.5872 GB, free: 8.719 MB / 414.1 MB Notification: Performance of SimCode: time 9.02e-07/0.6776, allocations: 2.516 kB / 0.5872 GB, free: 8.719 MB / 414.1 MB Notification: Performance of Templates: time 0.07131/0.7489, allocations: 58.79 MB / 0.6446 GB, free: 13.98 MB / 478.1 MB make -j1 -f PowerSystems_latest_PowerSystems.Examples.Wind.WindTurbine_PSGI.makefile make -j1 -f PowerSystems_latest_PowerSystems.Examples.Wind.WindTurbine_PSGI.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_PSGICalcHelperMain.o OMCppPowerSystems_latest_PowerSystems.Examples.Wind.WindTurbine_PSGICalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppPowerSystems_latest_PowerSystems.Examples.Wind.WindTurbine_PSGICalcHelperMain.o] Error 1