Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.Wind.WindTurbine_DFIG.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_DFIG,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.Wind.WindTurbine_DFIG") translateModel(PowerSystems.Examples.Wind.WindTurbine_DFIG,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.Wind.WindTurbine_DFIG") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009266/0.0009267, allocations: 109.7 kB / 17.16 MB, free: 6.324 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.0008838/0.0008838, 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 3.2.3+maint.om/package.mo): time 1.182/1.182, 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.1558/0.1558, allocations: 37.99 MB / 309.2 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.001164/0.001164, allocations: 67.03 kB / 375.3 MB, free: 4.121 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1867/0.1879, allocations: 55.25 MB / 430.5 MB, free: 19.7 MB / 318.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Wind.WindTurbine_DFIG): time 0.008375/0.1963, allocations: 12.63 MB / 443.1 MB, free: 7.016 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.007942/0.2042, allocations: 7.077 MB / 450.2 MB, free: 15.91 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001/0.2053, allocations: 91.44 kB / 450.3 MB, free: 15.82 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.008901/0.2142, allocations: 5.394 MB / 455.7 MB, free: 10.42 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00212/0.2163, allocations: 1.008 MB / 456.7 MB, free: 9.41 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001284/0.2176, allocations: 0.585 MB / 457.3 MB, free: 8.824 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.004147/0.2217, allocations: 4.706 MB / 462 MB, free: 4.109 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00108/0.2228, allocations: 0.9105 MB / 462.9 MB, free: 3.172 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001034/0.2239, allocations: 0.9024 MB / 463.8 MB, free: 2.266 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00142/0.2253, allocations: 1.421 MB / 465.2 MB, free: 0.8398 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001807/0.2255, allocations: 96 kB / 465.3 MB, free: 0.7461 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006926/0.2262, allocations: 379.5 kB / 465.7 MB, free: 384 kB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006384/0.2269, allocations: 0.8104 MB / 466.5 MB, free: 15.56 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007741/0.2276, allocations: 0.8744 MB / 467.4 MB, free: 14.68 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001324/0.229, allocations: 1.715 MB / 469.1 MB, free: 12.96 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.689e-06/0.229, allocations: 4 kB / 469.1 MB, free: 12.96 MB / 350.1 MB Notification: Performance of FrontEnd: time 7.21e-07/0.229, allocations: 3.938 kB / 469.1 MB, free: 12.96 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.617e-05/0.229, allocations: 4 kB / 469.1 MB, free: 12.95 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: 392 * Number of variables: 392 Notification: Performance of Generate backend data structure: time 0.003556/0.2326, allocations: 2.052 MB / 471.2 MB, free: 10.84 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.313e-05/0.2326, allocations: 12.03 kB / 471.2 MB, free: 10.83 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001295/0.2339, allocations: 282.5 kB / 471.4 MB, free: 10.55 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001915/0.2358, allocations: 1.159 MB / 472.6 MB, free: 9.348 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.255e-05/0.2359, allocations: 102.6 kB / 472.7 MB, free: 9.246 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004275/0.2364, allocations: 223.8 kB / 472.9 MB, free: 9.027 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002724/0.2391, allocations: 2.111 MB / 475 MB, free: 6.816 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.665e-05/0.2391, allocations: 7.906 kB / 475 MB, free: 6.809 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001237/0.2393, allocations: 55.98 kB / 475.1 MB, free: 6.754 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005685/0.2398, allocations: 182.7 kB / 475.3 MB, free: 6.574 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002466/0.2423, allocations: 1.709 MB / 477 MB, free: 4.859 MB / 350.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.009289/0.2516, allocations: 7.957 MB / 484.9 MB, free: 12.56 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00216/0.2538, allocations: 1.635 MB / 486.6 MB, free: 10.84 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009679/0.2548, allocations: 0.6567 MB / 487.2 MB, free: 10.18 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.987e-05/0.2549, allocations: 21 kB / 487.2 MB, free: 10.16 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.278e-05/0.2549, allocations: 43.56 kB / 487.3 MB, free: 10.11 MB / 366.1 MB Notification: Performance of pre-optimization done (n=127): time 3.086e-06/0.2549, allocations: 0 / 487.3 MB, free: 10.11 MB / 366.1 MB Notification: Performance of matching and sorting (n=138): time 0.008445/0.2634, allocations: 5.092 MB / 492.4 MB, free: 4.828 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.941e-05/0.2635, allocations: 94.36 kB / 492.5 MB, free: 4.719 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00102/0.2645, allocations: 0.9309 MB / 493.4 MB, free: 3.77 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 7.622e-05/0.2646, allocations: 49.7 kB / 493.5 MB, free: 3.715 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004655/0.2651, allocations: 0.721 MB / 494.2 MB, free: 2.98 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003498/0.2654, allocations: 0.4929 MB / 494.7 MB, free: 2.48 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004003/0.2658, allocations: 311.3 kB / 495 MB, free: 2.172 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 8.592e-05/0.2659, allocations: 305.2 kB / 495.3 MB, free: 1.871 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001013/0.2669, allocations: 0.7066 MB / 496 MB, free: 1.164 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001276/0.2682, allocations: 1.155 MB / 497.1 MB, free: 15.82 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.008957/0.2772, allocations: 4.074 MB / 0.4895 GB, free: 11.57 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.306e-05/0.2772, allocations: 4 kB / 0.4895 GB, free: 11.57 MB / 382.1 MB Notification: Performance of matching and sorting (n=222) (initialization): time 0.006024/0.2833, allocations: 3.355 MB / 0.4927 GB, free: 8.172 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.465e-05/0.2833, allocations: 12 kB / 0.4928 GB, free: 8.16 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.186e-05/0.2833, allocations: 12.05 kB / 0.4928 GB, free: 8.148 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002737/0.2861, allocations: 1.198 MB / 0.4939 GB, free: 6.938 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001163/0.2873, allocations: 303.5 kB / 0.4942 GB, free: 6.641 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01625/0.3035, allocations: 13.8 MB / 0.5077 GB, free: 8.289 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0011/0.3047, allocations: 75.95 kB / 0.5078 GB, free: 8.215 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001343/0.3048, allocations: 75.92 kB / 0.5078 GB, free: 8.141 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 $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: 60 * 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 (146): * Single equations (assignments): 142 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * 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,18,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(3,15), (21,20)} Notification: Performance of prepare postOptimizeDAE: time 0.000819/0.3056, allocations: 0.4933 MB / 0.5083 GB, free: 7.637 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00019/0.3058, allocations: 130.4 kB / 0.5084 GB, free: 7.508 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002937/0.3088, allocations: 2.014 MB / 0.5104 GB, free: 5.422 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.041e-05/0.3088, allocations: 16 kB / 0.5104 GB, free: 5.406 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.884e-06/0.3088, allocations: 4 kB / 0.5104 GB, free: 5.402 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.264e-05/0.3088, allocations: 7.969 kB / 0.5104 GB, free: 5.395 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005616/0.3144, allocations: 3.759 MB / 0.5141 GB, free: 1.453 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.854e-06/0.3145, allocations: 7.984 kB / 0.5141 GB, free: 1.445 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001506/0.316, allocations: 319.6 kB / 0.5144 GB, free: 1.133 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000475/0.3165, allocations: 199.4 kB / 0.5146 GB, free: 0.9258 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.767e-05/0.3166, allocations: 47.92 kB / 0.5147 GB, free: 0.8789 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.1742/0.4907, allocations: 6.137 MB / 0.5207 GB, free: 81.68 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.479e-06/0.4908, allocations: 4.125 kB / 0.5207 GB, free: 81.68 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003823/0.4946, allocations: 2.711 MB / 0.5233 GB, free: 80.88 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005381/0.4952, allocations: 317.3 kB / 0.5236 GB, free: 80.75 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001662/0.4953, allocations: 47.86 kB / 0.5237 GB, free: 80.73 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006658/0.496, allocations: 55.03 kB / 0.5237 GB, free: 80.71 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002323/0.4963, allocations: 111.5 kB / 0.5238 GB, free: 80.69 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.011e-05/0.4963, allocations: 40.52 kB / 0.5239 GB, free: 80.68 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0007744/0.4971, allocations: 0.6228 MB / 0.5245 GB, free: 80.43 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4971, allocations: 0 / 0.5245 GB, free: 80.43 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.001415/0.4986, allocations: 488.9 kB / 0.5249 GB, free: 80.38 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * Number of states: 26 (generator.i[3],generator.psi_s[1],generator.psi_s[2],generator.psi_rd[1],generator.psi_rq[1],generator.phiRotor,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],inertia.phi,inertia.w,meterDC.pav,inverter2.vDC1) * 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 (129): * Single equations (assignments): 124 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(1,10,100.0%), (1,1,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.0001731/0.4987, allocations: 164.3 kB / 0.5251 GB, free: 80.26 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.003941/0.5027, allocations: 2.673 MB / 0.5277 GB, free: 79.07 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 4.528e-06/0.5027, allocations: 5.156 kB / 0.5277 GB, free: 79.06 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00179/0.5045, allocations: 1.232 MB / 0.5289 GB, free: 78.37 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001227/0.5057, allocations: 307.6 kB / 0.5292 GB, free: 78.27 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005874/0.5116, allocations: 5.701 MB / 0.5348 GB, free: 75.01 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000798/0.5124, allocations: 1.524 MB / 0.5362 GB, free: 74.2 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003192/0.5128, allocations: 101.8 kB / 0.5363 GB, free: 74.19 MB / 398.1 MB Notification: Performance of SimCode: time 7.32e-07/0.5128, allocations: 0 / 0.5363 GB, free: 74.19 MB / 398.1 MB Notification: Performance of Templates: time 0.02979/0.5426, allocations: 42.97 MB / 0.5783 GB, free: 33.03 MB / 398.1 MB make -j1 -f PowerSystems_PowerSystems.Examples.Wind.WindTurbine_DFIG.makefile make -j1 -f PowerSystems_PowerSystems.Examples.Wind.WindTurbine_DFIG.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_DFIGCalcHelperMain.o OMCppPowerSystems_PowerSystems.Examples.Wind.WindTurbine_DFIGCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppPowerSystems_PowerSystems.Examples.Wind.WindTurbine_DFIGCalcHelperMain.o] Error 1