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.001016/0.001016, 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.0009467/0.0009469, 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.306/1.306, allocations: 222.9 MB / 241.7 MB, free: 15.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.1717/0.1717, allocations: 38.03 MB / 329.9 MB, free: 9.102 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001096/0.001096, allocations: 58.39 kB / 398.7 MB, free: 34.55 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1288/0.1299, allocations: 58.06 MB / 456.8 MB, free: 8.559 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Wind.Test.RotorTest): time 0.004118/0.134, allocations: 2.487 MB / 459.3 MB, free: 6.047 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005665/0.1346, allocations: 427 kB / 459.7 MB, free: 5.629 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.074e-05/0.1347, allocations: 0 / 459.7 MB, free: 5.629 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001101/0.1348, allocations: 11.92 kB / 459.7 MB, free: 5.617 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001241/0.135, allocations: 19.86 kB / 459.7 MB, free: 5.598 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001007/0.1351, allocations: 19.97 kB / 459.8 MB, free: 5.578 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001336/0.1352, allocations: 99.58 kB / 459.9 MB, free: 5.48 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001088/0.1353, allocations: 19.98 kB / 459.9 MB, free: 5.461 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001023/0.1354, allocations: 39.78 kB / 459.9 MB, free: 5.422 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.441e-05/0.1355, allocations: 43.83 kB / 460 MB, free: 5.379 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.107e-05/0.1356, allocations: 8 kB / 460 MB, free: 5.371 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.833e-05/0.1356, allocations: 4 kB / 460 MB, free: 5.367 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 2.9e-05/0.1356, allocations: 15.92 kB / 460 MB, free: 5.352 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 5.664e-05/0.1357, allocations: 47.72 kB / 460 MB, free: 5.305 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001069/0.1358, allocations: 60.11 kB / 460.1 MB, free: 5.246 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.131e-06/0.1358, allocations: 4 kB / 460.1 MB, free: 5.242 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.092e-06/0.1358, allocations: 0 / 460.1 MB, free: 5.242 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.13e-06/0.1358, allocations: 0 / 460.1 MB, free: 5.242 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.0007157/0.1366, allocations: 411.2 kB / 460.5 MB, free: 4.793 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.025e-05/0.1366, allocations: 8.031 kB / 460.5 MB, free: 4.785 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.736e-05/0.1366, allocations: 12.84 kB / 460.5 MB, free: 4.773 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000189/0.1368, allocations: 196.1 kB / 460.7 MB, free: 4.543 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.218e-05/0.1369, allocations: 4.375 kB / 460.7 MB, free: 4.539 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.133e-05/0.1369, allocations: 19.97 kB / 460.7 MB, free: 4.52 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002511/0.1372, allocations: 89.58 kB / 460.8 MB, free: 4.426 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.317e-05/0.1372, allocations: 8 kB / 460.8 MB, free: 4.418 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.628e-05/0.1372, allocations: 7.984 kB / 460.8 MB, free: 4.41 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.52e-06/0.1372, allocations: 0 / 460.8 MB, free: 4.41 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002259/0.1374, allocations: 71.94 kB / 460.9 MB, free: 4.34 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008173/0.1383, allocations: 457.4 kB / 461.3 MB, free: 3.828 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003178/0.1386, allocations: 94.64 kB / 461.4 MB, free: 3.727 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001576/0.1388, allocations: 48.77 kB / 461.5 MB, free: 3.676 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.746e-05/0.1388, allocations: 0 / 461.5 MB, free: 3.676 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.585e-05/0.1388, allocations: 30.56 kB / 461.5 MB, free: 3.637 MB / 334.1 MB Notification: Performance of pre-optimization done (n=7): time 9.91e-07/0.1388, allocations: 4 kB / 461.5 MB, free: 3.633 MB / 334.1 MB Notification: Performance of matching and sorting (n=7): time 0.0004389/0.1393, allocations: 133.5 kB / 461.7 MB, free: 3.496 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.77e-05/0.1393, allocations: 55.34 kB / 461.7 MB, free: 3.43 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001246/0.1395, allocations: 137.8 kB / 461.8 MB, free: 3.285 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.738e-05/0.1395, allocations: 25.7 kB / 461.9 MB, free: 3.254 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.752e-05/0.1396, allocations: 107.9 kB / 462 MB, free: 3.145 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.681e-05/0.1396, allocations: 31.59 kB / 462 MB, free: 3.113 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.816e-05/0.1397, allocations: 21.7 kB / 462 MB, free: 3.086 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001439/0.1398, allocations: 326.8 kB / 462.3 MB, free: 2.758 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001133/0.1399, allocations: 27.98 kB / 462.4 MB, free: 2.73 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001336/0.1401, allocations: 63.41 kB / 462.4 MB, free: 2.656 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000223/0.1403, allocations: 103.3 kB / 462.5 MB, free: 2.543 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/0.1403, allocations: 0 / 462.5 MB, free: 2.543 MB / 334.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.000285/0.1406, allocations: 130 kB / 462.7 MB, free: 2.41 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.036e-05/0.1406, allocations: 8 kB / 462.7 MB, free: 2.402 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.016e-06/0.1406, allocations: 80 / 462.7 MB, free: 2.402 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.05e-05/0.1406, allocations: 4 kB / 462.7 MB, free: 2.398 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001575/0.1408, allocations: 35.86 kB / 462.7 MB, free: 2.363 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.036e-05/0.1408, allocations: 3.984 kB / 462.7 MB, free: 2.359 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001059/0.1409, allocations: 15.89 kB / 462.7 MB, free: 2.344 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.458e-06/0.141, allocations: 0 / 462.7 MB, free: 2.344 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 0.0001179/0.1411, allocations: 125.8 kB / 462.8 MB, free: 2.211 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.116e-05/0.1411, allocations: 11.91 kB / 462.9 MB, free: 2.199 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003196/0.1414, allocations: 118.3 kB / 463 MB, free: 2.074 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.017e-06/0.1415, allocations: 7.938 kB / 463 MB, free: 2.066 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.352e-06/0.1415, allocations: 192 / 463 MB, free: 2.066 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.206e-06/0.1415, allocations: 0 / 463 MB, free: 2.066 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002505/0.1417, allocations: 213.5 kB / 463.2 MB, free: 1.809 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.062e-06/0.1417, allocations: 0 / 463.2 MB, free: 1.809 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001514/0.1419, allocations: 27.98 kB / 463.2 MB, free: 1.781 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.783e-06/0.1419, allocations: 0 / 463.2 MB, free: 1.781 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.57e-05/0.1419, allocations: 3.984 kB / 463.2 MB, free: 1.777 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.375e-06/0.1419, allocations: 3.938 kB / 463.2 MB, free: 1.773 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.566e-06/0.1419, allocations: 4 kB / 463.2 MB, free: 1.77 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004384/0.1424, allocations: 251.3 kB / 463.5 MB, free: 1.508 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.416e-05/0.1424, allocations: 92.95 kB / 463.6 MB, free: 1.398 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.079e-05/0.1425, allocations: 0 / 463.6 MB, free: 1.398 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001206/0.1426, allocations: 11.92 kB / 463.6 MB, free: 1.387 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.578e-05/0.1426, allocations: 4 kB / 463.6 MB, free: 1.383 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.414e-06/0.1427, allocations: 4 kB / 463.6 MB, free: 1.379 MB / 334.1 MB Notification: Performance of sorting global known variables: time 7.603e-05/0.1427, allocations: 114 kB / 463.7 MB, free: 1.27 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.633e-06/0.1427, allocations: 0 / 463.7 MB, free: 1.27 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002342/0.143, allocations: 23.94 kB / 463.7 MB, free: 1.246 MB / 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 9.967e-05/0.1431, allocations: 95.31 kB / 463.8 MB, free: 1.145 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0002888/0.1434, allocations: 87.88 kB / 463.9 MB, free: 1.059 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.914e-06/0.1434, allocations: 0 / 463.9 MB, free: 1.059 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001161/0.1435, allocations: 43.91 kB / 463.9 MB, free: 1.016 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003474/0.1439, allocations: 11.98 kB / 464 MB, free: 1.004 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006532/0.1445, allocations: 371.7 kB / 464.3 MB, free: 0.6094 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002889/0.1448, allocations: 0.7043 MB / 465 MB, free: 15.88 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.577e-05/0.1449, allocations: 11.44 kB / 465 MB, free: 15.87 MB / 350.1 MB Notification: Performance of SimCode: time 2.1e-07/0.1449, allocations: 0 / 465 MB, free: 15.87 MB / 350.1 MB Notification: Performance of Templates: time 0.002988/0.1479, allocations: 1.279 MB / 466.3 MB, free: 14.6 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