Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_latest_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 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_DFIG,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_DFIG") translateModel(PowerSystems.Examples.Wind.WindTurbine_DFIG,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_DFIG") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001339/0.001339, allocations: 106.2 kB / 17.16 MB, free: 6.348 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.001408/0.001408, allocations: 194.9 kB / 18.07 MB, free: 5.445 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.297/1.297, allocations: 222.9 MB / 241.7 MB, free: 15.51 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.1626/0.1626, allocations: 38.03 MB / 329.9 MB, free: 9.016 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001046/0.001046, allocations: 62.88 kB / 398.7 MB, free: 34.55 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1038/0.1048, allocations: 58.06 MB / 456.8 MB, free: 8.551 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Wind.WindTurbine_DFIG): time 0.01317/0.118, allocations: 12.64 MB / 469.4 MB, free: 11.85 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01192/0.13, allocations: 7.033 MB / 476.5 MB, free: 4.797 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002255/0.1323, allocations: 91.44 kB / 476.5 MB, free: 4.707 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01077/0.1431, allocations: 5.382 MB / 481.9 MB, free: 15.32 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002613/0.1457, allocations: 1.012 MB / 482.9 MB, free: 14.3 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001469/0.1472, allocations: 0.5811 MB / 483.5 MB, free: 13.72 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.005012/0.1522, allocations: 4.714 MB / 488.2 MB, free: 8.996 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001322/0.1536, allocations: 0.9106 MB / 489.1 MB, free: 8.051 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001189/0.1548, allocations: 0.9063 MB / 490.1 MB, free: 7.141 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00169/0.1565, allocations: 1.425 MB / 491.5 MB, free: 5.711 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001892/0.1567, allocations: 96 kB / 491.6 MB, free: 5.617 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008211/0.1575, allocations: 383.5 kB / 491.9 MB, free: 5.242 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007287/0.1582, allocations: 0.7987 MB / 492.7 MB, free: 4.441 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008653/0.1591, allocations: 0.8705 MB / 493.6 MB, free: 3.566 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001532/0.1607, allocations: 1.723 MB / 495.3 MB, free: 1.84 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.512e-06/0.1607, allocations: 0 / 495.3 MB, free: 1.84 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.182e-06/0.1607, allocations: 0 / 495.3 MB, free: 1.84 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.816e-05/0.1607, allocations: 4 kB / 495.3 MB, free: 1.836 MB / 366.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.003916/0.1646, allocations: 2.062 MB / 497.4 MB, free: 15.71 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.345e-05/0.1647, allocations: 12.03 kB / 497.4 MB, free: 15.7 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001363/0.1661, allocations: 282.5 kB / 497.7 MB, free: 15.43 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002091/0.1682, allocations: 1.152 MB / 498.8 MB, free: 14.23 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.52e-05/0.1682, allocations: 98.62 kB / 498.9 MB, free: 14.13 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004565/0.1687, allocations: 223.7 kB / 499.2 MB, free: 13.91 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002979/0.1717, allocations: 2.107 MB / 0.4895 GB, free: 11.71 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.993e-05/0.1718, allocations: 7.938 kB / 0.4895 GB, free: 11.7 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001331/0.1719, allocations: 55.98 kB / 0.4896 GB, free: 11.64 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005859/0.1725, allocations: 190.7 kB / 0.4898 GB, free: 11.46 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00266/0.1752, allocations: 1.705 MB / 0.4914 GB, free: 9.746 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.01071/0.1859, allocations: 7.968 MB / 0.4992 GB, free: 1.434 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.2318/0.4176, allocations: 1.616 MB / 0.5008 GB, free: 56.57 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001528/0.4192, allocations: 0.6657 MB / 0.5014 GB, free: 56.55 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.887e-05/0.4193, allocations: 16.12 kB / 0.5015 GB, free: 56.55 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.495e-05/0.4194, allocations: 47.09 kB / 0.5015 GB, free: 56.51 MB / 382.1 MB Notification: Performance of pre-optimization done (n=127): time 4.558e-06/0.4194, allocations: 1 kB / 0.5015 GB, free: 56.51 MB / 382.1 MB Notification: Performance of matching and sorting (n=138): time 0.009598/0.429, allocations: 5.084 MB / 0.5065 GB, free: 54.46 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.45e-05/0.4291, allocations: 94.25 kB / 0.5066 GB, free: 54.37 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001438/0.4305, allocations: 0.9347 MB / 0.5075 GB, free: 54 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 8.822e-05/0.4306, allocations: 50.23 kB / 0.5075 GB, free: 53.95 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004557/0.4311, allocations: 0.7152 MB / 0.5082 GB, free: 53.38 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003967/0.4315, allocations: 0.5014 MB / 0.5087 GB, free: 53 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005198/0.432, allocations: 308.5 kB / 0.509 GB, free: 52.86 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 5.294e-05/0.4321, allocations: 312 kB / 0.5093 GB, free: 52.56 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00121/0.4333, allocations: 0.7061 MB / 0.51 GB, free: 52.34 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001466/0.4348, allocations: 1.154 MB / 0.5111 GB, free: 51.59 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.01084/0.4456, allocations: 4.077 MB / 0.5151 GB, free: 50.07 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.401e-05/0.4457, allocations: 3.031 kB / 0.5151 GB, free: 50.07 MB / 382.1 MB Notification: Performance of matching and sorting (n=222) (initialization): time 0.007147/0.4528, allocations: 3.357 MB / 0.5184 GB, free: 48.8 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.621e-05/0.4529, allocations: 11.91 kB / 0.5184 GB, free: 48.8 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.103e-05/0.453, allocations: 11.84 kB / 0.5184 GB, free: 48.8 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002972/0.4559, allocations: 1.186 MB / 0.5196 GB, free: 48.59 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001312/0.4573, allocations: 302.5 kB / 0.5198 GB, free: 48.55 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01556/0.4729, allocations: 13.81 MB / 0.5333 GB, free: 37.82 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001458/0.4744, allocations: 79.94 kB / 0.5334 GB, free: 37.75 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001389/0.4745, allocations: 68 kB / 0.5335 GB, free: 37.68 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 $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.0008825/0.4754, allocations: 0.4991 MB / 0.534 GB, free: 37.17 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002152/0.4756, allocations: 130.4 kB / 0.5341 GB, free: 37.04 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002649/0.4783, allocations: 2.014 MB / 0.536 GB, free: 34.96 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.616e-06/0.4783, allocations: 16 kB / 0.5361 GB, free: 34.94 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.232e-06/0.4783, allocations: 4 kB / 0.5361 GB, free: 34.94 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.064e-05/0.4783, allocations: 3.984 kB / 0.5361 GB, free: 34.93 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005097/0.4834, allocations: 3.768 MB / 0.5397 GB, free: 31.02 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.923e-06/0.4835, allocations: 4 kB / 0.5398 GB, free: 31.02 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001473/0.4849, allocations: 323.6 kB / 0.5401 GB, free: 30.7 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004435/0.4854, allocations: 193.4 kB / 0.5402 GB, free: 30.5 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.693e-05/0.4855, allocations: 43.98 kB / 0.5403 GB, free: 30.46 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00362/0.4891, allocations: 6.15 MB / 0.5463 GB, free: 23.79 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.24e-06/0.4892, allocations: 11.88 kB / 0.5463 GB, free: 23.79 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003328/0.4925, allocations: 2.713 MB / 0.549 GB, free: 20.95 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005902/0.4931, allocations: 311.4 kB / 0.5492 GB, free: 20.62 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001722/0.4933, allocations: 53.8 kB / 0.5493 GB, free: 20.57 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006532/0.4939, allocations: 51.95 kB / 0.5493 GB, free: 20.52 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002186/0.4942, allocations: 109 kB / 0.5495 GB, free: 20.41 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.521e-05/0.4943, allocations: 39.94 kB / 0.5495 GB, free: 20.38 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.000755/0.495, allocations: 0.6244 MB / 0.5501 GB, free: 19.74 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.495, allocations: 0 / 0.5501 GB, free: 19.74 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001852/0.4969, allocations: 488 kB / 0.5506 GB, free: 19.27 MB / 382.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.0002091/0.4971, allocations: 155.9 kB / 0.5507 GB, free: 19.1 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.003948/0.5011, allocations: 2.665 MB / 0.5533 GB, free: 16.39 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 5.821e-06/0.5011, allocations: 0 / 0.5533 GB, free: 16.39 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001447/0.5025, allocations: 1.25 MB / 0.5545 GB, free: 15.1 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001448/0.504, allocations: 294.7 kB / 0.5548 GB, free: 14.81 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007025/0.511, allocations: 5.713 MB / 0.5604 GB, free: 9.078 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009578/0.512, allocations: 1.529 MB / 0.5619 GB, free: 7.523 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004178/0.5124, allocations: 103.4 kB / 0.562 GB, free: 7.422 MB / 382.1 MB Notification: Performance of SimCode: time 1.102e-06/0.5124, allocations: 0 / 0.562 GB, free: 7.422 MB / 382.1 MB Notification: Performance of Templates: time 0.05169/0.5641, allocations: 42.97 MB / 0.604 GB, free: 12.45 MB / 430.1 MB make -j1 -f PowerSystems_latest_PowerSystems.Examples.Wind.WindTurbine_DFIG.makefile make -j1 -f PowerSystems_latest_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_latest_PowerSystems.Examples.Wind.WindTurbine_DFIGCalcHelperMain.o OMCppPowerSystems_latest_PowerSystems.Examples.Wind.WindTurbine_DFIGCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppPowerSystems_latest_PowerSystems.Examples.Wind.WindTurbine_DFIGCalcHelperMain.o] Error 1