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.0009577/0.0009578, allocations: 109.7 kB / 17.16 MB, free: 6.328 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.0009493/0.0009491, allocations: 202.9 kB / 18.08 MB, free: 5.422 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.378/1.378, allocations: 222.9 MB / 241.7 MB, free: 13.76 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.1851/0.1851, allocations: 38.04 MB / 329.9 MB, free: 8.859 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001151/0.001152, allocations: 56 kB / 398.7 MB, free: 34.52 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1267/0.1279, allocations: 58.06 MB / 456.8 MB, free: 8.531 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Wind.WindTurbine_PSGR): time 0.01343/0.1413, allocations: 12.97 MB / 469.8 MB, free: 11.5 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0126/0.154, allocations: 7.905 MB / 477.7 MB, free: 3.57 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002143/0.1562, allocations: 83.44 kB / 477.8 MB, free: 3.488 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.02054/0.1768, allocations: 13.03 MB / 490.8 MB, free: 6.441 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003871/0.1807, allocations: 1.058 MB / 491.8 MB, free: 5.379 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001915/0.1826, allocations: 0.5811 MB / 492.4 MB, free: 4.797 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.007621/0.1902, allocations: 5.557 MB / 498 MB, free: 15.22 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002041/0.1923, allocations: 0.8949 MB / 498.9 MB, free: 14.3 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002194/0.1946, allocations: 0.9218 MB / 499.8 MB, free: 13.38 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002678/0.1973, allocations: 1.48 MB / 0.4895 GB, free: 11.89 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006376/0.1979, allocations: 96 kB / 0.4896 GB, free: 11.8 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001657/0.1996, allocations: 479.2 kB / 0.4901 GB, free: 11.33 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001469/0.2011, allocations: 0.8493 MB / 0.4909 GB, free: 10.48 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002244/0.2033, allocations: 0.8976 MB / 0.4918 GB, free: 9.574 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002519/0.2059, allocations: 1.894 MB / 0.4936 GB, free: 7.676 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.692e-06/0.2059, allocations: 4 kB / 0.4936 GB, free: 7.672 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.042e-06/0.2059, allocations: 0 / 0.4936 GB, free: 7.672 MB / 382.1 MB Notification: Performance of Transformations before backend: time 3.299e-05/0.206, allocations: 0 / 0.4936 GB, free: 7.672 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.004442/0.2104, allocations: 2.15 MB / 0.4957 GB, free: 5.461 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.901e-05/0.2105, allocations: 8.031 kB / 0.4957 GB, free: 5.453 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001655/0.2121, allocations: 322.4 kB / 0.4961 GB, free: 5.137 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002293/0.2144, allocations: 1.237 MB / 0.4973 GB, free: 3.852 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.805e-05/0.2145, allocations: 102.7 kB / 0.4974 GB, free: 3.75 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005116/0.215, allocations: 227.8 kB / 0.4976 GB, free: 3.527 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003121/0.2182, allocations: 2.149 MB / 0.4997 GB, free: 1.27 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.583e-05/0.2182, allocations: 19.77 kB / 0.4997 GB, free: 1.25 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00014/0.2184, allocations: 59.97 kB / 0.4997 GB, free: 1.191 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000583/0.219, allocations: 182.7 kB / 0.4999 GB, free: 1.012 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.2623/0.4813, allocations: 1.751 MB / 0.5016 GB, free: 57.5 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.01393/0.4953, allocations: 8.619 MB / 0.51 GB, free: 52.38 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002819/0.4981, allocations: 1.818 MB / 0.5118 GB, free: 51.31 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001535/0.4997, allocations: 0.7778 MB / 0.5126 GB, free: 51.05 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.971e-05/0.4998, allocations: 20.19 kB / 0.5126 GB, free: 51.05 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.661e-05/0.4998, allocations: 48.98 kB / 0.5127 GB, free: 51 MB / 382.1 MB Notification: Performance of pre-optimization done (n=122): time 5.4e-06/0.4998, allocations: 0.6094 kB / 0.5127 GB, free: 51 MB / 382.1 MB Notification: Performance of matching and sorting (n=137): time 0.01226/0.5121, allocations: 5.444 MB / 0.518 GB, free: 48.36 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.674e-05/0.5122, allocations: 95.95 kB / 0.5181 GB, free: 48.26 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001806/0.5141, allocations: 1.034 MB / 0.5191 GB, free: 47.86 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 9.511e-05/0.5142, allocations: 50.17 kB / 0.5191 GB, free: 47.81 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005667/0.5147, allocations: 0.7696 MB / 0.5199 GB, free: 47.21 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004608/0.5152, allocations: 0.4955 MB / 0.5204 GB, free: 46.83 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005073/0.5157, allocations: 315.5 kB / 0.5207 GB, free: 46.68 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 6.606e-05/0.5158, allocations: 305.1 kB / 0.5209 GB, free: 46.38 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00124/0.517, allocations: 0.7247 MB / 0.5217 GB, free: 46.16 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001512/0.5186, allocations: 1.182 MB / 0.5228 GB, free: 45.37 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.5304, allocations: 4.986 MB / 0.5277 GB, free: 42.81 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.209e-05/0.5305, allocations: 3.969 kB / 0.5277 GB, free: 42.81 MB / 382.1 MB Notification: Performance of matching and sorting (n=225) (initialization): time 0.006711/0.5372, allocations: 3.602 MB / 0.5312 GB, free: 40.75 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.407e-05/0.5373, allocations: 11.53 kB / 0.5312 GB, free: 40.75 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.282e-05/0.5373, allocations: 15.44 kB / 0.5312 GB, free: 40.75 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003576/0.5409, allocations: 1.254 MB / 0.5324 GB, free: 39.55 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001252/0.5421, allocations: 319.5 kB / 0.5328 GB, free: 39.24 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01537/0.5575, allocations: 14.65 MB / 0.5471 GB, free: 23.95 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001488/0.5591, allocations: 76.08 kB / 0.5471 GB, free: 23.88 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001298/0.5592, allocations: 79.19 kB / 0.5472 GB, free: 23.8 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 system: 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.0009451/0.5601, allocations: 0.5283 MB / 0.5477 GB, free: 23.27 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002267/0.5604, allocations: 134.3 kB / 0.5479 GB, free: 23.14 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002741/0.5631, allocations: 2.146 MB / 0.5499 GB, free: 20.89 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.938e-06/0.5632, allocations: 16 kB / 0.55 GB, free: 20.87 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.78e-06/0.5632, allocations: 3.062 kB / 0.55 GB, free: 20.87 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.185e-05/0.5632, allocations: 11.97 kB / 0.55 GB, free: 20.86 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005168/0.5684, allocations: 3.833 MB / 0.5537 GB, free: 16.89 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.871e-06/0.5684, allocations: 0 / 0.5537 GB, free: 16.89 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001458/0.5698, allocations: 319.9 kB / 0.554 GB, free: 16.58 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004975/0.5703, allocations: 221 kB / 0.5542 GB, free: 16.35 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001318/0.5705, allocations: 47.97 kB / 0.5543 GB, free: 16.3 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004204/0.5747, allocations: 7.304 MB / 0.5614 GB, free: 8.336 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.838e-06/0.5747, allocations: 7.969 kB / 0.5614 GB, free: 8.328 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003659/0.5784, allocations: 2.824 MB / 0.5642 GB, free: 5.375 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000759/0.5792, allocations: 339.1 kB / 0.5645 GB, free: 5.023 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003602/0.5795, allocations: 43.98 kB / 0.5645 GB, free: 4.98 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009598/0.5805, allocations: 55.94 kB / 0.5646 GB, free: 4.926 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002246/0.5807, allocations: 93.12 kB / 0.5647 GB, free: 4.836 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001013/0.5808, allocations: 39.98 kB / 0.5647 GB, free: 4.797 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.001136/0.582, allocations: 0.697 MB / 0.5654 GB, free: 4.094 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.582, allocations: 0 / 0.5654 GB, free: 4.094 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.002264/0.5843, allocations: 0.5013 MB / 0.5659 GB, free: 3.594 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.0004208/0.5847, allocations: 185.3 kB / 0.5661 GB, free: 3.422 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.004505/0.5892, allocations: 2.812 MB / 0.5688 GB, free: 0.5508 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.318e-06/0.5892, allocations: 3.938 kB / 0.5688 GB, free: 0.5469 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002051/0.5913, allocations: 1.373 MB / 0.5702 GB, free: 15.11 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001763/0.5931, allocations: 308.6 kB / 0.5705 GB, free: 14.82 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01023/0.6033, allocations: 5.829 MB / 0.5761 GB, free: 8.949 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001856/0.6052, allocations: 1.547 MB / 0.5777 GB, free: 7.371 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005379/0.6057, allocations: 119.4 kB / 0.5778 GB, free: 7.258 MB / 398.1 MB Notification: Performance of SimCode: time 1.223e-06/0.6058, allocations: 0 / 0.5778 GB, free: 7.258 MB / 398.1 MB Notification: Performance of Templates: time 0.0712/0.677, allocations: 51.6 MB / 0.6282 GB, free: 3.656 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