Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.PowerWorld.Test.WindFarmGridTest.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.PowerWorld.Test.WindFarmGridTest,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.PowerWorld.Test.WindFarmGridTest") translateModel(PowerSystems.Examples.PowerWorld.Test.WindFarmGridTest,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.PowerWorld.Test.WindFarmGridTest") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008953/0.0008956, allocations: 91.8 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.001212/0.001212, allocations: 175.3 kB / 18.21 MB, free: 5.68 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.779/1.779, allocations: 205.4 MB / 224.4 MB, free: 13.06 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo): time 0.1968/0.1968, allocations: 38.05 MB / 310.7 MB, free: 5.914 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.0006196/0.0006198, allocations: 23.28 kB / 377.8 MB, free: 2.727 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.305/0.3056, allocations: 56.32 MB / 434.1 MB, free: 18.7 MB / 318.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.PowerWorld.Test.WindFarmGridTest): time 0.004041/0.3097, allocations: 3.751 MB / 437.9 MB, free: 14.93 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002534/0.3123, allocations: 2.067 MB / 439.9 MB, free: 12.85 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002147/0.3126, allocations: 19.88 kB / 440 MB, free: 12.83 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003622/0.3129, allocations: 67.61 kB / 440 MB, free: 12.76 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005246/0.3135, allocations: 251.1 kB / 440.3 MB, free: 12.52 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005541/0.314, allocations: 253.5 kB / 440.5 MB, free: 12.27 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004803/0.3145, allocations: 0.6157 MB / 441.1 MB, free: 11.66 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005857/0.3151, allocations: 380.3 kB / 441.5 MB, free: 11.27 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003499/0.3155, allocations: 183.2 kB / 441.7 MB, free: 11.09 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002464/0.3157, allocations: 211.1 kB / 441.9 MB, free: 10.88 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 3.391e-05/0.3158, allocations: 12 kB / 441.9 MB, free: 10.87 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005841/0.3164, allocations: 451 kB / 442.4 MB, free: 10.43 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 9.647e-05/0.3165, allocations: 103.7 kB / 442.5 MB, free: 10.33 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001424/0.3166, allocations: 184.7 kB / 442.6 MB, free: 10.14 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004194/0.3171, allocations: 486.9 kB / 443.1 MB, free: 9.664 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.979e-06/0.3171, allocations: 0 / 443.1 MB, free: 9.664 MB / 318.1 MB Notification: Performance of FrontEnd: time 3.787e-06/0.3171, allocations: 3.984 kB / 443.1 MB, free: 9.66 MB / 318.1 MB Notification: Performance of Transformations before backend: time 5.931e-06/0.3171, allocations: 3.938 kB / 443.1 MB, free: 9.656 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: 59 * Number of variables: 59 Notification: Performance of Generate backend data structure: time 0.001047/0.3181, allocations: 0.6849 MB / 443.8 MB, free: 8.918 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.993e-05/0.3182, allocations: 8.031 kB / 443.8 MB, free: 8.91 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008258/0.319, allocations: 112.3 kB / 443.9 MB, free: 8.801 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004818/0.3195, allocations: 399.7 kB / 444.3 MB, free: 8.371 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.201e-05/0.3196, allocations: 20.81 kB / 444.3 MB, free: 8.348 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.634e-05/0.3196, allocations: 28.06 kB / 444.4 MB, free: 8.32 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007604/0.3204, allocations: 458.8 kB / 444.8 MB, free: 7.848 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.334e-05/0.3204, allocations: 0 / 444.8 MB, free: 7.848 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.67e-05/0.3204, allocations: 11.98 kB / 444.8 MB, free: 7.836 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.109e-05/0.3205, allocations: 16.44 kB / 444.8 MB, free: 7.82 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008818/0.3214, allocations: 0.5246 MB / 445.4 MB, free: 7.293 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00167/0.323, allocations: 1.682 MB / 447 MB, free: 5.516 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008468/0.3239, allocations: 401 kB / 447.4 MB, free: 5.105 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003308/0.3242, allocations: 153.6 kB / 447.6 MB, free: 4.949 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.831e-05/0.3243, allocations: 11.98 kB / 447.6 MB, free: 4.938 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004984/0.3248, allocations: 298.9 kB / 447.9 MB, free: 4.605 MB / 318.1 MB Notification: Performance of pre-optimization done (n=31): time 1.503e-06/0.3248, allocations: 0 / 447.9 MB, free: 4.605 MB / 318.1 MB Notification: Performance of matching and sorting (n=31): time 0.001247/0.3261, allocations: 0.56 MB / 448.4 MB, free: 4.039 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.405e-05/0.3262, allocations: 298.7 kB / 448.7 MB, free: 3.68 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002949/0.3265, allocations: 328.5 kB / 449.1 MB, free: 3.348 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.99e-05/0.3265, allocations: 41.73 kB / 449.1 MB, free: 3.301 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001034/0.3266, allocations: 192.3 kB / 449.3 MB, free: 3.105 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.013e-05/0.3267, allocations: 106.6 kB / 449.4 MB, free: 3 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.903e-05/0.3268, allocations: 41.69 kB / 449.4 MB, free: 2.953 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 8.06e-05/0.3268, allocations: 346.8 kB / 449.8 MB, free: 2.605 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003339/0.3272, allocations: 151.9 kB / 449.9 MB, free: 2.457 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003744/0.3276, allocations: 285 kB / 450.2 MB, free: 2.117 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007258/0.3283, allocations: 493.6 kB / 450.7 MB, free: 1.57 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.847e-06/0.3283, allocations: 0 / 450.7 MB, free: 1.57 MB / 318.1 MB Notification: Performance of matching and sorting (n=44) (initialization): time 0.000928/0.3292, allocations: 0.5453 MB / 451.2 MB, free: 1.012 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.672e-05/0.3293, allocations: 37.7 kB / 451.3 MB, free: 0.9688 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.736e-06/0.3293, allocations: 4 kB / 451.3 MB, free: 0.9648 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.021e-05/0.3293, allocations: 8 kB / 451.3 MB, free: 0.957 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003069/0.3296, allocations: 83.89 kB / 451.4 MB, free: 0.875 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.348e-05/0.3297, allocations: 11.92 kB / 451.4 MB, free: 0.8633 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002603/0.3299, allocations: 55.89 kB / 451.4 MB, free: 0.8086 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.168e-05/0.33, allocations: 23.98 kB / 451.4 MB, free: 0.7852 MB / 318.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 (43): * Single equations (assignments): 42 * 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.0001771/0.3302, allocations: 185.7 kB / 451.6 MB, free: 0.5938 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.703e-05/0.3302, allocations: 39.56 kB / 451.7 MB, free: 0.5547 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.884e-05/0.3303, allocations: 51.16 kB / 451.7 MB, free: 0.5078 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.761e-06/0.3303, allocations: 4 kB / 451.7 MB, free: 0.5039 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.228e-06/0.3304, allocations: 8 kB / 451.7 MB, free: 0.4961 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.971e-06/0.3304, allocations: 0 / 451.7 MB, free: 0.4961 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008825/0.3313, allocations: 1.031 MB / 452.8 MB, free: 15.38 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.505e-06/0.3313, allocations: 7.969 kB / 452.8 MB, free: 15.38 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002471/0.3315, allocations: 71.89 kB / 452.8 MB, free: 15.3 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.172e-06/0.3315, allocations: 4 kB / 452.8 MB, free: 15.3 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.895e-05/0.3316, allocations: 12 kB / 452.8 MB, free: 15.29 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.668e-06/0.3316, allocations: 4 kB / 452.9 MB, free: 15.29 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.416e-06/0.3316, allocations: 4 kB / 452.9 MB, free: 15.28 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009671/0.3326, allocations: 499.2 kB / 453.3 MB, free: 14.75 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.17e-05/0.3327, allocations: 116.7 kB / 453.5 MB, free: 14.62 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.306e-05/0.3327, allocations: 16 kB / 453.5 MB, free: 14.6 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002192/0.333, allocations: 39.89 kB / 453.5 MB, free: 14.56 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001071/0.3331, allocations: 39.83 kB / 453.6 MB, free: 14.52 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.55e-05/0.3331, allocations: 16 kB / 453.6 MB, free: 14.51 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0002577/0.3334, allocations: 239 kB / 453.8 MB, free: 14.28 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3334, allocations: 0 / 453.8 MB, free: 14.28 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0004202/0.3338, allocations: 91.83 kB / 453.9 MB, free: 14.19 MB / 334.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * 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 (31): * Single equations (assignments): 26 * 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.00114/0.335, allocations: 464.8 kB / 454.3 MB, free: 13.79 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0009378/0.3359, allocations: 431.6 kB / 454.8 MB, free: 13.35 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 3.246e-06/0.3359, allocations: 0 / 454.8 MB, free: 13.35 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004525/0.3364, allocations: 200.6 kB / 455 MB, free: 13.16 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005521/0.337, allocations: 69.5 kB / 455 MB, free: 13.09 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001351/0.3383, allocations: 0.8768 MB / 455.9 MB, free: 12.15 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004178/0.3387, allocations: 0.8076 MB / 456.7 MB, free: 11.32 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001226/0.3389, allocations: 43.42 kB / 456.8 MB, free: 11.28 MB / 334.1 MB Notification: Performance of SimCode: time 2.41e-07/0.3389, allocations: 0 / 456.8 MB, free: 11.28 MB / 334.1 MB Notification: Performance of Templates: time 0.008492/0.3474, allocations: 5.33 MB / 462.1 MB, free: 5.941 MB / 334.1 MB make -j1 -f PowerSystems_PowerSystems.Examples.PowerWorld.Test.WindFarmGridTest.makefile make -j1 -f PowerSystems_PowerSystems.Examples.PowerWorld.Test.WindFarmGridTest.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_PowerSystems.Examples.PowerWorld.Test.WindFarmGridTestCalcHelperMain.o OMCppPowerSystems_PowerSystems.Examples.PowerWorld.Test.WindFarmGridTestCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppPowerSystems_PowerSystems.Examples.PowerWorld.Test.WindFarmGridTestCalcHelperMain.o] Error 1