Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.Wind.WindTurbine_PSGR.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_PSGR,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_PSGR") translateModel(PowerSystems.Examples.Wind.WindTurbine_PSGR,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_PSGR") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009339/0.0009336, allocations: 93.44 kB / 17.31 MB, free: 6.531 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.001113/0.001113, allocations: 178.1 kB / 18.21 MB, free: 5.68 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.427/1.427, allocations: 223.2 MB / 242.2 MB, free: 208 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.1876/0.1876, allocations: 38.09 MB / 331.4 MB, free: 8.754 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003335/0.0003334, allocations: 12.94 kB / 401.4 MB, free: 34.16 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1299/0.1303, allocations: 59.16 MB / 460.5 MB, free: 7.066 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Wind.WindTurbine_PSGR): time 0.01391/0.1442, allocations: 12.44 MB / 473 MB, free: 10.57 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01354/0.1578, allocations: 7.77 MB / 480.7 MB, free: 2.777 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002384/0.1602, allocations: 79.44 kB / 480.8 MB, free: 2.699 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01857/0.1788, allocations: 12.5 MB / 493.3 MB, free: 6.18 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003262/0.1821, allocations: 1.055 MB / 494.4 MB, free: 5.121 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001852/0.184, allocations: 0.585 MB / 495 MB, free: 4.535 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.007495/0.1915, allocations: 5.557 MB / 0.4888 GB, free: 14.96 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002642/0.1942, allocations: 1.313 MB / 0.4901 GB, free: 13.59 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001948/0.1962, allocations: 0.8671 MB / 0.4909 GB, free: 12.72 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002416/0.1986, allocations: 1.437 MB / 0.4923 GB, free: 11.28 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002608/0.1989, allocations: 76 kB / 0.4924 GB, free: 11.2 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00115/0.2001, allocations: 451.3 kB / 0.4928 GB, free: 10.76 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0008218/0.2009, allocations: 0.8181 MB / 0.4936 GB, free: 9.941 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001019/0.2019, allocations: 0.8876 MB / 0.4945 GB, free: 9.043 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001941/0.2039, allocations: 1.863 MB / 0.4963 GB, free: 7.176 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.459e-06/0.2039, allocations: 4 kB / 0.4963 GB, free: 7.172 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.554e-06/0.2039, allocations: 0 / 0.4963 GB, free: 7.172 MB / 382.1 MB Notification: Performance of Transformations before backend: time 3.015e-05/0.2039, allocations: 0 / 0.4963 GB, free: 7.172 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: 397 * Number of variables: 397 Notification: Performance of Generate backend data structure: time 0.003784/0.2077, allocations: 1.835 MB / 0.4981 GB, free: 5.277 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.587e-05/0.2078, allocations: 8.031 kB / 0.4981 GB, free: 5.27 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001793/0.2096, allocations: 326.3 kB / 0.4984 GB, free: 4.949 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002472/0.2121, allocations: 1.233 MB / 0.4996 GB, free: 3.668 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.891e-05/0.2122, allocations: 102.7 kB / 0.4997 GB, free: 3.566 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005535/0.2127, allocations: 231.7 kB / 0.4999 GB, free: 3.34 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003555/0.2163, allocations: 2.153 MB / 0.502 GB, free: 1.078 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.971e-05/0.2164, allocations: 11.88 kB / 0.5021 GB, free: 1.066 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001552/0.2165, allocations: 55.98 kB / 0.5021 GB, free: 1.012 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006514/0.2172, allocations: 182.7 kB / 0.5023 GB, free: 0.832 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.2973/0.5145, allocations: 1.767 MB / 0.504 GB, free: 56.97 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.01466/0.5292, allocations: 8.63 MB / 0.5124 GB, free: 52.06 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003189/0.5324, allocations: 1.819 MB / 0.5142 GB, free: 50.98 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001562/0.534, allocations: 0.7719 MB / 0.515 GB, free: 50.73 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.309e-05/0.5341, allocations: 26.2 kB / 0.515 GB, free: 50.72 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.686e-05/0.5342, allocations: 44.41 kB / 0.515 GB, free: 50.68 MB / 382.1 MB Notification: Performance of pre-optimization done (n=122): time 3.366e-06/0.5342, allocations: 1.219 kB / 0.515 GB, free: 50.68 MB / 382.1 MB Notification: Performance of matching and sorting (n=137): time 0.01282/0.547, allocations: 5.487 MB / 0.5204 GB, free: 48.05 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.832e-05/0.5472, allocations: 92.91 kB / 0.5205 GB, free: 47.95 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001601/0.5488, allocations: 1.042 MB / 0.5215 GB, free: 47.54 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001061/0.5489, allocations: 51.02 kB / 0.5215 GB, free: 47.49 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005311/0.5494, allocations: 0.7643 MB / 0.5223 GB, free: 46.89 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003954/0.5498, allocations: 0.4958 MB / 0.5228 GB, free: 46.51 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002347/0.5501, allocations: 163.2 kB / 0.5229 GB, free: 46.43 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 5.967e-05/0.5501, allocations: 305.1 kB / 0.5232 GB, free: 46.13 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001314/0.5515, allocations: 0.7267 MB / 0.5239 GB, free: 45.89 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0013/0.5528, allocations: 1.186 MB / 0.5251 GB, free: 44.97 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.01184/0.5646, allocations: 5.016 MB / 0.53 GB, free: 42.25 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.041e-05/0.5647, allocations: 7.281 kB / 0.53 GB, free: 42.25 MB / 382.1 MB Notification: Performance of matching and sorting (n=225) (initialization): time 0.007333/0.572, allocations: 3.603 MB / 0.5335 GB, free: 39.05 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.67e-05/0.5721, allocations: 12 kB / 0.5335 GB, free: 39.04 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.039e-05/0.5721, allocations: 14.59 kB / 0.5335 GB, free: 39.02 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003508/0.5756, allocations: 1.259 MB / 0.5348 GB, free: 37.75 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001229/0.5769, allocations: 326.7 kB / 0.5351 GB, free: 37.44 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01726/0.5942, allocations: 14.69 MB / 0.5494 GB, free: 22.1 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001692/0.5959, allocations: 72.73 kB / 0.5495 GB, free: 22.03 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001623/0.5961, allocations: 75.98 kB / 0.5496 GB, free: 21.96 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 5.051577893736758e-05 * $DER.generator.i_s[3] = 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: 63 * 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 (155): * Single equations (assignments): 150 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * 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): 3 systems {(1,1,100.0%), (1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(5,23), (21,20)} Notification: Performance of prepare postOptimizeDAE: time 0.001061/0.5972, allocations: 0.5245 MB / 0.5501 GB, free: 21.43 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002596/0.5974, allocations: 134.3 kB / 0.5502 GB, free: 21.29 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003005/0.6004, allocations: 2.154 MB / 0.5523 GB, free: 19.04 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.113e-05/0.6005, allocations: 15.94 kB / 0.5523 GB, free: 19.02 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.466e-06/0.6005, allocations: 7.5 kB / 0.5523 GB, free: 19.02 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.227e-05/0.6005, allocations: 7.969 kB / 0.5523 GB, free: 19.01 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00565/0.6061, allocations: 3.862 MB / 0.5561 GB, free: 15.02 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.593e-06/0.6062, allocations: 0 / 0.5561 GB, free: 15.02 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001473/0.6077, allocations: 331.5 kB / 0.5564 GB, free: 14.7 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004945/0.6082, allocations: 208.2 kB / 0.5566 GB, free: 14.48 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001071/0.6083, allocations: 47.97 kB / 0.5567 GB, free: 14.43 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004231/0.6125, allocations: 7.311 MB / 0.5638 GB, free: 6.449 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.753e-06/0.6126, allocations: 11.91 kB / 0.5638 GB, free: 6.438 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003684/0.6162, allocations: 2.833 MB / 0.5666 GB, free: 3.473 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006793/0.6169, allocations: 338.4 kB / 0.5669 GB, free: 3.125 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000177/0.6171, allocations: 43.98 kB / 0.567 GB, free: 3.082 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007474/0.6179, allocations: 59.94 kB / 0.567 GB, free: 3.023 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002493/0.6181, allocations: 101.1 kB / 0.5671 GB, free: 2.926 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.013e-05/0.6182, allocations: 39.98 kB / 0.5671 GB, free: 2.887 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0008456/0.6191, allocations: 0.6931 MB / 0.5678 GB, free: 2.188 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.6191, allocations: 0 / 0.5678 GB, free: 2.188 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001989/0.6211, allocations: 0.5115 MB / 0.5683 GB, free: 1.68 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 25 (inertia.phi,inertia.w,generator.i_s[1],generator.i_s[2],generator.i_s[3],generator.i_rd[1],generator.i_rq[1],meterDC.pav,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]) * 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 (126): * Single equations (assignments): 120 * 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.0003865/0.6215, allocations: 178.6 kB / 0.5685 GB, free: 1.508 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.004856/0.6264, allocations: 2.823 MB / 0.5712 GB, free: 14.63 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 6.482e-06/0.6264, allocations: 0 / 0.5712 GB, free: 14.63 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002192/0.6286, allocations: 1.387 MB / 0.5726 GB, free: 13.18 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002042/0.6306, allocations: 303.5 kB / 0.5729 GB, free: 12.88 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009193/0.6399, allocations: 6.222 MB / 0.579 GB, free: 6.598 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001348/0.6412, allocations: 1.545 MB / 0.5805 GB, free: 5.023 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006989/0.642, allocations: 115.4 kB / 0.5806 GB, free: 4.914 MB / 398.1 MB Notification: Performance of SimCode: time 1.112e-06/0.642, allocations: 4 kB / 0.5806 GB, free: 4.91 MB / 398.1 MB Notification: Performance of Templates: time 0.06832/0.7103, allocations: 51.42 MB / 0.6308 GB, free: 1.484 MB / 446.1 MB make -j1 -f PowerSystems_latest_PowerSystems.Examples.Wind.WindTurbine_PSGR.makefile make -j1 -f PowerSystems_latest_PowerSystems.Examples.Wind.WindTurbine_PSGR.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_PSGRCalcHelperMain.o OMCppPowerSystems_latest_PowerSystems.Examples.Wind.WindTurbine_PSGRCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppPowerSystems_latest_PowerSystems.Examples.Wind.WindTurbine_PSGRCalcHelperMain.o] Error 1