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.0008715/0.0008714, allocations: 94.38 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.000919/0.0009189, allocations: 179.3 kB / 17.85 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.621/1.621, allocations: 205.4 MB / 224 MB, free: 13.08 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo): time 0.1694/0.1694, allocations: 38.04 MB / 310.3 MB, free: 6.023 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.0005234/0.0005235, allocations: 15.12 kB / 377.1 MB, free: 3.098 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3125/0.3131, allocations: 56.34 MB / 433.5 MB, free: 18.83 MB / 318.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.PowerWorld.Test.WindFarmGridTest): time 0.004009/0.3172, allocations: 3.585 MB / 437.1 MB, free: 15.23 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002455/0.3197, allocations: 1.951 MB / 439 MB, free: 13.27 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001921/0.3199, allocations: 19.88 kB / 439 MB, free: 13.25 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003867/0.3203, allocations: 71.53 kB / 439.1 MB, free: 13.18 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004816/0.3208, allocations: 230.9 kB / 439.3 MB, free: 12.95 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004657/0.3212, allocations: 215 kB / 439.5 MB, free: 12.74 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004368/0.3217, allocations: 0.522 MB / 440.1 MB, free: 12.22 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005784/0.3223, allocations: 358.9 kB / 440.4 MB, free: 11.85 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003285/0.3226, allocations: 183.2 kB / 440.6 MB, free: 11.67 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001984/0.3228, allocations: 195.3 kB / 440.8 MB, free: 11.48 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 3.335e-05/0.3229, allocations: 12 kB / 440.8 MB, free: 11.47 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003105/0.3232, allocations: 227.5 kB / 441 MB, free: 11.25 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 8.826e-05/0.3233, allocations: 99.69 kB / 441.1 MB, free: 11.15 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 6.562e-05/0.3234, allocations: 85.52 kB / 441.2 MB, free: 11.06 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003917/0.3238, allocations: 478.8 kB / 441.7 MB, free: 10.59 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.731e-06/0.3238, allocations: 0 / 441.7 MB, free: 10.59 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.344e-06/0.3238, allocations: 0 / 441.7 MB, free: 10.59 MB / 318.1 MB Notification: Performance of Transformations before backend: time 6.322e-06/0.3238, allocations: 0 / 441.7 MB, free: 10.59 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.0009661/0.3248, allocations: 0.6925 MB / 442.4 MB, free: 9.844 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.323e-05/0.3248, allocations: 8.031 kB / 442.4 MB, free: 9.836 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008145/0.3256, allocations: 119.4 kB / 442.5 MB, free: 9.719 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004256/0.3261, allocations: 390.5 kB / 442.9 MB, free: 9.301 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.388e-05/0.3261, allocations: 20.44 kB / 442.9 MB, free: 9.277 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.989e-05/0.3262, allocations: 23.98 kB / 442.9 MB, free: 9.254 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006793/0.3269, allocations: 450.8 kB / 443.3 MB, free: 8.785 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.286e-05/0.3269, allocations: 3.938 kB / 443.3 MB, free: 8.781 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.478e-05/0.3269, allocations: 7.984 kB / 443.4 MB, free: 8.773 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.555e-05/0.327, allocations: 24.39 kB / 443.4 MB, free: 8.75 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008231/0.3278, allocations: 0.5169 MB / 443.9 MB, free: 8.23 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001638/0.3294, allocations: 1.694 MB / 445.6 MB, free: 6.441 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000787/0.3302, allocations: 389 kB / 446 MB, free: 6.043 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00029/0.3305, allocations: 153.6 kB / 446.1 MB, free: 5.887 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.448e-05/0.3306, allocations: 8 kB / 446.1 MB, free: 5.879 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004523/0.331, allocations: 298.9 kB / 446.4 MB, free: 5.547 MB / 318.1 MB Notification: Performance of pre-optimization done (n=31): time 1.663e-06/0.3311, allocations: 0 / 446.4 MB, free: 5.547 MB / 318.1 MB Notification: Performance of matching and sorting (n=31): time 0.001134/0.3322, allocations: 0.556 MB / 447 MB, free: 4.984 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.294e-05/0.3323, allocations: 298.7 kB / 447.3 MB, free: 4.625 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002734/0.3326, allocations: 324.5 kB / 447.6 MB, free: 4.293 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.654e-05/0.3326, allocations: 37.73 kB / 447.6 MB, free: 4.25 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001082/0.3327, allocations: 196.4 kB / 447.8 MB, free: 4.051 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.331e-05/0.3328, allocations: 106.5 kB / 447.9 MB, free: 3.945 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.707e-05/0.3328, allocations: 11.94 kB / 447.9 MB, free: 3.934 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 8.92e-05/0.3329, allocations: 338.8 kB / 448.3 MB, free: 3.594 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002925/0.3332, allocations: 155.9 kB / 448.4 MB, free: 3.441 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003277/0.3335, allocations: 292.9 kB / 448.7 MB, free: 3.094 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003308/0.3339, allocations: 213.5 kB / 448.9 MB, free: 2.879 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.196e-06/0.3339, allocations: 4 kB / 448.9 MB, free: 2.875 MB / 318.1 MB Notification: Performance of matching and sorting (n=44) (initialization): time 0.0008129/0.3347, allocations: 0.5298 MB / 449.4 MB, free: 2.332 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.146e-05/0.3348, allocations: 37.7 kB / 449.5 MB, free: 2.289 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.887e-06/0.3348, allocations: 4 kB / 449.5 MB, free: 2.285 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.828e-05/0.3348, allocations: 8.312 kB / 449.5 MB, free: 2.277 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002714/0.3351, allocations: 87.89 kB / 449.6 MB, free: 2.191 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.14e-05/0.3351, allocations: 15.92 kB / 449.6 MB, free: 2.176 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002265/0.3353, allocations: 55.66 kB / 449.6 MB, free: 2.121 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.703e-05/0.3354, allocations: 20 kB / 449.7 MB, free: 2.102 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 ($whenCondition2,$PRE.windFarm.wind.nextTimeEvent,$whenCondition1,windFarm.wind.nextTimeEvent,$PRE.windFarm.wind.nextTimeEventScaled,windFarm.wind.nextTimeEventScaled,$PRE.windFarm.disturbance.T_start,windFarm.disturbance.T_start,$PRE.windFarm.disturbance.count,windFarm.disturbance.count,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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.00017/0.3355, allocations: 201.3 kB / 449.9 MB, free: 1.895 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.803e-05/0.3356, allocations: 39.53 kB / 449.9 MB, free: 1.855 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.242e-05/0.3357, allocations: 51.16 kB / 450 MB, free: 1.809 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.252e-06/0.3357, allocations: 4 kB / 450 MB, free: 1.805 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.624e-06/0.3357, allocations: 7.938 kB / 450 MB, free: 1.797 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.35e-06/0.3357, allocations: 0 / 450 MB, free: 1.797 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000607/0.3363, allocations: 1.031 MB / 451 MB, free: 0.6875 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.725e-06/0.3364, allocations: 4 kB / 451 MB, free: 0.6836 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002074/0.3366, allocations: 68.08 kB / 451.1 MB, free: 0.6172 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.598e-06/0.3366, allocations: 8 kB / 451.1 MB, free: 0.6094 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.109e-05/0.3366, allocations: 4 kB / 451.1 MB, free: 0.6055 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.298e-06/0.3366, allocations: 8 kB / 451.1 MB, free: 0.5977 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.102e-06/0.3366, allocations: 11.92 kB / 451.1 MB, free: 0.5859 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006918/0.3373, allocations: 495.3 kB / 451.6 MB, free: 60 kB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001105/0.3374, allocations: 120.6 kB / 451.7 MB, free: 15.92 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.02e-05/0.3375, allocations: 16 kB / 451.7 MB, free: 15.91 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001914/0.3377, allocations: 31.97 kB / 451.7 MB, free: 15.88 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.013e-05/0.3378, allocations: 35.91 kB / 451.8 MB, free: 15.84 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.911e-05/0.3379, allocations: 19.98 kB / 451.8 MB, free: 15.82 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.000236/0.3381, allocations: 235 kB / 452 MB, free: 15.59 MB / 334.1 MB Notification: Performance of sort global known variables: time 2.71e-07/0.3381, allocations: 0 / 452 MB, free: 15.59 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0004302/0.3385, allocations: 79.94 kB / 452.1 MB, free: 15.51 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 (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.001107/0.3397, allocations: 478.4 kB / 452.6 MB, free: 15.1 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0008616/0.3405, allocations: 431.6 kB / 453 MB, free: 14.67 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.975e-06/0.3405, allocations: 0 / 453 MB, free: 14.67 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004203/0.341, allocations: 200.5 kB / 453.2 MB, free: 14.47 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004483/0.3414, allocations: 77.5 kB / 453.3 MB, free: 14.39 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001321/0.3428, allocations: 0.8302 MB / 454.1 MB, free: 13.51 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004294/0.3432, allocations: 0.8037 MB / 454.9 MB, free: 12.68 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001215/0.3433, allocations: 47.42 kB / 454.9 MB, free: 12.64 MB / 334.1 MB Notification: Performance of SimCode: time 3.11e-07/0.3434, allocations: 0 / 454.9 MB, free: 12.64 MB / 334.1 MB Notification: Performance of Templates: time 0.008205/0.3516, allocations: 5.346 MB / 460.3 MB, free: 7.281 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++ 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.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