Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_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 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_PSGR,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.Wind.WindTurbine_PSGR") translateModel(PowerSystems.Examples.Wind.WindTurbine_PSGR,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_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.0009195/0.0009196, allocations: 109.6 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.000859/0.000859, 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.169/1.169, 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.1566/0.1566, allocations: 37.98 MB / 309.3 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.00118/0.001181, allocations: 67.91 kB / 375.3 MB, free: 4.121 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1852/0.1863, allocations: 55.24 MB / 430.5 MB, free: 19.68 MB / 318.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Wind.WindTurbine_PSGR): time 0.008502/0.1949, allocations: 12.97 MB / 443.5 MB, free: 6.652 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.00797/0.2029, allocations: 7.955 MB / 451.4 MB, free: 14.68 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006056/0.2035, allocations: 87.44 kB / 451.5 MB, free: 14.59 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01696/0.2205, allocations: 13.04 MB / 464.6 MB, free: 1.535 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001831/0.2223, allocations: 1.039 MB / 465.6 MB, free: 0.4922 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001177/0.2235, allocations: 0.585 MB / 466.2 MB, free: 15.91 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.004437/0.228, allocations: 5.561 MB / 471.7 MB, free: 10.33 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009912/0.229, allocations: 0.895 MB / 472.6 MB, free: 9.418 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008337/0.2298, allocations: 0.9179 MB / 473.6 MB, free: 8.496 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001366/0.2312, allocations: 1.48 MB / 475 MB, free: 7.012 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001894/0.2314, allocations: 96 kB / 475.1 MB, free: 6.918 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007343/0.2321, allocations: 483.2 kB / 475.6 MB, free: 6.445 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006537/0.2328, allocations: 0.8454 MB / 476.4 MB, free: 5.598 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007631/0.2336, allocations: 0.8976 MB / 477.3 MB, free: 4.695 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001383/0.235, allocations: 1.894 MB / 479.2 MB, free: 2.797 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.527e-06/0.235, allocations: 0 / 479.2 MB, free: 2.797 MB / 350.1 MB Notification: Performance of FrontEnd: time 6.92e-07/0.235, allocations: 0 / 479.2 MB, free: 2.797 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.4e-05/0.235, allocations: 0 / 479.2 MB, free: 2.797 MB / 350.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.003455/0.2385, allocations: 2.158 MB / 481.4 MB, free: 0.5781 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.931e-05/0.2385, allocations: 15.91 kB / 481.4 MB, free: 0.5625 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001493/0.24, allocations: 322.3 kB / 481.7 MB, free: 252 kB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00193/0.2419, allocations: 1.229 MB / 483 MB, free: 14.97 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.016e-05/0.242, allocations: 98.66 kB / 483.1 MB, free: 14.87 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004654/0.2425, allocations: 235.7 kB / 483.3 MB, free: 14.64 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002756/0.2453, allocations: 2.145 MB / 485.4 MB, free: 12.39 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.755e-05/0.2453, allocations: 11.88 kB / 485.4 MB, free: 12.38 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001312/0.2454, allocations: 55.98 kB / 485.5 MB, free: 12.32 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005519/0.246, allocations: 186.7 kB / 485.7 MB, free: 12.14 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002504/0.2485, allocations: 1.756 MB / 487.4 MB, free: 10.38 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.009353/0.2579, allocations: 8.616 MB / 496 MB, free: 1.34 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00211/0.26, allocations: 1.82 MB / 497.9 MB, free: 15.4 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001217/0.2612, allocations: 0.7778 MB / 498.6 MB, free: 14.61 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.997e-05/0.2613, allocations: 16.98 kB / 498.7 MB, free: 14.6 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.723e-05/0.2614, allocations: 43.56 kB / 498.7 MB, free: 14.55 MB / 382.1 MB Notification: Performance of pre-optimization done (n=122): time 2.224e-06/0.2614, allocations: 4 kB / 498.7 MB, free: 14.54 MB / 382.1 MB Notification: Performance of matching and sorting (n=137): time 0.009154/0.2705, allocations: 5.452 MB / 0.4923 GB, free: 8.934 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.242e-05/0.2706, allocations: 94.41 kB / 0.4924 GB, free: 8.824 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001001/0.2716, allocations: 1.033 MB / 0.4934 GB, free: 7.777 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 8.501e-05/0.2717, allocations: 53.64 kB / 0.4935 GB, free: 7.719 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004469/0.2721, allocations: 0.7677 MB / 0.4942 GB, free: 6.938 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003231/0.2725, allocations: 0.5007 MB / 0.4947 GB, free: 6.43 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003984/0.2729, allocations: 315.3 kB / 0.495 GB, free: 6.113 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 8.059e-05/0.273, allocations: 305.1 kB / 0.4953 GB, free: 5.812 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001028/0.274, allocations: 0.7144 MB / 0.496 GB, free: 5.098 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001286/0.2753, allocations: 1.185 MB / 0.4972 GB, free: 3.715 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.01066/0.286, allocations: 4.983 MB / 0.502 GB, free: 14.53 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.653e-06/0.286, allocations: 4 kB / 0.502 GB, free: 14.52 MB / 398.1 MB Notification: Performance of matching and sorting (n=225) (initialization): time 0.006524/0.2925, allocations: 3.596 MB / 0.5056 GB, free: 10.85 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.076e-05/0.2926, allocations: 12 kB / 0.5056 GB, free: 10.84 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.722e-05/0.2926, allocations: 16 kB / 0.5056 GB, free: 10.82 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003594/0.2962, allocations: 1.256 MB / 0.5068 GB, free: 9.547 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001093/0.2973, allocations: 323.5 kB / 0.5071 GB, free: 9.23 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1643/0.4616, allocations: 14.65 MB / 0.5214 GB, free: 83.29 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001133/0.4628, allocations: 79.09 kB / 0.5215 GB, free: 83.27 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001237/0.4629, allocations: 75.38 kB / 0.5216 GB, free: 83.25 MB / 398.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.0007439/0.4637, allocations: 0.514 MB / 0.5221 GB, free: 83 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001824/0.4639, allocations: 140.8 kB / 0.5222 GB, free: 82.99 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002892/0.4668, allocations: 2.14 MB / 0.5243 GB, free: 81.91 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.665e-06/0.4668, allocations: 13.78 kB / 0.5243 GB, free: 81.91 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.102e-06/0.4668, allocations: 3.844 kB / 0.5243 GB, free: 81.91 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.615e-05/0.4668, allocations: 10.92 kB / 0.5243 GB, free: 81.9 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004916/0.4717, allocations: 3.844 MB / 0.5281 GB, free: 80.16 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.632e-06/0.4718, allocations: 6.094 kB / 0.5281 GB, free: 80.16 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001604/0.4734, allocations: 326.5 kB / 0.5284 GB, free: 80.13 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005395/0.4739, allocations: 204.9 kB / 0.5286 GB, free: 80.06 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001102/0.474, allocations: 48.17 kB / 0.5286 GB, free: 80.04 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003462/0.4775, allocations: 7.318 MB / 0.5358 GB, free: 73.16 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.886e-06/0.4775, allocations: 2.375 kB / 0.5358 GB, free: 73.16 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002985/0.4805, allocations: 2.82 MB / 0.5385 GB, free: 71.79 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003693/0.4809, allocations: 337.4 kB / 0.5389 GB, free: 71.66 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000175/0.4811, allocations: 44.27 kB / 0.5389 GB, free: 71.64 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000661/0.4817, allocations: 55.52 kB / 0.539 GB, free: 71.62 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001636/0.4819, allocations: 93.44 kB / 0.539 GB, free: 71.61 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.918e-05/0.482, allocations: 38.66 kB / 0.5391 GB, free: 71.6 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0006115/0.4826, allocations: 0.6997 MB / 0.5398 GB, free: 71.32 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.4826, allocations: 0 / 0.5398 GB, free: 71.32 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.001311/0.4839, allocations: 0.5113 MB / 0.5403 GB, free: 71.27 MB / 398.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.0002842/0.4842, allocations: 176 kB / 0.5404 GB, free: 71.14 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.003298/0.4875, allocations: 2.813 MB / 0.5432 GB, free: 69.7 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.274e-06/0.4875, allocations: 3.938 kB / 0.5432 GB, free: 69.7 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001406/0.489, allocations: 1.37 MB / 0.5445 GB, free: 68.28 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001128/0.4901, allocations: 300.8 kB / 0.5448 GB, free: 68 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005437/0.4955, allocations: 5.84 MB / 0.5505 GB, free: 62.23 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007557/0.4963, allocations: 1.541 MB / 0.552 GB, free: 60.65 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003481/0.4967, allocations: 123.4 kB / 0.5521 GB, free: 60.53 MB / 398.1 MB Notification: Performance of SimCode: time 3.61e-07/0.4967, allocations: 0 / 0.5521 GB, free: 60.53 MB / 398.1 MB Notification: Performance of Templates: time 0.03434/0.531, allocations: 51.6 MB / 0.6025 GB, free: 8.852 MB / 398.1 MB make -j1 -f PowerSystems_PowerSystems.Examples.Wind.WindTurbine_PSGR.makefile make -j1 -f PowerSystems_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_PowerSystems.Examples.Wind.WindTurbine_PSGRCalcHelperMain.o OMCppPowerSystems_PowerSystems.Examples.Wind.WindTurbine_PSGRCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppPowerSystems_PowerSystems.Examples.Wind.WindTurbine_PSGRCalcHelperMain.o] Error 1