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.0007489/0.000749, allocations: 91.38 kB / 16.95 MB, free: 5.555 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.0008143/0.0008142, allocations: 191.6 kB / 17.85 MB, free: 5.227 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.369/1.369, allocations: 223.2 MB / 241.8 MB, free: 180 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.08 MB / 331 MB, free: 8.848 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003597/0.0003597, allocations: 12 kB / 400.7 MB, free: 34.52 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.141/0.1414, allocations: 59.17 MB / 459.9 MB, free: 7.422 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Wind.Test.RotorTest): time 0.004496/0.146, allocations: 2.101 MB / 462 MB, free: 5.301 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007937/0.1469, allocations: 407.4 kB / 462.4 MB, free: 4.902 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.157e-05/0.147, allocations: 0 / 462.4 MB, free: 4.902 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001082/0.1471, allocations: 11.92 kB / 462.4 MB, free: 4.891 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001338/0.1472, allocations: 15.86 kB / 462.4 MB, free: 4.875 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001056/0.1473, allocations: 23.91 kB / 462.4 MB, free: 4.852 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002171/0.1476, allocations: 87.64 kB / 462.5 MB, free: 4.766 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001241/0.1477, allocations: 19.98 kB / 462.5 MB, free: 4.746 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001059/0.1478, allocations: 35.84 kB / 462.6 MB, free: 4.711 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.38e-05/0.1479, allocations: 39.78 kB / 462.6 MB, free: 4.672 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.403e-05/0.1479, allocations: 4 kB / 462.6 MB, free: 4.668 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.894e-05/0.148, allocations: 4 kB / 462.6 MB, free: 4.664 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 2.696e-05/0.148, allocations: 19.91 kB / 462.6 MB, free: 4.645 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 3.993e-05/0.148, allocations: 41.64 kB / 462.7 MB, free: 4.598 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001039/0.1482, allocations: 68.08 kB / 462.7 MB, free: 4.531 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.592e-06/0.1482, allocations: 0 / 462.7 MB, free: 4.531 MB / 334.1 MB Notification: Performance of FrontEnd: time 3.026e-06/0.1482, allocations: 0 / 462.7 MB, free: 4.531 MB / 334.1 MB Notification: Performance of Transformations before backend: time 4.819e-06/0.1482, allocations: 0 / 462.7 MB, free: 4.531 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.000661/0.1489, allocations: 403.1 kB / 463.1 MB, free: 4.09 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.368e-05/0.1489, allocations: 12.03 kB / 463.1 MB, free: 4.078 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.92e-05/0.149, allocations: 7.906 kB / 463.1 MB, free: 4.07 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003047/0.1493, allocations: 189.9 kB / 463.3 MB, free: 3.848 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.534e-05/0.1493, allocations: 8 kB / 463.3 MB, free: 3.84 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.905e-05/0.1493, allocations: 11.95 kB / 463.3 MB, free: 3.828 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002548/0.1496, allocations: 93.58 kB / 463.4 MB, free: 3.73 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.272e-05/0.1496, allocations: 3.938 kB / 463.4 MB, free: 3.727 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.532e-05/0.1496, allocations: 4 kB / 463.4 MB, free: 3.723 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.663e-06/0.1496, allocations: 4 kB / 463.5 MB, free: 3.719 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002438/0.1499, allocations: 83.94 kB / 463.5 MB, free: 3.637 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009489/0.1509, allocations: 457.3 kB / 464 MB, free: 3.125 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003305/0.1512, allocations: 106.6 kB / 464.1 MB, free: 3.012 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001688/0.1514, allocations: 44.84 kB / 464.1 MB, free: 2.965 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.996e-05/0.1514, allocations: 4 kB / 464.1 MB, free: 2.961 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.167e-05/0.1514, allocations: 30.56 kB / 464.2 MB, free: 2.922 MB / 334.1 MB Notification: Performance of pre-optimization done (n=7): time 1.173e-06/0.1515, allocations: 0 / 464.2 MB, free: 2.922 MB / 334.1 MB Notification: Performance of matching and sorting (n=7): time 0.0004649/0.1519, allocations: 161.7 kB / 464.3 MB, free: 2.758 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001679/0.1521, allocations: 51.41 kB / 464.4 MB, free: 2.695 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001366/0.1522, allocations: 145.7 kB / 464.5 MB, free: 2.543 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.039e-05/0.1523, allocations: 29.7 kB / 464.5 MB, free: 2.508 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001082/0.1524, allocations: 96.05 kB / 464.6 MB, free: 2.41 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.785e-05/0.1524, allocations: 31.55 kB / 464.7 MB, free: 2.379 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.493e-06/0.1524, allocations: 3.938 kB / 464.7 MB, free: 2.375 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0002451/0.1527, allocations: 326.8 kB / 465 MB, free: 2.047 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002847/0.153, allocations: 35.98 kB / 465 MB, free: 2.012 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000124/0.1531, allocations: 63.41 kB / 465.1 MB, free: 1.938 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001174/0.1532, allocations: 47.97 kB / 465.1 MB, free: 1.891 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.824e-06/0.1533, allocations: 0 / 465.1 MB, free: 1.891 MB / 334.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003517/0.1536, allocations: 145.5 kB / 465.3 MB, free: 1.742 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.767e-05/0.1536, allocations: 14.28 kB / 465.3 MB, free: 1.73 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.003e-06/0.1537, allocations: 3.984 kB / 465.3 MB, free: 1.727 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.122e-05/0.1537, allocations: 0 / 465.3 MB, free: 1.727 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000145/0.1538, allocations: 27.98 kB / 465.3 MB, free: 1.699 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.867e-06/0.1538, allocations: 7.953 kB / 465.3 MB, free: 1.691 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.458e-05/0.1539, allocations: 16.02 kB / 465.3 MB, free: 1.676 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.148e-05/0.154, allocations: 4 kB / 465.3 MB, free: 1.672 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001133/0.1541, allocations: 121.8 kB / 465.5 MB, free: 1.543 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.987e-05/0.1541, allocations: 11.84 kB / 465.5 MB, free: 1.531 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003317/0.1544, allocations: 134.2 kB / 465.6 MB, free: 1.391 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.759e-06/0.1545, allocations: 0 / 465.6 MB, free: 1.391 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.111e-06/0.1545, allocations: 0 / 465.6 MB, free: 1.391 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.606e-06/0.1545, allocations: 7.953 kB / 465.6 MB, free: 1.383 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002643/0.1548, allocations: 205.8 kB / 465.8 MB, free: 1.133 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.292e-06/0.1548, allocations: 0 / 465.8 MB, free: 1.133 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000149/0.1549, allocations: 27.92 kB / 465.8 MB, free: 1.105 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.034e-06/0.1549, allocations: 0 / 465.8 MB, free: 1.105 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.175e-05/0.155, allocations: 0 / 465.8 MB, free: 1.105 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.268e-06/0.155, allocations: 8 kB / 465.9 MB, free: 1.098 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.705e-06/0.155, allocations: 0 / 465.9 MB, free: 1.098 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005861/0.1556, allocations: 283.7 kB / 466.1 MB, free: 0.8047 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.27e-05/0.1556, allocations: 81.02 kB / 466.2 MB, free: 0.707 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.241e-05/0.1557, allocations: 4.031 kB / 466.2 MB, free: 0.7031 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001078/0.1558, allocations: 7.984 kB / 466.2 MB, free: 0.6953 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.17e-05/0.1558, allocations: 4 kB / 466.2 MB, free: 0.6914 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.506e-06/0.1558, allocations: 8 kB / 466.2 MB, free: 0.6836 MB / 334.1 MB Notification: Performance of sorting global known variables: time 8.52e-05/0.1559, allocations: 110.4 kB / 466.3 MB, free: 0.5781 MB / 334.1 MB Notification: Performance of sort global known variables: time 3.31e-07/0.1559, allocations: 8 kB / 466.3 MB, free: 0.5703 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002379/0.1562, allocations: 16 kB / 466.4 MB, free: 0.5547 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001139/0.1563, allocations: 95.25 kB / 466.5 MB, free: 464 kB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.000441/0.1567, allocations: 96.02 kB / 466.6 MB, free: 368 kB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.924e-06/0.1568, allocations: 0 / 466.6 MB, free: 368 kB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001171/0.1569, allocations: 51.91 kB / 466.6 MB, free: 316 kB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003057/0.1572, allocations: 11.25 kB / 466.6 MB, free: 308 kB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007259/0.1579, allocations: 422.2 kB / 467 MB, free: 15.85 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004847/0.1584, allocations: 0.7004 MB / 467.7 MB, free: 15.12 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.111e-05/0.1585, allocations: 15.44 kB / 467.7 MB, free: 15.11 MB / 350.1 MB Notification: Performance of SimCode: time 2.21e-07/0.1585, allocations: 0 / 467.7 MB, free: 15.11 MB / 350.1 MB Notification: Performance of Templates: time 0.002905/0.1614, allocations: 1.255 MB / 469 MB, free: 13.86 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++ NOTFOUND -Winvalid-pch -O0 -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/c/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