Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.Introductory.Tables.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.Introductory.Tables,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|table.u|table.y.1.|table.y.2.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.Introductory.Tables") translateModel(PowerSystems.Examples.Introductory.Tables,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|table.u|table.y.1.|table.y.2.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.Introductory.Tables") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007582/0.0007582, allocations: 93.78 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.000821/0.000821, allocations: 174.8 kB / 18.21 MB, free: 5.684 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.349/1.349, allocations: 223.2 MB / 242.2 MB, free: 272 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.1762/0.1762, allocations: 38.09 MB / 331.5 MB, free: 8.793 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003553/0.0003555, allocations: 8 kB / 401.4 MB, free: 34.2 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.128/0.1284, allocations: 59.17 MB / 460.5 MB, free: 7.117 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Introductory.Tables): time 0.001974/0.1304, allocations: 1.092 MB / 461.6 MB, free: 6.023 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006474/0.1311, allocations: 347.5 kB / 462 MB, free: 5.68 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.749e-05/0.1312, allocations: 0 / 462 MB, free: 5.68 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002157/0.1314, allocations: 27.91 kB / 462 MB, free: 5.652 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001282/0.1315, allocations: 27.91 kB / 462 MB, free: 5.625 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002308/0.1318, allocations: 67.86 kB / 462.1 MB, free: 5.559 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001359/0.1319, allocations: 59.77 kB / 462.1 MB, free: 5.5 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.002e-05/0.132, allocations: 8 kB / 462.1 MB, free: 5.492 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000152/0.1321, allocations: 27.92 kB / 462.2 MB, free: 5.465 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.447e-05/0.1322, allocations: 19.91 kB / 462.2 MB, free: 5.445 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.516e-05/0.1322, allocations: 0 / 462.2 MB, free: 5.445 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001029/0.1324, allocations: 47.92 kB / 462.2 MB, free: 5.398 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 5.911e-05/0.1324, allocations: 19.86 kB / 462.3 MB, free: 5.379 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 5.945e-05/0.1325, allocations: 45.56 kB / 462.3 MB, free: 5.328 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001466/0.1326, allocations: 71.83 kB / 462.4 MB, free: 5.258 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.339e-06/0.1327, allocations: 0 / 462.4 MB, free: 5.258 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.563e-06/0.1327, allocations: 0 / 462.4 MB, free: 5.258 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.019e-06/0.1327, allocations: 0 / 462.4 MB, free: 5.258 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0004566/0.1331, allocations: 367.6 kB / 462.7 MB, free: 4.852 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.078e-05/0.1332, allocations: 8.031 kB / 462.7 MB, free: 4.844 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.14e-05/0.1332, allocations: 8.844 kB / 462.7 MB, free: 4.836 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002274/0.1335, allocations: 192.2 kB / 462.9 MB, free: 4.609 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.36e-05/0.1335, allocations: 4.375 kB / 462.9 MB, free: 4.605 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.518e-06/0.1335, allocations: 384 / 462.9 MB, free: 4.605 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000126/0.1336, allocations: 71.47 kB / 463 MB, free: 4.523 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.963e-06/0.1337, allocations: 4 kB / 463 MB, free: 4.52 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.174e-05/0.1337, allocations: 4 kB / 463 MB, free: 4.516 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.238e-06/0.1337, allocations: 3.938 kB / 463 MB, free: 4.512 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.98e-05/0.1338, allocations: 15.98 kB / 463 MB, free: 4.496 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000379/0.1341, allocations: 284.8 kB / 463.3 MB, free: 4.168 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.689e-05/0.1343, allocations: 38.56 kB / 463.4 MB, free: 4.121 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.798e-05/0.1343, allocations: 12.92 kB / 463.4 MB, free: 4.105 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.94e-05/0.1343, allocations: 11.97 kB / 463.4 MB, free: 4.094 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.239e-05/0.1344, allocations: 30.56 kB / 463.4 MB, free: 4.055 MB / 334.1 MB Notification: Performance of pre-optimization done (n=3): time 1.122e-06/0.1344, allocations: 0 / 463.4 MB, free: 4.055 MB / 334.1 MB Notification: Performance of matching and sorting (n=3): time 0.0001743/0.1345, allocations: 57.53 kB / 463.5 MB, free: 3.992 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.032e-05/0.1346, allocations: 77.11 kB / 463.5 MB, free: 3.898 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001568/0.1348, allocations: 141.8 kB / 463.7 MB, free: 3.75 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.581e-05/0.1348, allocations: 29.7 kB / 463.7 MB, free: 3.715 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.982e-05/0.1349, allocations: 92.12 kB / 463.8 MB, free: 3.621 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.15e-05/0.1349, allocations: 15.84 kB / 463.8 MB, free: 3.605 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.272e-05/0.1349, allocations: 9.719 kB / 463.8 MB, free: 3.59 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001385/0.1351, allocations: 322.8 kB / 464.1 MB, free: 3.266 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.751e-05/0.1351, allocations: 4 kB / 464.1 MB, free: 3.262 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.294e-05/0.1351, allocations: 17.91 kB / 464.2 MB, free: 3.238 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.871e-05/0.1352, allocations: 28.92 kB / 464.2 MB, free: 3.207 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.024e-06/0.1352, allocations: 4.031 kB / 464.2 MB, free: 3.203 MB / 334.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 7.887e-05/0.1353, allocations: 53.53 kB / 464.2 MB, free: 3.145 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.932e-05/0.1353, allocations: 8 kB / 464.2 MB, free: 3.137 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.491e-06/0.1353, allocations: 0 / 464.2 MB, free: 3.137 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.517e-05/0.1353, allocations: 0 / 464.2 MB, free: 3.137 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.402e-05/0.1354, allocations: 4 kB / 464.3 MB, free: 3.133 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.663e-06/0.1354, allocations: 0 / 464.3 MB, free: 3.133 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.972e-05/0.1354, allocations: 0 / 464.3 MB, free: 3.133 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.663e-06/0.1354, allocations: 7.938 kB / 464.3 MB, free: 3.125 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 (3): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * 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 9.223e-05/0.1355, allocations: 125.8 kB / 464.4 MB, free: 2.992 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.016e-05/0.1356, allocations: 7.906 kB / 464.4 MB, free: 2.984 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001373/0.1357, allocations: 57.53 kB / 464.4 MB, free: 2.914 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.824e-06/0.1357, allocations: 0 / 464.4 MB, free: 2.914 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.09e-06/0.1357, allocations: 0 / 464.4 MB, free: 2.914 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.197e-06/0.1358, allocations: 7.984 kB / 464.5 MB, free: 2.906 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001849/0.1359, allocations: 169.6 kB / 464.6 MB, free: 2.691 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.334e-06/0.136, allocations: 0 / 464.6 MB, free: 2.691 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.41e-05/0.136, allocations: 11.94 kB / 464.6 MB, free: 2.68 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.363e-06/0.136, allocations: 0 / 464.6 MB, free: 2.68 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.953e-06/0.136, allocations: 4 kB / 464.6 MB, free: 2.676 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.252e-06/0.136, allocations: 0 / 464.6 MB, free: 2.676 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.312e-06/0.136, allocations: 0 / 464.6 MB, free: 2.676 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001245/0.1361, allocations: 147.4 kB / 464.8 MB, free: 2.516 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.239e-05/0.1362, allocations: 93 kB / 464.9 MB, free: 2.406 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.674e-05/0.1362, allocations: 3.938 kB / 464.9 MB, free: 2.402 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.826e-05/0.1363, allocations: 4 kB / 464.9 MB, free: 2.398 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.691e-05/0.1363, allocations: 0 / 464.9 MB, free: 2.398 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.559e-06/0.1363, allocations: 8 kB / 464.9 MB, free: 2.391 MB / 334.1 MB Notification: Performance of sorting global known variables: time 9.37e-05/0.1364, allocations: 114.5 kB / 465 MB, free: 2.281 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.8e-07/0.1364, allocations: 0 / 465 MB, free: 2.281 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002568/0.1367, allocations: 20 kB / 465 MB, free: 2.262 MB / 334.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 simulation (3): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * 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 Backend phase and start with SimCode phase: time 0.001116/0.1378, allocations: 394.8 kB / 465.4 MB, free: 2.02 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001287/0.138, allocations: 19.98 kB / 465.4 MB, free: 2 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 3.667e-06/0.138, allocations: 3.938 kB / 465.4 MB, free: 1.996 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 2.196e-05/0.138, allocations: 15.94 kB / 465.4 MB, free: 1.98 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003754/0.1384, allocations: 15.98 kB / 465.5 MB, free: 1.965 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004269/0.1388, allocations: 184.4 kB / 465.6 MB, free: 1.75 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002906/0.1391, allocations: 0.6887 MB / 466.3 MB, free: 1.035 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.405e-05/0.1392, allocations: 15.42 kB / 466.3 MB, free: 1.02 MB / 334.1 MB Notification: Performance of SimCode: time 5.91e-07/0.1392, allocations: 4 kB / 466.3 MB, free: 1.016 MB / 334.1 MB Notification: Performance of Templates: time 0.003401/0.1426, allocations: 1.393 MB / 467.7 MB, free: 15.62 MB / 350.1 MB make -j1 -f PowerSystems_latest_PowerSystems.Examples.Introductory.Tables.makefile make -j1 -f PowerSystems_latest_PowerSystems.Examples.Introductory.Tables.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/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Resources/C-Sources" -I"." -I"." -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/include/omc/sundials" "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Resources/C-Sources" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppPowerSystems_latest_PowerSystems.Examples.Introductory.TablesCalcHelperMain.o OMCppPowerSystems_latest_PowerSystems.Examples.Introductory.TablesCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppPowerSystems_latest_PowerSystems.Examples.Introductory.TablesCalcHelperMain.o] Error 1