Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.Wind.WindTurbine_PSGI.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_PSGI,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_PSGI") translateModel(PowerSystems.Examples.Wind.WindTurbine_PSGI,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_PSGI") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001345/0.001345, 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.001636/0.001636, 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 4.0.0+maint.om/package.mo): time 1.335/1.335, allocations: 222.9 MB / 241.7 MB, free: 13.8 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.1763/0.1763, allocations: 38.03 MB / 329.9 MB, free: 8.887 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001079/0.001079, allocations: 62.16 kB / 398.7 MB, free: 34.55 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1294/0.1305, allocations: 58.07 MB / 456.8 MB, free: 8.555 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Wind.WindTurbine_PSGI): time 0.01475/0.1453, allocations: 13.05 MB / 469.8 MB, free: 11.45 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01202/0.1574, allocations: 7.902 MB / 477.7 MB, free: 3.52 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00201/0.1594, allocations: 91.38 kB / 477.8 MB, free: 3.43 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.02007/0.1795, allocations: 12.98 MB / 490.8 MB, free: 6.434 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00301/0.1825, allocations: 1.058 MB / 491.9 MB, free: 5.371 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001685/0.1842, allocations: 0.6279 MB / 492.5 MB, free: 4.742 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.006134/0.1904, allocations: 5.658 MB / 498.2 MB, free: 15.07 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001579/0.192, allocations: 0.8875 MB / 499 MB, free: 14.16 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002279/0.1943, allocations: 0.9568 MB / 500 MB, free: 13.2 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002306/0.1966, allocations: 1.519 MB / 0.4898 GB, free: 11.67 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002341/0.1969, allocations: 96 kB / 0.4899 GB, free: 11.58 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001126/0.198, allocations: 483.2 kB / 0.4903 GB, free: 11.11 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0008157/0.1988, allocations: 0.8649 MB / 0.4912 GB, free: 10.24 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0009904/0.1998, allocations: 0.917 MB / 0.4921 GB, free: 9.316 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00176/0.2016, allocations: 1.941 MB / 0.4939 GB, free: 7.371 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.979e-06/0.2016, allocations: 0 / 0.4939 GB, free: 7.371 MB / 382.1 MB Notification: Performance of FrontEnd: time 7.51e-07/0.2016, allocations: 0 / 0.4939 GB, free: 7.371 MB / 382.1 MB Notification: Performance of Transformations before backend: time 2.009e-05/0.2017, allocations: 0 / 0.4939 GB, free: 7.371 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 409 * Number of variables: 409 Notification: Performance of Generate backend data structure: time 0.00426/0.2059, allocations: 2.22 MB / 0.4961 GB, free: 5.09 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.177e-05/0.206, allocations: 12.03 kB / 0.4961 GB, free: 5.078 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001669/0.2077, allocations: 338.3 kB / 0.4965 GB, free: 4.746 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002363/0.21, allocations: 1.276 MB / 0.4977 GB, free: 3.422 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.73e-05/0.2101, allocations: 106.7 kB / 0.4978 GB, free: 3.316 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005251/0.2106, allocations: 231.8 kB / 0.498 GB, free: 3.09 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003181/0.2138, allocations: 2.196 MB / 0.5002 GB, free: 0.7891 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.861e-05/0.2139, allocations: 11.91 kB / 0.5002 GB, free: 0.7773 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001445/0.214, allocations: 63.97 kB / 0.5002 GB, free: 0.7148 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000587/0.2146, allocations: 182.8 kB / 0.5004 GB, free: 0.5352 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.2702/0.4849, allocations: 1.828 MB / 0.5022 GB, free: 57.59 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.01267/0.4976, allocations: 8.571 MB / 0.5106 GB, free: 52.33 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002767/0.5004, allocations: 1.903 MB / 0.5124 GB, free: 51.25 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001495/0.5019, allocations: 0.8038 MB / 0.5132 GB, free: 50.98 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001031/0.5021, allocations: 21.42 kB / 0.5132 GB, free: 50.98 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.373e-05/0.5021, allocations: 51.5 kB / 0.5133 GB, free: 50.93 MB / 382.1 MB Notification: Performance of pre-optimization done (n=130): time 4.519e-06/0.5021, allocations: 0 / 0.5133 GB, free: 50.93 MB / 382.1 MB Notification: Performance of matching and sorting (n=145): time 0.01431/0.5164, allocations: 5.94 MB / 0.5191 GB, free: 48.02 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.134e-05/0.5166, allocations: 101.4 kB / 0.5192 GB, free: 47.92 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001734/0.5183, allocations: 1.069 MB / 0.5202 GB, free: 47.51 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 9.306e-05/0.5184, allocations: 47.7 kB / 0.5203 GB, free: 47.46 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005496/0.519, allocations: 0.7926 MB / 0.521 GB, free: 46.84 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004252/0.5194, allocations: 0.5227 MB / 0.5216 GB, free: 46.43 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005694/0.52, allocations: 329.5 kB / 0.5219 GB, free: 46.29 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 7.597e-05/0.5201, allocations: 301.1 kB / 0.5222 GB, free: 45.99 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001246/0.5213, allocations: 0.7416 MB / 0.5229 GB, free: 45.76 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00146/0.5228, allocations: 1.232 MB / 0.5241 GB, free: 44.88 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.009621/0.5324, allocations: 4.32 MB / 0.5283 GB, free: 42.5 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.524e-05/0.5324, allocations: 3.938 kB / 0.5283 GB, free: 42.5 MB / 382.1 MB Notification: Performance of matching and sorting (n=237) (initialization): time 0.006899/0.5393, allocations: 3.975 MB / 0.5322 GB, free: 39.55 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.554e-05/0.5394, allocations: 12 kB / 0.5322 GB, free: 39.54 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.326e-05/0.5394, allocations: 16 kB / 0.5322 GB, free: 39.52 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003569/0.543, allocations: 1.449 MB / 0.5336 GB, free: 38.06 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001006/0.544, allocations: 292.5 kB / 0.5339 GB, free: 37.78 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01823/0.5623, allocations: 19.15 MB / 0.5526 GB, free: 17.72 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001614/0.5639, allocations: 75.94 kB / 0.5527 GB, free: 17.64 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001534/0.5641, allocations: 82.12 kB / 0.5528 GB, free: 17.57 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.PI.x = 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: 66 * 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 (144): * Single equations (assignments): 137 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 7 * 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,2,100.0%), (1,1,100.0%), (1,23,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(4,22), (21,20)} Notification: Performance of prepare postOptimizeDAE: time 0.0009733/0.5651, allocations: 0.5235 MB / 0.5533 GB, free: 17.04 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002246/0.5653, allocations: 146.1 kB / 0.5534 GB, free: 16.89 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002882/0.5682, allocations: 2.221 MB / 0.5556 GB, free: 14.58 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.02e-05/0.5682, allocations: 16 kB / 0.5556 GB, free: 14.56 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.185e-06/0.5682, allocations: 4 kB / 0.5556 GB, free: 14.56 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.317e-05/0.5682, allocations: 7.969 kB / 0.5556 GB, free: 14.55 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005476/0.5737, allocations: 3.984 MB / 0.5595 GB, free: 10.43 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.225e-06/0.5738, allocations: 4.25 kB / 0.5595 GB, free: 10.42 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001509/0.5753, allocations: 338.1 kB / 0.5598 GB, free: 10.09 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004706/0.5758, allocations: 215.9 kB / 0.56 GB, free: 9.871 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001016/0.5759, allocations: 47.92 kB / 0.5601 GB, free: 9.824 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003751/0.5796, allocations: 7.303 MB / 0.5672 GB, free: 1.863 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.127e-06/0.5796, allocations: 11.92 kB / 0.5672 GB, free: 1.852 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003939/0.5836, allocations: 2.923 MB / 0.5701 GB, free: 14.8 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000764/0.5844, allocations: 343.2 kB / 0.5704 GB, free: 14.45 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000204/0.5846, allocations: 47.89 kB / 0.5704 GB, free: 14.4 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007366/0.5853, allocations: 67.94 kB / 0.5705 GB, free: 14.33 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003045/0.5856, allocations: 101 kB / 0.5706 GB, free: 14.23 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.664e-05/0.5857, allocations: 43.98 kB / 0.5706 GB, free: 14.19 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.001018/0.5868, allocations: 0.71 MB / 0.5713 GB, free: 13.48 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.5868, allocations: 0 / 0.5713 GB, free: 13.48 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.002225/0.589, allocations: 0.5476 MB / 0.5719 GB, free: 12.93 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 26 (inertia.phi,inertia.w,meterDC.pav,generator.i_s[1],generator.i_s[2],generator.i_s[3],generator.i_rd[1],generator.i_rq[1],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],PI.x) * 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 (137): * Single equations (assignments): 131 * 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.0004721/0.5895, allocations: 190.2 kB / 0.5721 GB, free: 12.75 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.005592/0.5951, allocations: 3.208 MB / 0.5752 GB, free: 9.449 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 6.042e-06/0.5951, allocations: 4 kB / 0.5752 GB, free: 9.445 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002216/0.5973, allocations: 1.399 MB / 0.5766 GB, free: 7.984 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001864/0.5992, allocations: 315.4 kB / 0.5769 GB, free: 7.68 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008948/0.6082, allocations: 6.004 MB / 0.5827 GB, free: 1.633 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001484/0.6097, allocations: 1.58 MB / 0.5843 GB, free: 20 kB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006332/0.6103, allocations: 119.4 kB / 0.5844 GB, free: 15.9 MB / 414.1 MB Notification: Performance of SimCode: time 1.323e-06/0.6104, allocations: 4 kB / 0.5844 GB, free: 15.9 MB / 414.1 MB Notification: Performance of Templates: time 0.079/0.6894, allocations: 58.97 MB / 0.642 GB, free: 4.906 MB / 462.1 MB make -j1 -f PowerSystems_latest_PowerSystems.Examples.Wind.WindTurbine_PSGI.makefile make -j1 -f PowerSystems_latest_PowerSystems.Examples.Wind.WindTurbine_PSGI.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_PSGICalcHelperMain.o OMCppPowerSystems_latest_PowerSystems.Examples.Wind.WindTurbine_PSGICalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppPowerSystems_latest_PowerSystems.Examples.Wind.WindTurbine_PSGICalcHelperMain.o] Error 1