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.0009829/0.0009831, allocations: 108.5 kB / 17.16 MB, free: 6.328 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.000947/0.0009471, allocations: 202.9 kB / 18.08 MB, free: 5.422 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.379/1.379, allocations: 222.9 MB / 241.7 MB, free: 15.5 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.1651/0.1651, allocations: 38.05 MB / 329.9 MB, free: 9.102 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001073/0.001073, allocations: 58.89 kB / 398.7 MB, free: 34.58 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1155/0.1166, allocations: 58.06 MB / 456.8 MB, free: 8.574 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Introductory.Tables): time 0.003008/0.1197, allocations: 1.417 MB / 458.2 MB, free: 7.148 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006276/0.1203, allocations: 367.3 kB / 458.6 MB, free: 6.785 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.191e-05/0.1204, allocations: 0 / 458.6 MB, free: 6.785 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002253/0.1206, allocations: 23.91 kB / 458.6 MB, free: 6.762 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001345/0.1208, allocations: 35.86 kB / 458.6 MB, free: 6.727 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001976/0.121, allocations: 65.28 kB / 458.7 MB, free: 6.664 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001284/0.1211, allocations: 59.78 kB / 458.7 MB, free: 6.605 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.282e-05/0.1212, allocations: 7.984 kB / 458.8 MB, free: 6.598 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001498/0.1213, allocations: 23.92 kB / 458.8 MB, free: 6.574 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.179e-05/0.1214, allocations: 19.86 kB / 458.8 MB, free: 6.555 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.468e-05/0.1214, allocations: 0 / 458.8 MB, free: 6.555 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001132/0.1215, allocations: 47.97 kB / 458.8 MB, free: 6.508 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 5.816e-05/0.1216, allocations: 19.92 kB / 458.9 MB, free: 6.488 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 3.669e-05/0.1216, allocations: 15.88 kB / 458.9 MB, free: 6.473 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000139/0.1218, allocations: 71.83 kB / 458.9 MB, free: 6.402 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.058e-06/0.1218, allocations: 4 kB / 459 MB, free: 6.398 MB / 334.1 MB Notification: Performance of FrontEnd: time 9.82e-07/0.1218, allocations: 0 / 459 MB, free: 6.398 MB / 334.1 MB Notification: Performance of Transformations before backend: time 4.047e-06/0.1218, allocations: 0 / 459 MB, free: 6.398 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.0004753/0.1223, allocations: 379.5 kB / 459.3 MB, free: 5.98 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.733e-05/0.1223, allocations: 8.031 kB / 459.3 MB, free: 5.973 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.097e-05/0.1224, allocations: 8.844 kB / 459.3 MB, free: 5.965 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000214/0.1226, allocations: 195 kB / 459.5 MB, free: 5.738 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.771e-06/0.1226, allocations: 384 / 459.5 MB, free: 5.738 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.355e-05/0.1226, allocations: 4.375 kB / 459.5 MB, free: 5.734 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001365/0.1228, allocations: 79.45 kB / 459.6 MB, free: 5.645 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.075e-05/0.1228, allocations: 0 / 459.6 MB, free: 5.645 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.015e-05/0.1228, allocations: 3.938 kB / 459.6 MB, free: 5.641 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.117e-06/0.1228, allocations: 0 / 459.6 MB, free: 5.641 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.201e-05/0.1229, allocations: 19.98 kB / 459.6 MB, free: 5.621 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000376/0.1233, allocations: 284.8 kB / 459.9 MB, free: 5.293 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.179e-05/0.1234, allocations: 34.56 kB / 459.9 MB, free: 5.25 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.485e-05/0.1234, allocations: 12.92 kB / 460 MB, free: 5.234 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.359e-05/0.1234, allocations: 3.984 kB / 460 MB, free: 5.23 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.159e-05/0.1234, allocations: 30.56 kB / 460 MB, free: 5.191 MB / 334.1 MB Notification: Performance of pre-optimization done (n=3): time 1.132e-06/0.1235, allocations: 0 / 460 MB, free: 5.191 MB / 334.1 MB Notification: Performance of matching and sorting (n=3): time 0.00018/0.1236, allocations: 65.53 kB / 460.1 MB, free: 5.121 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.37e-05/0.1237, allocations: 81.11 kB / 460.1 MB, free: 5.023 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001579/0.1239, allocations: 141.8 kB / 460.3 MB, free: 4.875 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.506e-05/0.1239, allocations: 25.7 kB / 460.3 MB, free: 4.844 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.63e-05/0.124, allocations: 96.05 kB / 460.4 MB, free: 4.746 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.737e-05/0.124, allocations: 7.844 kB / 460.4 MB, free: 4.738 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.139e-05/0.124, allocations: 21.7 kB / 460.4 MB, free: 4.711 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.000133/0.1241, allocations: 318.8 kB / 460.7 MB, free: 4.391 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.602e-05/0.1242, allocations: 4 kB / 460.7 MB, free: 4.387 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.488e-05/0.1242, allocations: 25.7 kB / 460.8 MB, free: 4.355 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.591e-05/0.1242, allocations: 21.08 kB / 460.8 MB, free: 4.332 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.843e-06/0.1243, allocations: 0 / 460.8 MB, free: 4.332 MB / 334.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 7.418e-05/0.1243, allocations: 57.58 kB / 460.8 MB, free: 4.27 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.387e-05/0.1244, allocations: 4 kB / 460.8 MB, free: 4.266 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.028e-06/0.1244, allocations: 0 / 460.8 MB, free: 4.266 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.304e-05/0.1244, allocations: 3.984 kB / 460.8 MB, free: 4.262 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.777e-05/0.1244, allocations: 4 kB / 460.9 MB, free: 4.258 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.508e-06/0.1244, allocations: 0 / 460.9 MB, free: 4.258 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.013e-05/0.1245, allocations: 8.031 kB / 460.9 MB, free: 4.25 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.071e-06/0.1245, allocations: 4 kB / 460.9 MB, free: 4.246 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.174e-05/0.1246, allocations: 113.8 kB / 461 MB, free: 4.125 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.104e-05/0.1246, allocations: 7.906 kB / 461 MB, free: 4.117 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001252/0.1247, allocations: 65.5 kB / 461 MB, free: 4.039 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.367e-06/0.1247, allocations: 4 kB / 461.1 MB, free: 4.035 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.848e-06/0.1248, allocations: 0 / 461.1 MB, free: 4.035 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.314e-06/0.1248, allocations: 0 / 461.1 MB, free: 4.035 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001748/0.1249, allocations: 177.6 kB / 461.2 MB, free: 3.812 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.31e-07/0.125, allocations: 3.938 kB / 461.2 MB, free: 3.809 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.501e-05/0.125, allocations: 7.984 kB / 461.2 MB, free: 3.801 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.423e-06/0.125, allocations: 0 / 461.2 MB, free: 3.801 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.072e-06/0.125, allocations: 0 / 461.2 MB, free: 3.801 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.21e-07/0.125, allocations: 3.938 kB / 461.2 MB, free: 3.797 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.72e-07/0.125, allocations: 0 / 461.2 MB, free: 3.797 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001533/0.1252, allocations: 155.3 kB / 461.4 MB, free: 3.629 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.167e-05/0.1252, allocations: 81.11 kB / 461.5 MB, free: 3.531 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.62e-05/0.1252, allocations: 8 kB / 461.5 MB, free: 3.523 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.493e-05/0.1253, allocations: 0 / 461.5 MB, free: 3.523 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.946e-05/0.1253, allocations: 3.984 kB / 461.5 MB, free: 3.52 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.485e-06/0.1253, allocations: 4 kB / 461.5 MB, free: 3.516 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0002125/0.1255, allocations: 114.8 kB / 461.6 MB, free: 3.406 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.1255, allocations: 0 / 461.6 MB, free: 3.406 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002324/0.1258, allocations: 19.98 kB / 461.6 MB, free: 3.387 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.0008522/0.1266, allocations: 389.4 kB / 462 MB, free: 3.148 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 9.608e-05/0.1267, allocations: 19.94 kB / 462 MB, free: 3.129 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.274e-06/0.1268, allocations: 0 / 462 MB, free: 3.129 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 2.256e-05/0.1268, allocations: 19.92 kB / 462 MB, free: 3.109 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003744/0.1272, allocations: 15.94 kB / 462.1 MB, free: 3.094 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004434/0.1276, allocations: 188.3 kB / 462.2 MB, free: 2.875 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003636/0.128, allocations: 0.6926 MB / 462.9 MB, free: 2.156 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.054e-05/0.1281, allocations: 15.44 kB / 462.9 MB, free: 2.141 MB / 334.1 MB Notification: Performance of SimCode: time 3.51e-07/0.1281, allocations: 0 / 462.9 MB, free: 2.141 MB / 334.1 MB Notification: Performance of Templates: time 0.003494/0.1316, allocations: 1.405 MB / 464.3 MB, free: 0.7383 MB / 334.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