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.001275/0.001275, allocations: 86.62 kB / 17.3 MB, free: 5.949 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.001197/0.001197, allocations: 174.6 kB / 18.2 MB, free: 5.43 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.501/1.501, allocations: 223.3 MB / 242.2 MB, free: 36 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.1995/0.1995, allocations: 38.1 MB / 331.5 MB, free: 8.742 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003234/0.0003234, allocations: 8 kB / 401.4 MB, free: 34.18 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1231/0.1234, allocations: 59.16 MB / 460.5 MB, free: 7.09 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Wind.WindTurbine_DFIG): time 0.01443/0.1379, allocations: 12.1 MB / 472.6 MB, free: 10.93 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01283/0.1508, allocations: 6.918 MB / 479.5 MB, free: 3.992 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002479/0.1533, allocations: 83.44 kB / 479.6 MB, free: 3.91 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01001/0.1633, allocations: 4.865 MB / 484.5 MB, free: 15.04 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003651/0.167, allocations: 1.016 MB / 485.5 MB, free: 14.02 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001982/0.169, allocations: 0.5889 MB / 486.1 MB, free: 13.43 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.007352/0.1764, allocations: 4.706 MB / 490.8 MB, free: 8.711 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002977/0.1794, allocations: 1.313 MB / 492.1 MB, free: 7.332 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002091/0.1815, allocations: 0.8555 MB / 493 MB, free: 6.473 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002542/0.1841, allocations: 1.367 MB / 494.3 MB, free: 5.102 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002923/0.1844, allocations: 76 kB / 494.4 MB, free: 5.027 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001137/0.1855, allocations: 359.5 kB / 494.8 MB, free: 4.676 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0009045/0.1864, allocations: 0.787 MB / 495.5 MB, free: 3.887 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001083/0.1875, allocations: 0.8565 MB / 496.4 MB, free: 3.02 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001861/0.1894, allocations: 1.687 MB / 498.1 MB, free: 1.328 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.769e-06/0.1894, allocations: 0 / 498.1 MB, free: 1.328 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.452e-06/0.1894, allocations: 0 / 498.1 MB, free: 1.328 MB / 366.1 MB Notification: Performance of Transformations before backend: time 4.954e-05/0.1895, allocations: 0 / 498.1 MB, free: 1.328 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.005187/0.1947, allocations: 1.743 MB / 499.8 MB, free: 15.52 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.295e-05/0.1948, allocations: 12.03 kB / 499.8 MB, free: 15.51 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001839/0.1966, allocations: 278.4 kB / 0.4884 GB, free: 15.24 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002413/0.199, allocations: 1.167 MB / 0.4895 GB, free: 14.03 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.341e-05/0.1991, allocations: 106.6 kB / 0.4896 GB, free: 13.93 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005117/0.1996, allocations: 219.8 kB / 0.4898 GB, free: 13.71 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003597/0.2033, allocations: 2.115 MB / 0.4919 GB, free: 11.5 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.858e-05/0.2033, allocations: 4 kB / 0.4919 GB, free: 11.49 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001568/0.2035, allocations: 51.98 kB / 0.492 GB, free: 11.44 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006928/0.2042, allocations: 182.6 kB / 0.4921 GB, free: 11.26 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003066/0.2073, allocations: 1.728 MB / 0.4938 GB, free: 9.527 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.01121/0.2185, allocations: 7.972 MB / 0.5016 GB, free: 1.211 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.2684/0.4869, allocations: 1.628 MB / 0.5032 GB, free: 55.62 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001624/0.4886, allocations: 0.6685 MB / 0.5039 GB, free: 55.6 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.872e-05/0.4887, allocations: 15.55 kB / 0.5039 GB, free: 55.6 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.81e-05/0.4887, allocations: 49.17 kB / 0.5039 GB, free: 55.55 MB / 382.1 MB Notification: Performance of pre-optimization done (n=127): time 3.988e-06/0.4887, allocations: 2.25 kB / 0.5039 GB, free: 55.55 MB / 382.1 MB Notification: Performance of matching and sorting (n=138): time 0.009994/0.4987, allocations: 5.118 MB / 0.5089 GB, free: 53.78 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.691e-05/0.4988, allocations: 92.89 kB / 0.509 GB, free: 53.68 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001406/0.5002, allocations: 0.9354 MB / 0.5099 GB, free: 53.31 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001014/0.5003, allocations: 50.64 kB / 0.51 GB, free: 53.26 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006333/0.501, allocations: 0.7216 MB / 0.5107 GB, free: 52.69 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005322/0.5015, allocations: 0.4917 MB / 0.5112 GB, free: 52.31 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002672/0.5018, allocations: 159 kB / 0.5113 GB, free: 52.24 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 6.173e-05/0.5019, allocations: 306.5 kB / 0.5116 GB, free: 51.94 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00123/0.5031, allocations: 0.7105 MB / 0.5123 GB, free: 51.72 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001538/0.5046, allocations: 1.157 MB / 0.5134 GB, free: 50.98 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.01095/0.5156, allocations: 4.108 MB / 0.5174 GB, free: 49.47 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.201e-05/0.5157, allocations: 3.75 kB / 0.5174 GB, free: 49.47 MB / 382.1 MB Notification: Performance of matching and sorting (n=222) (initialization): time 0.007246/0.5229, allocations: 3.376 MB / 0.5207 GB, free: 48.18 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.13e-05/0.523, allocations: 7.875 kB / 0.5207 GB, free: 48.18 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.093e-05/0.523, allocations: 15.78 kB / 0.5208 GB, free: 48.18 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003096/0.5261, allocations: 1.189 MB / 0.5219 GB, free: 47.96 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001319/0.5274, allocations: 301 kB / 0.5222 GB, free: 47.93 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01527/0.5427, allocations: 13.84 MB / 0.5357 GB, free: 36.57 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001516/0.5443, allocations: 71.95 kB / 0.5358 GB, free: 36.5 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001429/0.5444, allocations: 77.31 kB / 0.5359 GB, free: 36.42 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 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.000913/0.5454, allocations: 0.4968 MB / 0.5363 GB, free: 35.92 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002036/0.5456, allocations: 138.3 kB / 0.5365 GB, free: 35.78 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002776/0.5484, allocations: 2.028 MB / 0.5385 GB, free: 33.68 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.026e-05/0.5484, allocations: 16 kB / 0.5385 GB, free: 33.66 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.101e-06/0.5484, allocations: 3.938 kB / 0.5385 GB, free: 33.66 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.389e-05/0.5484, allocations: 11.97 kB / 0.5385 GB, free: 33.65 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005522/0.5539, allocations: 3.781 MB / 0.5422 GB, free: 29.72 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.042e-05/0.554, allocations: 4 kB / 0.5422 GB, free: 29.72 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001475/0.5555, allocations: 328 kB / 0.5425 GB, free: 29.4 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004554/0.5559, allocations: 183.3 kB / 0.5427 GB, free: 29.21 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001021/0.556, allocations: 47.97 kB / 0.5427 GB, free: 29.16 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003941/0.56, allocations: 6.152 MB / 0.5487 GB, free: 22.48 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.817e-06/0.56, allocations: 4.062 kB / 0.5487 GB, free: 22.48 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003553/0.5636, allocations: 2.725 MB / 0.5514 GB, free: 19.63 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006172/0.5642, allocations: 323.2 kB / 0.5517 GB, free: 19.3 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001627/0.5644, allocations: 47.81 kB / 0.5517 GB, free: 19.25 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006934/0.5651, allocations: 55.94 kB / 0.5518 GB, free: 19.2 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002135/0.5653, allocations: 101.1 kB / 0.5519 GB, free: 19.1 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.364e-05/0.5654, allocations: 47.98 kB / 0.5519 GB, free: 19.05 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0007304/0.5661, allocations: 0.6205 MB / 0.5525 GB, free: 18.43 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.5661, allocations: 0 / 0.5525 GB, free: 18.43 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001939/0.5681, allocations: 488 kB / 0.553 GB, free: 17.95 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.0002229/0.5683, allocations: 161.2 kB / 0.5532 GB, free: 17.78 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.004667/0.573, allocations: 2.683 MB / 0.5558 GB, free: 15.05 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 7.114e-06/0.573, allocations: 3.938 kB / 0.5558 GB, free: 15.05 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001717/0.5747, allocations: 1.241 MB / 0.557 GB, free: 13.76 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002118/0.5769, allocations: 309 kB / 0.5573 GB, free: 13.46 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007386/0.5843, allocations: 6.098 MB / 0.5632 GB, free: 7.297 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001005/0.5853, allocations: 1.525 MB / 0.5647 GB, free: 5.738 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005087/0.5858, allocations: 99.44 kB / 0.5648 GB, free: 5.641 MB / 382.1 MB Notification: Performance of SimCode: time 1.593e-06/0.5859, allocations: 0 / 0.5648 GB, free: 5.641 MB / 382.1 MB Notification: Performance of Templates: time 0.05908/0.6449, allocations: 42.82 MB / 0.6067 GB, free: 10.82 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