Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo", uses=false) Using package PowerSystems with version 1.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.Wind.Test.RotorTest") translateModel(PowerSystems.Examples.Wind.Test.RotorTest,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_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.0008947/0.0008948, allocations: 92.27 kB / 16.96 MB, free: 6.461 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.0008897/0.00089, allocations: 178.8 kB / 17.84 MB, free: 6 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.582/1.582, allocations: 205.4 MB / 224 MB, free: 13.09 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo): time 0.1763/0.1763, allocations: 38.03 MB / 310.3 MB, free: 6.031 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005207/0.0005208, allocations: 15.12 kB / 377.1 MB, free: 3.098 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2732/0.2738, allocations: 56.33 MB / 433.5 MB, free: 18.83 MB / 318.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Wind.Test.RotorTest): time 0.002254/0.2761, allocations: 2.103 MB / 435.6 MB, free: 16.71 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004758/0.2766, allocations: 452.1 kB / 436 MB, free: 16.26 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.816e-05/0.2767, allocations: 0 / 436 MB, free: 16.26 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 8.029e-05/0.2768, allocations: 11.92 kB / 436 MB, free: 16.25 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001084/0.2769, allocations: 19.84 kB / 436.1 MB, free: 16.23 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 8.142e-05/0.277, allocations: 19.97 kB / 436.1 MB, free: 16.21 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001065/0.2771, allocations: 87.58 kB / 436.2 MB, free: 16.12 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.905e-05/0.2772, allocations: 15.98 kB / 436.2 MB, free: 16.11 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.937e-05/0.2773, allocations: 39.86 kB / 436.2 MB, free: 16.07 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.225e-05/0.2774, allocations: 35.83 kB / 436.2 MB, free: 16.04 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.836e-05/0.2774, allocations: 8 kB / 436.3 MB, free: 16.03 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.51e-05/0.2774, allocations: 4 kB / 436.3 MB, free: 16.02 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 1.955e-05/0.2774, allocations: 23.91 kB / 436.3 MB, free: 16 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 2.173e-05/0.2775, allocations: 37.64 kB / 436.3 MB, free: 15.96 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 7.716e-05/0.2775, allocations: 57.84 kB / 436.4 MB, free: 15.9 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.881e-06/0.2775, allocations: 4 kB / 436.4 MB, free: 15.9 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.573e-06/0.2776, allocations: 0 / 436.4 MB, free: 15.9 MB / 318.1 MB Notification: Performance of Transformations before backend: time 4.799e-06/0.2776, allocations: 0 / 436.4 MB, free: 15.9 MB / 318.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.0004892/0.2781, allocations: 410.9 kB / 436.8 MB, free: 15.45 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.574e-05/0.2781, allocations: 12.03 kB / 436.8 MB, free: 15.44 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.656e-05/0.2782, allocations: 11.86 kB / 436.8 MB, free: 15.43 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001441/0.2783, allocations: 194.8 kB / 437 MB, free: 15.2 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.202e-05/0.2783, allocations: 4 kB / 437 MB, free: 15.19 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.109e-05/0.2784, allocations: 4 kB / 437 MB, free: 15.19 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002435/0.2786, allocations: 101.6 kB / 437.1 MB, free: 15.08 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.355e-05/0.2786, allocations: 3.938 kB / 437.1 MB, free: 15.08 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.671e-05/0.2787, allocations: 7.984 kB / 437.1 MB, free: 15.07 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.136e-06/0.2787, allocations: 4 kB / 437.1 MB, free: 15.07 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000216/0.2789, allocations: 87.83 kB / 437.2 MB, free: 14.98 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000776/0.2797, allocations: 457.2 kB / 437.6 MB, free: 14.47 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002947/0.28, allocations: 114.6 kB / 437.8 MB, free: 14.35 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001057/0.2801, allocations: 44.83 kB / 437.8 MB, free: 14.3 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.91e-05/0.2801, allocations: 0 / 437.8 MB, free: 14.3 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.91e-05/0.2802, allocations: 38.5 kB / 437.8 MB, free: 14.26 MB / 318.1 MB Notification: Performance of pre-optimization done (n=7): time 1.132e-06/0.2802, allocations: 0 / 437.8 MB, free: 14.26 MB / 318.1 MB Notification: Performance of matching and sorting (n=7): time 0.0004117/0.2806, allocations: 149.5 kB / 438 MB, free: 14.11 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.74e-05/0.2806, allocations: 55.41 kB / 438 MB, free: 14.04 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.748e-05/0.2807, allocations: 142.3 kB / 438.2 MB, free: 13.89 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.252e-05/0.2808, allocations: 25.7 kB / 438.2 MB, free: 13.86 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.763e-05/0.2808, allocations: 104.1 kB / 438.3 MB, free: 13.75 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.624e-05/0.2809, allocations: 23.66 kB / 438.3 MB, free: 13.73 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.432e-06/0.2809, allocations: 0 / 438.3 MB, free: 13.73 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 7.342e-05/0.281, allocations: 326.8 kB / 438.7 MB, free: 13.4 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.909e-05/0.2811, allocations: 43.97 kB / 438.7 MB, free: 13.36 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001019/0.2812, allocations: 67.34 kB / 438.8 MB, free: 13.28 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001013/0.2813, allocations: 43.98 kB / 438.8 MB, free: 13.24 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.144e-06/0.2813, allocations: 0 / 438.8 MB, free: 13.24 MB / 318.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002448/0.2815, allocations: 141.6 kB / 438.9 MB, free: 13.09 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.644e-05/0.2816, allocations: 12.09 kB / 439 MB, free: 13.08 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.63e-06/0.2816, allocations: 0 / 439 MB, free: 13.08 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.439e-05/0.2816, allocations: 0 / 439 MB, free: 13.08 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001503/0.2818, allocations: 31.92 kB / 439 MB, free: 13.05 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.384e-06/0.2818, allocations: 4 kB / 439 MB, free: 13.05 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.85e-05/0.2819, allocations: 15.89 kB / 439 MB, free: 13.03 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.003e-05/0.2819, allocations: 4 kB / 439 MB, free: 13.03 MB / 318.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 6.91e-05/0.282, allocations: 125.8 kB / 439.1 MB, free: 12.89 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.76e-05/0.282, allocations: 7.906 kB / 439.1 MB, free: 12.89 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002714/0.2823, allocations: 134.3 kB / 439.3 MB, free: 12.75 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.993e-06/0.2823, allocations: 0 / 439.3 MB, free: 12.75 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.318e-06/0.2823, allocations: 4 kB / 439.3 MB, free: 12.75 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.048e-06/0.2823, allocations: 3.984 kB / 439.3 MB, free: 12.74 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001889/0.2825, allocations: 209.7 kB / 439.5 MB, free: 12.49 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.332e-06/0.2825, allocations: 0 / 439.5 MB, free: 12.49 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001335/0.2826, allocations: 35.91 kB / 439.5 MB, free: 12.45 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.305e-06/0.2827, allocations: 3.938 kB / 439.5 MB, free: 12.45 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.251e-05/0.2827, allocations: 4 kB / 439.5 MB, free: 12.45 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.122e-06/0.2827, allocations: 0 / 439.5 MB, free: 12.45 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.2827, allocations: 0 / 439.5 MB, free: 12.45 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003955/0.2831, allocations: 275.7 kB / 439.8 MB, free: 12.16 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.993e-05/0.2831, allocations: 89.03 kB / 439.9 MB, free: 12.05 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.16e-05/0.2832, allocations: 0 / 439.9 MB, free: 12.05 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000107/0.2833, allocations: 15.98 kB / 439.9 MB, free: 12.04 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.209e-05/0.2833, allocations: 7.984 kB / 439.9 MB, free: 12.03 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.31e-06/0.2833, allocations: 0 / 439.9 MB, free: 12.03 MB / 318.1 MB Notification: Performance of sorting global known variables: time 5.045e-05/0.2834, allocations: 103.3 kB / 440 MB, free: 11.93 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.2834, allocations: 0 / 440 MB, free: 11.93 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0002375/0.2837, allocations: 24 kB / 440 MB, free: 11.91 MB / 318.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.0001134/0.2838, allocations: 95.25 kB / 440.1 MB, free: 11.8 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0002692/0.284, allocations: 95.94 kB / 440.2 MB, free: 11.71 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.815e-06/0.2841, allocations: 0 / 440.2 MB, free: 11.71 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001054/0.2842, allocations: 60.08 kB / 440.3 MB, free: 11.65 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003397/0.2845, allocations: 11.95 kB / 440.3 MB, free: 11.64 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005617/0.2851, allocations: 414.2 kB / 440.7 MB, free: 11.2 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001388/0.2852, allocations: 0.6926 MB / 441.4 MB, free: 10.48 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.623e-05/0.2853, allocations: 11.44 kB / 441.4 MB, free: 10.47 MB / 318.1 MB Notification: Performance of SimCode: time 3.3e-07/0.2853, allocations: 0 / 441.4 MB, free: 10.47 MB / 318.1 MB Notification: Performance of Templates: time 0.002579/0.2879, allocations: 1.265 MB / 442.7 MB, free: 9.211 MB / 318.1 MB make -j1 -f PowerSystems_PowerSystems.Examples.Wind.Test.RotorTest.makefile make -j1 -f PowerSystems_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_PowerSystems.Examples.Wind.Test.RotorTestCalcHelperMain.o OMCppPowerSystems_PowerSystems.Examples.Wind.Test.RotorTestCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppPowerSystems_PowerSystems.Examples.Wind.Test.RotorTestCalcHelperMain.o] Error 1