Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.Wind.Test.RotorTest.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.Test.RotorTest,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|rotor.flange.tau|rotor.lambda|rotor.lambdai",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.Wind.Test.RotorTest") translateModel(PowerSystems.Examples.Wind.Test.RotorTest,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|rotor.flange.tau|rotor.lambda|rotor.lambdai",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.Wind.Test.RotorTest") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007832/0.0007831, allocations: 93.16 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.0008247/0.0008249, allocations: 175.4 kB / 18.21 MB, free: 5.684 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.52/1.52, allocations: 223.2 MB / 242.2 MB, free: 260 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.1849/0.1849, allocations: 38.09 MB / 331.5 MB, free: 8.84 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003764/0.0003767, allocations: 8.844 kB / 401.4 MB, free: 34.17 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1296/0.13, allocations: 59.16 MB / 460.5 MB, free: 7.086 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Wind.Test.RotorTest): time 0.002892/0.1329, allocations: 2.155 MB / 462.7 MB, free: 4.91 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005732/0.1335, allocations: 419.1 kB / 463.1 MB, free: 4.5 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.147e-05/0.1336, allocations: 4 kB / 463.1 MB, free: 4.496 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 8.994e-05/0.1337, allocations: 3.938 kB / 463.1 MB, free: 4.492 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001203/0.1338, allocations: 19.84 kB / 463.1 MB, free: 4.473 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001029/0.1339, allocations: 27.89 kB / 463.1 MB, free: 4.445 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.000129/0.1341, allocations: 95.59 kB / 463.2 MB, free: 4.352 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001032/0.1342, allocations: 23.97 kB / 463.3 MB, free: 4.328 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.394e-05/0.1343, allocations: 35.86 kB / 463.3 MB, free: 4.293 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.202e-05/0.1344, allocations: 39.83 kB / 463.3 MB, free: 4.254 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.738e-05/0.1344, allocations: 4 kB / 463.3 MB, free: 4.25 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.439e-05/0.1344, allocations: 4 kB / 463.3 MB, free: 4.246 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 2.73e-05/0.1344, allocations: 19.91 kB / 463.4 MB, free: 4.227 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 6.716e-05/0.1345, allocations: 65.44 kB / 463.4 MB, free: 4.156 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 9.445e-05/0.1346, allocations: 68.08 kB / 463.5 MB, free: 4.09 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.216e-06/0.1346, allocations: 0 / 463.5 MB, free: 4.09 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.273e-06/0.1346, allocations: 0 / 463.5 MB, free: 4.09 MB / 334.1 MB Notification: Performance of Transformations before backend: time 3.717e-06/0.1346, allocations: 0 / 463.5 MB, free: 4.09 MB / 334.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0005806/0.1352, allocations: 407.2 kB / 463.9 MB, free: 3.645 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.703e-05/0.1353, allocations: 11.97 kB / 463.9 MB, free: 3.633 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.553e-05/0.1353, allocations: 8.844 kB / 463.9 MB, free: 3.625 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001784/0.1355, allocations: 192.1 kB / 464.1 MB, free: 3.398 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.41e-05/0.1355, allocations: 8.375 kB / 464.1 MB, free: 3.391 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.533e-05/0.1355, allocations: 8.125 kB / 464.1 MB, free: 3.383 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002425/0.1358, allocations: 97.58 kB / 464.2 MB, free: 3.281 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.223e-05/0.1358, allocations: 0 / 464.2 MB, free: 3.281 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.343e-05/0.1358, allocations: 7.938 kB / 464.2 MB, free: 3.273 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.929e-06/0.1359, allocations: 0 / 464.2 MB, free: 3.273 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002469/0.1361, allocations: 91.88 kB / 464.3 MB, free: 3.184 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007448/0.1369, allocations: 461.3 kB / 464.8 MB, free: 2.668 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003147/0.1372, allocations: 106.6 kB / 464.9 MB, free: 2.555 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001227/0.1373, allocations: 36.84 kB / 464.9 MB, free: 2.516 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.425e-05/0.1373, allocations: 8 kB / 464.9 MB, free: 2.508 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.534e-05/0.1374, allocations: 34.56 kB / 464.9 MB, free: 2.465 MB / 334.1 MB Notification: Performance of pre-optimization done (n=7): time 1.263e-06/0.1374, allocations: 0 / 464.9 MB, free: 2.465 MB / 334.1 MB Notification: Performance of matching and sorting (n=7): time 0.0004506/0.1378, allocations: 149.5 kB / 465.1 MB, free: 2.312 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.575e-05/0.1379, allocations: 63.28 kB / 465.1 MB, free: 2.238 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001107/0.138, allocations: 133.8 kB / 465.3 MB, free: 2.098 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.478e-05/0.138, allocations: 25.7 kB / 465.3 MB, free: 2.066 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.896e-05/0.1381, allocations: 104 kB / 465.4 MB, free: 1.961 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.847e-05/0.1381, allocations: 27.78 kB / 465.4 MB, free: 1.934 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.096e-05/0.1382, allocations: 21.66 kB / 465.5 MB, free: 1.906 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001157/0.1383, allocations: 322.8 kB / 465.8 MB, free: 1.582 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001203/0.1384, allocations: 35.98 kB / 465.8 MB, free: 1.547 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001332/0.1386, allocations: 67.41 kB / 465.9 MB, free: 1.469 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002717/0.1388, allocations: 111.3 kB / 466 MB, free: 1.348 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.204e-06/0.1388, allocations: 0 / 466 MB, free: 1.348 MB / 334.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003108/0.1392, allocations: 137.5 kB / 466.1 MB, free: 1.207 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.571e-05/0.1392, allocations: 10.34 kB / 466.1 MB, free: 1.199 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.679e-06/0.1392, allocations: 0 / 466.1 MB, free: 1.199 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.28e-05/0.1392, allocations: 0 / 466.1 MB, free: 1.199 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001569/0.1394, allocations: 43.95 kB / 466.2 MB, free: 1.156 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.266e-06/0.1394, allocations: 4 kB / 466.2 MB, free: 1.152 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001022/0.1395, allocations: 15.89 kB / 466.2 MB, free: 1.137 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.837e-06/0.1395, allocations: 0 / 466.2 MB, free: 1.137 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * 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 8.918e-05/0.1396, allocations: 125.8 kB / 466.3 MB, free: 1.004 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.087e-05/0.1397, allocations: 7.906 kB / 466.3 MB, free: 0.9961 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003415/0.14, allocations: 138.7 kB / 466.5 MB, free: 0.8516 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.769e-06/0.14, allocations: 3.938 kB / 466.5 MB, free: 0.8477 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.655e-06/0.14, allocations: 0 / 466.5 MB, free: 0.8477 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.779e-06/0.14, allocations: 3.984 kB / 466.5 MB, free: 0.8438 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002433/0.1403, allocations: 209.6 kB / 466.7 MB, free: 0.5898 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.102e-06/0.1403, allocations: 4.188 kB / 466.7 MB, free: 0.5859 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001496/0.1405, allocations: 27.97 kB / 466.7 MB, free: 0.5586 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.854e-06/0.1405, allocations: 3.938 kB / 466.7 MB, free: 0.5547 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.098e-05/0.1405, allocations: 0 / 466.7 MB, free: 0.5547 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.031e-06/0.1405, allocations: 7.938 kB / 466.7 MB, free: 0.5469 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.505e-06/0.1405, allocations: 3.984 kB / 466.7 MB, free: 0.543 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000452/0.141, allocations: 271.2 kB / 467 MB, free: 268 kB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.737e-05/0.141, allocations: 89.05 kB / 467.1 MB, free: 160 kB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.715e-05/0.141, allocations: 0 / 467.1 MB, free: 160 kB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001218/0.1412, allocations: 19.98 kB / 467.1 MB, free: 140 kB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.386e-05/0.1412, allocations: 3.984 kB / 467.1 MB, free: 136 kB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.802e-06/0.1412, allocations: 4 kB / 467.1 MB, free: 132 kB / 334.1 MB Notification: Performance of sorting global known variables: time 6.348e-05/0.1413, allocations: 110.4 kB / 467.2 MB, free: 24 kB / 334.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1413, allocations: 0 / 467.2 MB, free: 24 kB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002442/0.1416, allocations: 16 kB / 467.2 MB, free: 8 kB / 334.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (constantSpeed.phi) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * 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 Backend phase and start with SimCode phase: time 0.000106/0.1417, allocations: 95.19 kB / 467.3 MB, free: 15.91 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.000302/0.142, allocations: 107.9 kB / 467.4 MB, free: 15.8 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.633e-06/0.142, allocations: 0 / 467.4 MB, free: 15.8 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001299/0.1421, allocations: 47.91 kB / 467.5 MB, free: 15.75 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002913/0.1424, allocations: 12.19 kB / 467.5 MB, free: 15.74 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006612/0.1431, allocations: 426.2 kB / 467.9 MB, free: 15.29 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002575/0.1434, allocations: 0.6965 MB / 468.6 MB, free: 14.57 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.108e-05/0.1434, allocations: 15.44 kB / 468.6 MB, free: 14.55 MB / 350.1 MB Notification: Performance of SimCode: time 3.41e-07/0.1434, allocations: 0 / 468.6 MB, free: 14.55 MB / 350.1 MB Notification: Performance of Templates: time 0.002655/0.1461, allocations: 1.255 MB / 469.9 MB, free: 13.3 MB / 350.1 MB make -j1 -f PowerSystems_latest_PowerSystems.Examples.Wind.Test.RotorTest.makefile make -j1 -f PowerSystems_latest_PowerSystems.Examples.Wind.Test.RotorTest.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.Test.RotorTestCalcHelperMain.o OMCppPowerSystems_latest_PowerSystems.Examples.Wind.Test.RotorTestCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppPowerSystems_latest_PowerSystems.Examples.Wind.Test.RotorTestCalcHelperMain.o] Error 1