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.0009041/0.0009041, allocations: 109.2 kB / 17.17 MB, free: 6.32 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.0009078/0.0009078, allocations: 194.9 kB / 18.08 MB, free: 5.414 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.188/1.188, allocations: 205.1 MB / 223.9 MB, free: 12.49 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo): time 0.1545/0.1545, allocations: 37.98 MB / 309.2 MB, free: 6.254 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.001172/0.001172, allocations: 63.92 kB / 375.3 MB, free: 4.125 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1901/0.1912, allocations: 55.23 MB / 430.5 MB, free: 19.79 MB / 318.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.PowerWorld.Test.WindFarmGridTest): time 0.0046/0.1959, allocations: 4.137 MB / 434.6 MB, free: 15.64 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002465/0.1984, allocations: 2.102 MB / 436.7 MB, free: 13.52 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003644/0.1988, allocations: 19.88 kB / 436.8 MB, free: 13.5 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007423/0.1995, allocations: 227.2 kB / 437 MB, free: 13.28 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000568/0.2001, allocations: 259.1 kB / 437.2 MB, free: 13.03 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005385/0.2007, allocations: 233.2 kB / 437.5 MB, free: 12.8 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004667/0.2011, allocations: 0.6196 MB / 438.1 MB, free: 12.18 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003314/0.2015, allocations: 203.5 kB / 438.3 MB, free: 11.98 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003171/0.2018, allocations: 191 kB / 438.5 MB, free: 11.8 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001943/0.202, allocations: 211.2 kB / 438.7 MB, free: 11.59 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 4.57e-05/0.2021, allocations: 20 kB / 438.7 MB, free: 11.57 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005439/0.2026, allocations: 459 kB / 439.1 MB, free: 11.12 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 8.885e-05/0.2027, allocations: 111.6 kB / 439.3 MB, free: 11.02 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001198/0.2028, allocations: 167 kB / 439.4 MB, free: 10.85 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003749/0.2032, allocations: 487 kB / 439.9 MB, free: 10.38 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.408e-06/0.2032, allocations: 0 / 439.9 MB, free: 10.38 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.332e-06/0.2032, allocations: 0 / 439.9 MB, free: 10.38 MB / 318.1 MB Notification: Performance of Transformations before backend: time 5.831e-06/0.2033, allocations: 0 / 439.9 MB, free: 10.38 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.0009981/0.2043, allocations: 0.7548 MB / 440.6 MB, free: 9.566 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.914e-05/0.2043, allocations: 12.03 kB / 440.7 MB, free: 9.555 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007871/0.2051, allocations: 108.4 kB / 440.8 MB, free: 9.449 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003961/0.2055, allocations: 391.7 kB / 441.1 MB, free: 9.027 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.155e-05/0.2055, allocations: 24.8 kB / 441.2 MB, free: 9 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.086e-05/0.2056, allocations: 20.12 kB / 441.2 MB, free: 8.98 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006886/0.2063, allocations: 450.7 kB / 441.6 MB, free: 8.516 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.131e-05/0.2063, allocations: 0 / 441.6 MB, free: 8.516 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.222e-05/0.2063, allocations: 12 kB / 441.6 MB, free: 8.504 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.171e-05/0.2064, allocations: 20.42 kB / 441.7 MB, free: 8.484 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008013/0.2072, allocations: 0.5012 MB / 442.2 MB, free: 7.98 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00148/0.2087, allocations: 1.678 MB / 443.8 MB, free: 6.207 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007816/0.2095, allocations: 373.1 kB / 444.2 MB, free: 5.824 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002885/0.2098, allocations: 141.6 kB / 444.3 MB, free: 5.68 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.353e-05/0.2098, allocations: 8 kB / 444.3 MB, free: 5.672 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004338/0.2102, allocations: 290.8 kB / 444.6 MB, free: 5.348 MB / 318.1 MB Notification: Performance of pre-optimization done (n=31): time 1.553e-06/0.2103, allocations: 0 / 444.6 MB, free: 5.348 MB / 318.1 MB Notification: Performance of matching and sorting (n=31): time 0.001067/0.2113, allocations: 0.5219 MB / 445.2 MB, free: 4.82 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.936e-05/0.2114, allocations: 291.1 kB / 445.4 MB, free: 4.469 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002463/0.2117, allocations: 336.4 kB / 445.8 MB, free: 4.129 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.646e-05/0.2117, allocations: 41.69 kB / 445.8 MB, free: 4.082 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.858e-05/0.2118, allocations: 196.3 kB / 446 MB, free: 3.883 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.702e-05/0.2118, allocations: 102.6 kB / 446.1 MB, free: 3.781 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.878e-05/0.2119, allocations: 69.69 kB / 446.2 MB, free: 3.707 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 6.41e-05/0.212, allocations: 346.8 kB / 446.5 MB, free: 3.359 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003066/0.2123, allocations: 143.8 kB / 446.6 MB, free: 3.219 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003398/0.2127, allocations: 281 kB / 446.9 MB, free: 2.883 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000629/0.2133, allocations: 461.6 kB / 447.4 MB, free: 2.367 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.665e-06/0.2133, allocations: 0 / 447.4 MB, free: 2.367 MB / 318.1 MB Notification: Performance of matching and sorting (n=44) (initialization): time 0.0008232/0.2142, allocations: 0.5217 MB / 447.9 MB, free: 1.832 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.559e-05/0.2142, allocations: 33.7 kB / 447.9 MB, free: 1.793 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.793e-06/0.2142, allocations: 4 kB / 447.9 MB, free: 1.789 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.568e-05/0.2142, allocations: 8 kB / 447.9 MB, free: 1.781 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002781/0.2145, allocations: 87.88 kB / 448 MB, free: 1.695 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.318e-06/0.2145, allocations: 7.938 kB / 448 MB, free: 1.688 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002318/0.2148, allocations: 48.03 kB / 448.1 MB, free: 1.641 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.643e-05/0.2148, allocations: 20 kB / 448.1 MB, free: 1.621 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.0001381/0.2149, allocations: 189.7 kB / 448.3 MB, free: 1.426 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.491e-05/0.215, allocations: 35.56 kB / 448.3 MB, free: 1.391 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.118e-05/0.2151, allocations: 55.14 kB / 448.4 MB, free: 1.34 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.328e-06/0.2151, allocations: 4 kB / 448.4 MB, free: 1.336 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.491e-06/0.2151, allocations: 4 kB / 448.4 MB, free: 1.332 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.779e-06/0.2151, allocations: 4 kB / 448.4 MB, free: 1.328 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005392/0.2157, allocations: 1.034 MB / 449.4 MB, free: 220 kB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.056e-06/0.2157, allocations: 4 kB / 449.4 MB, free: 216 kB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002139/0.2159, allocations: 68.08 kB / 449.5 MB, free: 148 kB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.366e-06/0.2159, allocations: 4 kB / 449.5 MB, free: 144 kB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.155e-05/0.2159, allocations: 8 kB / 449.5 MB, free: 136 kB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.737e-06/0.2159, allocations: 7.984 kB / 449.5 MB, free: 128 kB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.046e-06/0.2159, allocations: 11.92 kB / 449.5 MB, free: 116 kB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008298/0.2168, allocations: 468.3 kB / 450 MB, free: 15.61 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.419e-05/0.2169, allocations: 112.7 kB / 450.1 MB, free: 15.48 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.003e-05/0.2169, allocations: 16 kB / 450.1 MB, free: 15.46 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002047/0.2171, allocations: 27.97 kB / 450.1 MB, free: 15.44 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.738e-05/0.2172, allocations: 39.83 kB / 450.2 MB, free: 15.4 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.654e-05/0.2173, allocations: 16 kB / 450.2 MB, free: 15.38 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0002199/0.2175, allocations: 235 kB / 450.4 MB, free: 15.16 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.8e-07/0.2175, allocations: 4 kB / 450.4 MB, free: 15.15 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0003811/0.2179, allocations: 95.83 kB / 450.5 MB, free: 15.06 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.0009424/0.2188, allocations: 464.1 kB / 451 MB, free: 14.66 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0008077/0.2197, allocations: 407 kB / 451.4 MB, free: 14.25 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.575e-06/0.2197, allocations: 1.125 kB / 451.4 MB, free: 14.25 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004064/0.2201, allocations: 196.3 kB / 451.6 MB, free: 14.06 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004239/0.2205, allocations: 65.56 kB / 451.6 MB, free: 13.99 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001153/0.2217, allocations: 0.8581 MB / 452.5 MB, free: 13.07 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003591/0.2221, allocations: 0.8037 MB / 453.3 MB, free: 12.24 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001232/0.2222, allocations: 43.42 kB / 453.3 MB, free: 12.2 MB / 334.1 MB Notification: Performance of SimCode: time 2.3e-07/0.2222, allocations: 0 / 453.3 MB, free: 12.2 MB / 334.1 MB Notification: Performance of Templates: time 0.006878/0.2291, allocations: 5.361 MB / 458.7 MB, free: 6.832 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