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.0008747/0.0008748, allocations: 91.33 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.001145/0.001146, allocations: 184.7 kB / 18.21 MB, free: 5.191 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.77/1.77, allocations: 205.4 MB / 224.4 MB, free: 13.06 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo): time 0.1911/0.1911, allocations: 38.05 MB / 310.7 MB, free: 5.98 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.000544/0.0005442, allocations: 12 kB / 377.8 MB, free: 2.789 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3019/0.3024, allocations: 56.33 MB / 434.1 MB, free: 18.67 MB / 318.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Wind.WindTurbine_DFIG): time 0.01028/0.3128, allocations: 12.09 MB / 446.2 MB, free: 6.527 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.01113/0.324, allocations: 6.953 MB / 453.2 MB, free: 15.55 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002421/0.3265, allocations: 87.38 kB / 453.3 MB, free: 15.46 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.009902/0.3364, allocations: 4.882 MB / 458.2 MB, free: 10.57 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003455/0.3399, allocations: 1.004 MB / 459.2 MB, free: 9.562 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002068/0.342, allocations: 0.5772 MB / 459.7 MB, free: 8.984 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.007/0.349, allocations: 4.706 MB / 464.4 MB, free: 4.27 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002945/0.352, allocations: 1.327 MB / 465.8 MB, free: 2.887 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002302/0.3543, allocations: 0.8633 MB / 466.6 MB, free: 2.02 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002714/0.357, allocations: 1.363 MB / 468 MB, free: 0.6523 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005587/0.3576, allocations: 72 kB / 468.1 MB, free: 0.582 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001198/0.3588, allocations: 363.5 kB / 468.4 MB, free: 232 kB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0008792/0.3597, allocations: 0.7791 MB / 469.2 MB, free: 15.45 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001167/0.3609, allocations: 0.8565 MB / 470.1 MB, free: 14.58 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00207/0.363, allocations: 1.691 MB / 471.7 MB, free: 12.88 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.202e-06/0.363, allocations: 3.984 kB / 471.7 MB, free: 12.88 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.964e-06/0.363, allocations: 0 / 471.7 MB, free: 12.88 MB / 350.1 MB Notification: Performance of Transformations before backend: time 2.558e-05/0.3631, allocations: 0 / 471.7 MB, free: 12.88 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.004014/0.3671, allocations: 1.74 MB / 473.5 MB, free: 11.08 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.065e-05/0.3672, allocations: 12.03 kB / 473.5 MB, free: 11.07 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001605/0.3688, allocations: 274.5 kB / 473.8 MB, free: 10.8 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002437/0.3712, allocations: 1.155 MB / 474.9 MB, free: 9.598 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.605e-05/0.3713, allocations: 102.6 kB / 475 MB, free: 9.496 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005134/0.3718, allocations: 231.7 kB / 475.3 MB, free: 9.27 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003327/0.3752, allocations: 2.115 MB / 477.4 MB, free: 7.055 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.447e-05/0.3752, allocations: 3.938 kB / 477.4 MB, free: 7.051 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001502/0.3754, allocations: 63.92 kB / 477.4 MB, free: 6.988 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006409/0.3761, allocations: 178.7 kB / 477.6 MB, free: 6.812 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002821/0.3789, allocations: 1.721 MB / 479.3 MB, free: 5.086 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.0116/0.3905, allocations: 7.984 MB / 487.3 MB, free: 12.76 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002368/0.3929, allocations: 1.62 MB / 488.9 MB, free: 11.05 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001014/0.3939, allocations: 0.6645 MB / 489.6 MB, free: 10.38 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.94e-05/0.394, allocations: 20.92 kB / 489.6 MB, free: 10.36 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.403e-05/0.3941, allocations: 55.56 kB / 489.7 MB, free: 10.3 MB / 366.1 MB Notification: Performance of pre-optimization done (n=127): time 3.716e-06/0.3941, allocations: 0 / 489.7 MB, free: 10.3 MB / 366.1 MB Notification: Performance of matching and sorting (n=138): time 0.01025/0.4044, allocations: 5.127 MB / 494.8 MB, free: 4.988 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001133/0.4045, allocations: 98.3 kB / 494.9 MB, free: 4.875 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001311/0.4059, allocations: 0.9348 MB / 495.8 MB, free: 3.922 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 9.929e-05/0.406, allocations: 49.7 kB / 495.9 MB, free: 3.867 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005802/0.4066, allocations: 0.7171 MB / 496.6 MB, free: 3.137 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004679/0.407, allocations: 0.5007 MB / 497.1 MB, free: 2.629 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002111/0.4073, allocations: 153.6 kB / 497.2 MB, free: 2.473 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001236/0.4074, allocations: 301.1 kB / 497.5 MB, free: 2.176 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001151/0.4085, allocations: 0.7145 MB / 498.3 MB, free: 1.461 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001423/0.41, allocations: 1.151 MB / 499.4 MB, free: 124 kB / 366.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.01015/0.4201, allocations: 4.102 MB / 0.4917 GB, free: 11.85 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.792e-05/0.4202, allocations: 4 kB / 0.4917 GB, free: 11.84 MB / 382.1 MB Notification: Performance of matching and sorting (n=222) (initialization): time 0.007021/0.4272, allocations: 3.37 MB / 0.495 GB, free: 8.43 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.495e-05/0.4273, allocations: 12 kB / 0.495 GB, free: 8.418 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.102e-05/0.4273, allocations: 12 kB / 0.495 GB, free: 8.406 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003009/0.4304, allocations: 1.202 MB / 0.4962 GB, free: 7.191 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001247/0.4316, allocations: 295.5 kB / 0.4965 GB, free: 6.902 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0186/0.4502, allocations: 13.84 MB / 0.51 GB, free: 8.508 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001381/0.4517, allocations: 79.84 kB / 0.5101 GB, free: 8.43 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003068/0.452, allocations: 75.94 kB / 0.5101 GB, free: 8.355 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 sytem: 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.001256/0.4533, allocations: 0.4971 MB / 0.5106 GB, free: 7.848 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003577/0.4536, allocations: 130.4 kB / 0.5108 GB, free: 7.719 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003725/0.4574, allocations: 2.026 MB / 0.5127 GB, free: 5.617 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.612e-05/0.4574, allocations: 19.94 kB / 0.5128 GB, free: 5.598 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.366e-05/0.4574, allocations: 4 kB / 0.5128 GB, free: 5.594 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.926e-05/0.4574, allocations: 7.969 kB / 0.5128 GB, free: 5.586 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006607/0.4641, allocations: 3.775 MB / 0.5165 GB, free: 1.629 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.957e-06/0.4641, allocations: 4 kB / 0.5165 GB, free: 1.625 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001537/0.4656, allocations: 324.1 kB / 0.5168 GB, free: 1.309 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004995/0.4661, allocations: 191.2 kB / 0.5169 GB, free: 1.109 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001097/0.4663, allocations: 51.92 kB / 0.517 GB, free: 1.059 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2817/0.748, allocations: 6.15 MB / 0.523 GB, free: 80.78 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.609e-06/0.748, allocations: 4.031 kB / 0.523 GB, free: 80.78 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004812/0.7528, allocations: 2.727 MB / 0.5257 GB, free: 80.1 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007702/0.7536, allocations: 320.4 kB / 0.526 GB, free: 79.97 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001778/0.7538, allocations: 46.7 kB / 0.526 GB, free: 79.95 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007672/0.7546, allocations: 68.88 kB / 0.5261 GB, free: 79.93 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003008/0.7549, allocations: 96.02 kB / 0.5262 GB, free: 79.91 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.888e-05/0.755, allocations: 38.58 kB / 0.5262 GB, free: 79.91 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0009719/0.756, allocations: 0.6305 MB / 0.5268 GB, free: 79.65 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.756, allocations: 3.719 kB / 0.5268 GB, free: 79.65 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.001754/0.7578, allocations: 484.2 kB / 0.5273 GB, free: 79.6 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.0002257/0.758, allocations: 155.5 kB / 0.5274 GB, free: 79.47 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.004627/0.7626, allocations: 2.683 MB / 0.5301 GB, free: 78.28 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 5.5e-06/0.7627, allocations: 3.781 kB / 0.5301 GB, free: 78.28 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002061/0.7647, allocations: 1.243 MB / 0.5313 GB, free: 77.58 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002021/0.7668, allocations: 301.6 kB / 0.5316 GB, free: 77.48 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007025/0.7738, allocations: 6.101 MB / 0.5375 GB, free: 74.01 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009834/0.7748, allocations: 1.523 MB / 0.539 GB, free: 73.2 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004232/0.7752, allocations: 107.9 kB / 0.5391 GB, free: 73.18 MB / 398.1 MB Notification: Performance of SimCode: time 9.32e-07/0.7753, allocations: 3.938 kB / 0.5391 GB, free: 73.18 MB / 398.1 MB Notification: Performance of Templates: time 0.04263/0.8179, allocations: 42.82 MB / 0.5809 GB, free: 32.1 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