Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.PowerWorld.Test.WindFarmHVDCTest.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.PowerWorld.Test.WindFarmHVDCTest,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|inverter.I|windFarm.p.1.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.PowerWorld.Test.WindFarmHVDCTest") translateModel(PowerSystems.Examples.PowerWorld.Test.WindFarmHVDCTest,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|inverter.I|windFarm.p.1.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.PowerWorld.Test.WindFarmHVDCTest") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001232/0.001232, allocations: 93.08 kB / 17.31 MB, free: 6.535 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.001762/0.001762, allocations: 178 kB / 18.21 MB, free: 5.68 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.531/1.531, allocations: 223.2 MB / 242.2 MB, free: 14.49 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.205/0.205, allocations: 38.08 MB / 331.5 MB, free: 8.539 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003132/0.0003132, allocations: 15.98 kB / 401.4 MB, free: 34.14 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1632/0.1635, allocations: 59.16 MB / 460.5 MB, free: 7.059 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.PowerWorld.Test.WindFarmHVDCTest): time 0.008784/0.1724, allocations: 4.489 MB / 465 MB, free: 2.547 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.006024/0.1784, allocations: 2.673 MB / 467.7 MB, free: 15.86 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007076/0.1792, allocations: 27.81 kB / 467.7 MB, free: 15.84 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006283/0.1798, allocations: 71.59 kB / 467.8 MB, free: 15.77 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00159/0.1814, allocations: 302.9 kB / 468.1 MB, free: 15.47 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001733/0.1832, allocations: 343.2 kB / 468.4 MB, free: 15.13 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001395/0.1846, allocations: 0.7872 MB / 469.2 MB, free: 14.34 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009664/0.1856, allocations: 330.5 kB / 469.5 MB, free: 14 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007578/0.1864, allocations: 207 kB / 469.7 MB, free: 13.8 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005248/0.1869, allocations: 243 kB / 470 MB, free: 13.56 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 6.477e-05/0.187, allocations: 16 kB / 470 MB, free: 13.55 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001922/0.1889, allocations: 0.6469 MB / 470.6 MB, free: 12.9 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001928/0.1891, allocations: 107.6 kB / 470.7 MB, free: 12.79 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002968/0.1895, allocations: 196.7 kB / 470.9 MB, free: 12.59 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001159/0.1906, allocations: 0.5261 MB / 471.5 MB, free: 12.07 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.107e-06/0.1907, allocations: 0 / 471.5 MB, free: 12.07 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.024e-06/0.1907, allocations: 0 / 471.5 MB, free: 12.07 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.835e-06/0.1907, allocations: 4 kB / 471.5 MB, free: 12.06 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: 61 * Number of variables: 61 Notification: Performance of Generate backend data structure: time 0.001917/0.1926, allocations: 0.7046 MB / 472.2 MB, free: 11.3 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.273e-05/0.1927, allocations: 8.031 kB / 472.2 MB, free: 11.29 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001932/0.1946, allocations: 124.3 kB / 472.3 MB, free: 11.17 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009543/0.1956, allocations: 403.7 kB / 472.7 MB, free: 10.74 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.268e-05/0.1957, allocations: 12.94 kB / 472.7 MB, free: 10.73 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.903e-05/0.1958, allocations: 32.11 kB / 472.7 MB, free: 10.7 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00141/0.1972, allocations: 465.2 kB / 473.2 MB, free: 10.2 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.998e-05/0.1972, allocations: 3.938 kB / 473.2 MB, free: 10.2 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.712e-05/0.1973, allocations: 11.98 kB / 473.2 MB, free: 10.19 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.399e-05/0.1974, allocations: 28.36 kB / 473.2 MB, free: 10.16 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001691/0.1991, allocations: 0.4974 MB / 473.7 MB, free: 9.664 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003339/0.2025, allocations: 1.783 MB / 475.5 MB, free: 7.773 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001742/0.2042, allocations: 409.1 kB / 475.9 MB, free: 7.355 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007941/0.2051, allocations: 151.3 kB / 476.1 MB, free: 7.203 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.47e-05/0.2052, allocations: 15.92 kB / 476.1 MB, free: 7.188 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00108/0.2062, allocations: 297 kB / 476.4 MB, free: 6.863 MB / 350.1 MB Notification: Performance of pre-optimization done (n=30): time 4.609e-06/0.2063, allocations: 4 kB / 476.4 MB, free: 6.859 MB / 350.1 MB Notification: Performance of matching and sorting (n=30): time 0.002484/0.2088, allocations: 0.5405 MB / 476.9 MB, free: 6.312 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002121/0.209, allocations: 243.4 kB / 477.1 MB, free: 6.02 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008087/0.2098, allocations: 353.6 kB / 477.5 MB, free: 5.664 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 6.909e-05/0.2099, allocations: 37.7 kB / 477.5 MB, free: 5.621 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002075/0.2101, allocations: 200.2 kB / 477.7 MB, free: 5.422 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001389/0.2103, allocations: 102.7 kB / 477.8 MB, free: 5.32 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.913e-05/0.2104, allocations: 37.7 kB / 477.9 MB, free: 5.277 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0002294/0.2106, allocations: 350.8 kB / 478.2 MB, free: 4.926 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006454/0.2113, allocations: 156.2 kB / 478.4 MB, free: 4.77 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008335/0.2121, allocations: 293.8 kB / 478.6 MB, free: 4.422 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001335/0.2135, allocations: 490.3 kB / 479.1 MB, free: 3.879 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.54e-06/0.2135, allocations: 0 / 479.1 MB, free: 3.879 MB / 350.1 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.001951/0.2155, allocations: 0.5415 MB / 479.7 MB, free: 3.324 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.842e-05/0.2156, allocations: 41.69 kB / 479.7 MB, free: 3.277 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.517e-05/0.2156, allocations: 4 kB / 479.7 MB, free: 3.273 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.346e-05/0.2156, allocations: 8 kB / 479.7 MB, free: 3.266 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006029/0.2163, allocations: 96.25 kB / 479.8 MB, free: 3.172 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.863e-05/0.2163, allocations: 7.938 kB / 479.8 MB, free: 3.164 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005372/0.2168, allocations: 67.5 kB / 479.9 MB, free: 3.098 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.18e-05/0.2169, allocations: 20 kB / 479.9 MB, free: 3.078 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * Number of states: 0 () * Number of discrete variables: 11 ($PRE.windFarm.wind.nextTimeEvent,$whenCondition2,windFarm.disturbance.count,$PRE.windFarm.disturbance.count,windFarm.disturbance.T_start,$PRE.windFarm.disturbance.T_start,windFarm.wind.nextTimeEventScaled,$PRE.windFarm.wind.nextTimeEventScaled,windFarm.wind.nextTimeEvent,$whenCondition1,system.initime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (44): * Single equations (assignments): 43 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0004604/0.2174, allocations: 189.7 kB / 480.1 MB, free: 2.883 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001166/0.2175, allocations: 39.56 kB / 480.1 MB, free: 2.844 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001569/0.2177, allocations: 51.27 kB / 480.2 MB, free: 2.785 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.817e-06/0.2177, allocations: 4 kB / 480.2 MB, free: 2.781 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.979e-06/0.2177, allocations: 4 kB / 480.2 MB, free: 2.777 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.644e-06/0.2177, allocations: 0 / 480.2 MB, free: 2.777 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0014/0.2192, allocations: 0.8546 MB / 481 MB, free: 1.852 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.745e-06/0.2192, allocations: 4 kB / 481 MB, free: 1.848 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004179/0.2196, allocations: 63.89 kB / 481.1 MB, free: 1.785 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.808e-06/0.2196, allocations: 4 kB / 481.1 MB, free: 1.781 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.925e-05/0.2197, allocations: 15.92 kB / 481.1 MB, free: 1.766 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.969e-06/0.2197, allocations: 12.12 kB / 481.1 MB, free: 1.754 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.155e-06/0.2197, allocations: 4 kB / 481.1 MB, free: 1.75 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00168/0.2214, allocations: 489.4 kB / 481.6 MB, free: 1.234 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001533/0.2216, allocations: 120.6 kB / 481.7 MB, free: 1.098 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.735e-05/0.2217, allocations: 12 kB / 481.7 MB, free: 1.086 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000367/0.2221, allocations: 31.97 kB / 481.8 MB, free: 1.055 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002086/0.2223, allocations: 35.91 kB / 481.8 MB, free: 1.02 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.133e-05/0.2224, allocations: 19.92 kB / 481.8 MB, free: 1 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0004275/0.2228, allocations: 247.2 kB / 482.1 MB, free: 0.7656 MB / 350.1 MB Notification: Performance of sort global known variables: time 3.71e-07/0.2228, allocations: 4 kB / 482.1 MB, free: 0.7617 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0007341/0.2236, allocations: 95.83 kB / 482.2 MB, free: 0.668 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 7 (system.initime,$whenCondition2,$whenCondition1,windFarm.wind.nextTimeEvent,windFarm.wind.nextTimeEventScaled,windFarm.disturbance.T_start,windFarm.disturbance.count) * Number of discrete states: 3 (windFarm.wind.nextTimeEventScaled,windFarm.disturbance.count,windFarm.wind.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (30): * Single equations (assignments): 25 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 5 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001789/0.2254, allocations: 461.4 kB / 482.6 MB, free: 396 kB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001602/0.227, allocations: 439.5 kB / 483.1 MB, free: 15.95 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 4.158e-06/0.227, allocations: 0.8125 kB / 483.1 MB, free: 15.95 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007088/0.2277, allocations: 195.9 kB / 483.2 MB, free: 15.75 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009/0.2287, allocations: 79.34 kB / 483.3 MB, free: 15.68 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002267/0.2309, allocations: 0.8791 MB / 484.2 MB, free: 14.74 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006904/0.2317, allocations: 0.8115 MB / 485 MB, free: 13.91 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002202/0.2319, allocations: 43.42 kB / 485.1 MB, free: 13.86 MB / 366.1 MB Notification: Performance of SimCode: time 9.01e-07/0.2319, allocations: 0 / 485.1 MB, free: 13.86 MB / 366.1 MB Notification: Performance of Templates: time 0.01424/0.2462, allocations: 5.463 MB / 490.5 MB, free: 8.422 MB / 366.1 MB make -j1 -f PowerSystems_latest_PowerSystems.Examples.PowerWorld.Test.WindFarmHVDCTest.makefile make -j1 -f PowerSystems_latest_PowerSystems.Examples.PowerWorld.Test.WindFarmHVDCTest.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/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Resources/C-Sources" -I"." -I"." -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/include/omc/sundials" "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Resources/C-Sources" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppPowerSystems_latest_PowerSystems.Examples.PowerWorld.Test.WindFarmHVDCTestCalcHelperMain.o OMCppPowerSystems_latest_PowerSystems.Examples.PowerWorld.Test.WindFarmHVDCTestCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppPowerSystems_latest_PowerSystems.Examples.PowerWorld.Test.WindFarmHVDCTestCalcHelperMain.o] Error 1