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.0009194/0.0009194, allocations: 93.78 kB / 16.95 MB, free: 5.617 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.001095/0.001095, allocations: 183.9 kB / 17.85 MB, free: 5.285 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.335/1.335, allocations: 223.2 MB / 241.8 MB, free: 344 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.1754/0.1754, allocations: 38.1 MB / 331.1 MB, free: 8.875 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003597/0.0003597, allocations: 13.73 kB / 400.7 MB, free: 34.54 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09776/0.09813, allocations: 59.16 MB / 459.9 MB, free: 7.457 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Introductory.Tables): time 0.001595/0.09976, allocations: 1.077 MB / 460.9 MB, free: 6.379 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005229/0.1003, allocations: 327.8 kB / 461.3 MB, free: 6.055 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.5e-05/0.1003, allocations: 0 / 461.3 MB, free: 6.055 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001703/0.1005, allocations: 23.91 kB / 461.3 MB, free: 6.031 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001188/0.1007, allocations: 23.92 kB / 461.3 MB, free: 6.008 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001893/0.1009, allocations: 71.84 kB / 461.4 MB, free: 5.938 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001085/0.101, allocations: 47.84 kB / 461.4 MB, free: 5.891 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.138e-05/0.101, allocations: 8 kB / 461.4 MB, free: 5.883 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001218/0.1011, allocations: 31.84 kB / 461.5 MB, free: 5.852 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.845e-05/0.1012, allocations: 15.86 kB / 461.5 MB, free: 5.836 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.355e-05/0.1012, allocations: 4 kB / 461.5 MB, free: 5.832 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.494e-05/0.1013, allocations: 39.98 kB / 461.5 MB, free: 5.793 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 4.626e-05/0.1014, allocations: 19.97 kB / 461.5 MB, free: 5.773 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 2.36e-05/0.1014, allocations: 29.64 kB / 461.6 MB, free: 5.738 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000126/0.1015, allocations: 67.84 kB / 461.6 MB, free: 5.672 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.178e-06/0.1015, allocations: 0 / 461.6 MB, free: 5.672 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.513e-06/0.1015, allocations: 0 / 461.6 MB, free: 5.672 MB / 334.1 MB Notification: Performance of Transformations before backend: time 3.166e-06/0.1016, allocations: 4 kB / 461.6 MB, free: 5.668 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.0003392/0.1019, allocations: 367.4 kB / 462 MB, free: 5.262 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.322e-05/0.1019, allocations: 12.03 kB / 462 MB, free: 5.25 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.126e-05/0.102, allocations: 11.83 kB / 462 MB, free: 5.238 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001811/0.1022, allocations: 190.8 kB / 462.2 MB, free: 5.012 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.951e-06/0.1022, allocations: 0 / 462.2 MB, free: 5.012 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.242e-05/0.1022, allocations: 7.953 kB / 462.2 MB, free: 5.004 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001128/0.1023, allocations: 63.39 kB / 462.3 MB, free: 4.93 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.971e-06/0.1023, allocations: 4 kB / 462.3 MB, free: 4.926 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.947e-06/0.1023, allocations: 0 / 462.3 MB, free: 4.926 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.348e-06/0.1024, allocations: 0 / 462.3 MB, free: 4.926 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.655e-05/0.1024, allocations: 15.98 kB / 462.3 MB, free: 4.91 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003169/0.1027, allocations: 284.8 kB / 462.6 MB, free: 4.582 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.588e-05/0.1028, allocations: 42.56 kB / 462.6 MB, free: 4.531 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.01e-05/0.1028, allocations: 8.922 kB / 462.6 MB, free: 4.52 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.032e-05/0.1029, allocations: 4 kB / 462.6 MB, free: 4.516 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.034e-05/0.1029, allocations: 30.56 kB / 462.7 MB, free: 4.477 MB / 334.1 MB Notification: Performance of pre-optimization done (n=3): time 1.052e-06/0.1029, allocations: 0 / 462.7 MB, free: 4.477 MB / 334.1 MB Notification: Performance of matching and sorting (n=3): time 0.000147/0.1031, allocations: 61.53 kB / 462.7 MB, free: 4.41 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.623e-05/0.1031, allocations: 81.09 kB / 462.8 MB, free: 4.312 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001401/0.1033, allocations: 137.8 kB / 462.9 MB, free: 4.168 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.359e-05/0.1033, allocations: 29.7 kB / 463 MB, free: 4.133 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.54e-05/0.1033, allocations: 92.14 kB / 463 MB, free: 4.039 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.763e-05/0.1034, allocations: 15.73 kB / 463.1 MB, free: 4.023 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.737e-06/0.1034, allocations: 4 kB / 463.1 MB, free: 4.02 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001058/0.1035, allocations: 318.8 kB / 463.4 MB, free: 3.699 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.448e-05/0.1035, allocations: 4 kB / 463.4 MB, free: 3.695 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.289e-05/0.1035, allocations: 21.7 kB / 463.4 MB, free: 3.668 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.113e-05/0.1036, allocations: 4 kB / 463.4 MB, free: 3.664 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.843e-06/0.1036, allocations: 7.969 kB / 463.4 MB, free: 3.656 MB / 334.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 7.297e-05/0.1037, allocations: 57.59 kB / 463.5 MB, free: 3.594 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.182e-05/0.1037, allocations: 4 kB / 463.5 MB, free: 3.59 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.899e-06/0.1037, allocations: 4 kB / 463.5 MB, free: 3.586 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.936e-06/0.1037, allocations: 336 / 463.5 MB, free: 3.586 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.805e-05/0.1037, allocations: 4 kB / 463.5 MB, free: 3.582 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.925e-06/0.1038, allocations: 4 kB / 463.5 MB, free: 3.578 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.117e-05/0.1038, allocations: 3.984 kB / 463.5 MB, free: 3.574 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.551e-06/0.1038, allocations: 0 / 463.5 MB, free: 3.574 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.98e-05/0.1039, allocations: 121.7 kB / 463.6 MB, free: 3.445 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.562e-05/0.1039, allocations: 7.938 kB / 463.6 MB, free: 3.438 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001093/0.104, allocations: 73.41 kB / 463.7 MB, free: 3.352 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.613e-06/0.104, allocations: 0 / 463.7 MB, free: 3.352 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.496e-06/0.1041, allocations: 0 / 463.7 MB, free: 3.352 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.174e-06/0.1041, allocations: 0 / 463.7 MB, free: 3.352 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001616/0.1042, allocations: 173.6 kB / 463.9 MB, free: 3.133 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.082e-06/0.1042, allocations: 0 / 463.9 MB, free: 3.133 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.364e-05/0.1043, allocations: 4 kB / 463.9 MB, free: 3.129 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.563e-06/0.1043, allocations: 0 / 463.9 MB, free: 3.129 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.923e-06/0.1043, allocations: 8 kB / 463.9 MB, free: 3.121 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.325e-06/0.1043, allocations: 3.984 kB / 463.9 MB, free: 3.117 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.1043, allocations: 4 kB / 463.9 MB, free: 3.113 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001094/0.1044, allocations: 139.5 kB / 464 MB, free: 2.961 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.547e-05/0.1045, allocations: 92.97 kB / 464.1 MB, free: 2.852 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.497e-05/0.1045, allocations: 0 / 464.1 MB, free: 2.852 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.326e-05/0.1045, allocations: 0 / 464.1 MB, free: 2.852 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.575e-05/0.1046, allocations: 7.984 kB / 464.1 MB, free: 2.844 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.435e-06/0.1046, allocations: 4 kB / 464.1 MB, free: 2.84 MB / 334.1 MB Notification: Performance of sorting global known variables: time 7.718e-05/0.1046, allocations: 110.6 kB / 464.2 MB, free: 2.734 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1047, allocations: 0 / 464.2 MB, free: 2.734 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002306/0.1049, allocations: 19.98 kB / 464.2 MB, free: 2.715 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 (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.0007658/0.1057, allocations: 395 kB / 464.6 MB, free: 2.473 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 7.685e-05/0.1057, allocations: 16 kB / 464.6 MB, free: 2.457 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.973e-06/0.1058, allocations: 0 / 464.6 MB, free: 2.457 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 1.784e-05/0.1058, allocations: 15.92 kB / 464.7 MB, free: 2.441 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002859/0.1061, allocations: 12 kB / 464.7 MB, free: 2.43 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002789/0.1064, allocations: 188.5 kB / 464.9 MB, free: 2.211 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000212/0.1066, allocations: 0.6887 MB / 465.5 MB, free: 1.496 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.827e-05/0.1066, allocations: 11.44 kB / 465.6 MB, free: 1.484 MB / 334.1 MB Notification: Performance of SimCode: time 4.2e-07/0.1066, allocations: 4 kB / 465.6 MB, free: 1.48 MB / 334.1 MB Notification: Performance of Templates: time 0.00271/0.1094, allocations: 1.393 MB / 467 MB, free: 88 kB / 334.1 MB make -j1 -f PowerSystems_latest_PowerSystems.Examples.Introductory.Tables.makefile make -j1 -f PowerSystems_latest_PowerSystems.Examples.Introductory.Tables.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/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/c/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