Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.Generic.Test.GeneratorTest.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.Generic.Test.GeneratorTest,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|generator.p.1.|generator.p.2.|generator.phi",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.Generic.Test.GeneratorTest") translateModel(PowerSystems.Examples.Generic.Test.GeneratorTest,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|generator.p.1.|generator.p.2.|generator.phi",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.Generic.Test.GeneratorTest") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001108/0.001109, allocations: 95.41 kB / 17.31 MB, free: 5.59 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.001792/0.001793, allocations: 181.6 kB / 18.21 MB, free: 5.191 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.367/1.367, allocations: 223.2 MB / 242.2 MB, free: 14.48 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.1807/0.1807, allocations: 38.09 MB / 331.5 MB, free: 8.523 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000352/0.0003521, allocations: 12 kB / 401.4 MB, free: 34.13 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1348/0.1352, allocations: 59.16 MB / 460.5 MB, free: 7.047 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Generic.Test.GeneratorTest): time 0.004095/0.1393, allocations: 3.192 MB / 463.7 MB, free: 3.832 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001675/0.141, allocations: 1.271 MB / 465 MB, free: 2.555 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001299/0.1411, allocations: 11.88 kB / 465 MB, free: 2.543 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001556/0.1413, allocations: 27.77 kB / 465 MB, free: 2.516 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004143/0.1417, allocations: 163.3 kB / 465.2 MB, free: 2.355 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000278/0.142, allocations: 119.7 kB / 465.3 MB, free: 2.238 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004619/0.1425, allocations: 390.8 kB / 465.7 MB, free: 1.855 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005255/0.143, allocations: 262.9 kB / 465.9 MB, free: 1.582 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001598/0.1432, allocations: 95.52 kB / 466 MB, free: 1.488 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002632/0.1435, allocations: 111.5 kB / 466.2 MB, free: 1.379 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.009e-05/0.1435, allocations: 8 kB / 466.2 MB, free: 1.371 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004041/0.1439, allocations: 283.3 kB / 466.4 MB, free: 1.094 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 7.077e-05/0.144, allocations: 55.81 kB / 466.5 MB, free: 1.039 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001263/0.1441, allocations: 117.2 kB / 466.6 MB, free: 0.918 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002475/0.1444, allocations: 207.5 kB / 466.8 MB, free: 0.7148 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.647e-06/0.1444, allocations: 0 / 466.8 MB, free: 0.7148 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.663e-06/0.1444, allocations: 0 / 466.8 MB, free: 0.7148 MB / 334.1 MB Notification: Performance of Transformations before backend: time 4.018e-06/0.1444, allocations: 0 / 466.8 MB, free: 0.7148 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: 44 * Number of variables: 44 Notification: Performance of Generate backend data structure: time 0.0006895/0.1451, allocations: 475 kB / 467.3 MB, free: 208 kB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.555e-05/0.1451, allocations: 12.03 kB / 467.3 MB, free: 196 kB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006413/0.1458, allocations: 72.67 kB / 467.4 MB, free: 124 kB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000376/0.1462, allocations: 264.6 kB / 467.6 MB, free: 15.82 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.291e-05/0.1462, allocations: 12.69 kB / 467.6 MB, free: 15.81 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.275e-05/0.1463, allocations: 16.38 kB / 467.6 MB, free: 15.8 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000418/0.1467, allocations: 272 kB / 467.9 MB, free: 15.51 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.453e-05/0.1467, allocations: 0 / 467.9 MB, free: 15.51 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.168e-05/0.1467, allocations: 4 kB / 467.9 MB, free: 15.5 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.083e-05/0.1468, allocations: 24.31 kB / 467.9 MB, free: 15.48 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003376/0.1471, allocations: 216.3 kB / 468.1 MB, free: 15.27 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001609/0.1487, allocations: 1.214 MB / 469.4 MB, free: 13.95 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002813/0.149, allocations: 133.1 kB / 469.5 MB, free: 13.8 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.423e-05/0.1491, allocations: 49.84 kB / 469.5 MB, free: 13.75 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.042e-05/0.1492, allocations: 4 kB / 469.5 MB, free: 13.75 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.791e-05/0.1492, allocations: 34.56 kB / 469.6 MB, free: 13.7 MB / 350.1 MB Notification: Performance of pre-optimization done (n=12): time 1.403e-06/0.1492, allocations: 3.938 kB / 469.6 MB, free: 13.7 MB / 350.1 MB Notification: Performance of matching and sorting (n=12): time 0.0003325/0.1495, allocations: 165.3 kB / 469.7 MB, free: 13.53 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.636e-05/0.1496, allocations: 85.17 kB / 469.8 MB, free: 13.43 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002045/0.1498, allocations: 210.9 kB / 470 MB, free: 13.21 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.605e-05/0.1498, allocations: 25.7 kB / 470.1 MB, free: 13.18 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.998e-05/0.1499, allocations: 159.9 kB / 470.2 MB, free: 13.02 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.704e-05/0.15, allocations: 43.3 kB / 470.3 MB, free: 12.98 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.592e-05/0.15, allocations: 25.7 kB / 470.3 MB, free: 12.95 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001202/0.1501, allocations: 326.8 kB / 470.6 MB, free: 12.62 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.199e-05/0.1502, allocations: 43.97 kB / 470.6 MB, free: 12.58 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001198/0.1503, allocations: 122.1 kB / 470.8 MB, free: 12.42 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002145/0.1506, allocations: 186.5 kB / 470.9 MB, free: 12.2 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.765e-06/0.1506, allocations: 3.938 kB / 470.9 MB, free: 12.2 MB / 350.1 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0002926/0.1509, allocations: 205.1 kB / 471.1 MB, free: 11.99 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.5e-05/0.1509, allocations: 4 kB / 471.1 MB, free: 11.99 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.573e-06/0.1509, allocations: 4.344 kB / 471.2 MB, free: 11.98 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.01e-05/0.1509, allocations: 11.94 kB / 471.2 MB, free: 11.97 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002284/0.1512, allocations: 51.91 kB / 471.2 MB, free: 11.92 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001115/0.1523, allocations: 1.325 MB / 472.5 MB, free: 10.47 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000106/0.1524, allocations: 19.75 kB / 472.6 MB, free: 10.45 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.039e-05/0.1524, allocations: 15.98 kB / 472.6 MB, free: 10.43 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 1 (system.initime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (23): * Single equations (assignments): 22 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001282/0.1526, allocations: 141.7 kB / 472.7 MB, free: 10.29 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.38e-05/0.1526, allocations: 23.73 kB / 472.7 MB, free: 10.26 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002369/0.1529, allocations: 139 kB / 472.9 MB, free: 10.11 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.074e-06/0.1529, allocations: 0 / 472.9 MB, free: 10.11 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.563e-06/0.1529, allocations: 0 / 472.9 MB, free: 10.11 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.116e-06/0.1529, allocations: 8.062 kB / 472.9 MB, free: 10.11 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006461/0.1536, allocations: 499.9 kB / 473.4 MB, free: 9.555 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.013e-06/0.1536, allocations: 0 / 473.4 MB, free: 9.555 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001682/0.1537, allocations: 31.92 kB / 473.4 MB, free: 9.523 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.594e-06/0.1538, allocations: 0 / 473.4 MB, free: 9.523 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.719e-05/0.1538, allocations: 11.98 kB / 473.4 MB, free: 9.512 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001016/0.1548, allocations: 1.321 MB / 474.7 MB, free: 8.059 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.48e-06/0.1548, allocations: 7.969 kB / 474.7 MB, free: 8.051 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004103/0.1552, allocations: 298 kB / 475 MB, free: 7.734 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.119e-05/0.1553, allocations: 92.91 kB / 475.1 MB, free: 7.625 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.365e-05/0.1553, allocations: 8 kB / 475.1 MB, free: 7.617 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.471e-05/0.1554, allocations: 3.938 kB / 475.1 MB, free: 7.613 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.358e-05/0.1555, allocations: 11.98 kB / 475.1 MB, free: 7.602 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.218e-05/0.1555, allocations: 12 kB / 475.2 MB, free: 7.59 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001481/0.1556, allocations: 143.3 kB / 475.3 MB, free: 7.449 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1557, allocations: 7.938 kB / 475.3 MB, free: 7.441 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003331/0.156, allocations: 47.84 kB / 475.4 MB, free: 7.395 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 2 (inertia.w,constantTorque.phi) * Number of discrete variables: 1 (system.initime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (13): * Single equations (assignments): 11 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001289/0.1561, allocations: 99.23 kB / 475.4 MB, free: 7.289 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0003037/0.1564, allocations: 140.1 kB / 475.6 MB, free: 7.152 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 5.811e-06/0.1565, allocations: 4 kB / 475.6 MB, free: 7.148 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001566/0.1566, allocations: 59.91 kB / 475.6 MB, free: 7.09 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004202/0.1571, allocations: 28.86 kB / 475.7 MB, free: 7.066 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001052/0.1581, allocations: 0.6712 MB / 476.3 MB, free: 6.355 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000525/0.1587, allocations: 0.744 MB / 477.1 MB, free: 5.582 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.465e-05/0.1587, allocations: 19.44 kB / 477.1 MB, free: 5.562 MB / 350.1 MB Notification: Performance of SimCode: time 5.21e-07/0.1587, allocations: 0 / 477.1 MB, free: 5.562 MB / 350.1 MB Notification: Performance of Templates: time 0.004611/0.1633, allocations: 2.976 MB / 480.1 MB, free: 2.586 MB / 350.1 MB make -j1 -f PowerSystems_latest_PowerSystems.Examples.Generic.Test.GeneratorTest.makefile make -j1 -f PowerSystems_latest_PowerSystems.Examples.Generic.Test.GeneratorTest.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_latest_PowerSystems.Examples.Generic.Test.GeneratorTestCalcHelperMain.o OMCppPowerSystems_latest_PowerSystems.Examples.Generic.Test.GeneratorTestCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppPowerSystems_latest_PowerSystems.Examples.Generic.Test.GeneratorTestCalcHelperMain.o] Error 1