Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Sensor.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.AC1ph_DC.Elementary.Sensor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1480,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Sensor") translateModel(PowerSystems.Examples.AC1ph_DC.Elementary.Sensor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1480,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Sensor") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009311/0.0009311, allocations: 103 kB / 17.16 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.0008672/0.0008672, allocations: 190.9 kB / 18.07 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.187/1.187, allocations: 205.1 MB / 223.9 MB, free: 12.48 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo): time 0.1538/0.1538, allocations: 38 MB / 309.3 MB, free: 6.238 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.001161/0.001161, allocations: 59.92 kB / 375.3 MB, free: 4.109 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1906/0.1918, allocations: 55.25 MB / 430.5 MB, free: 19.77 MB / 318.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Elementary.Sensor): time 0.004425/0.1963, allocations: 4.693 MB / 435.2 MB, free: 15.05 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001188/0.1975, allocations: 1.127 MB / 436.3 MB, free: 13.92 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001716/0.1977, allocations: 23.81 kB / 436.4 MB, free: 13.9 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000193/0.1979, allocations: 43.64 kB / 436.4 MB, free: 13.86 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003334/0.1982, allocations: 159.2 kB / 436.6 MB, free: 13.7 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001537/0.1984, allocations: 87.84 kB / 436.6 MB, free: 13.61 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003466/0.1987, allocations: 0.557 MB / 437.2 MB, free: 13.05 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001712/0.1989, allocations: 101.7 kB / 437.3 MB, free: 12.96 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001671/0.1991, allocations: 163.2 kB / 437.5 MB, free: 12.8 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002633/0.1994, allocations: 207.3 kB / 437.7 MB, free: 12.6 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 3.506e-05/0.1994, allocations: 12 kB / 437.7 MB, free: 12.59 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.447e-05/0.1995, allocations: 20 kB / 437.7 MB, free: 12.57 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 8.804e-05/0.1995, allocations: 107.6 kB / 437.8 MB, free: 12.46 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001088/0.1997, allocations: 135.2 kB / 437.9 MB, free: 12.33 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001536/0.1998, allocations: 227.5 kB / 438.2 MB, free: 12.11 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.168e-06/0.1998, allocations: 3.984 kB / 438.2 MB, free: 12.1 MB / 318.1 MB Notification: Performance of FrontEnd: time 7.71e-07/0.1998, allocations: 0 / 438.2 MB, free: 12.1 MB / 318.1 MB Notification: Performance of Transformations before backend: time 8.196e-06/0.1998, allocations: 0 / 438.2 MB, free: 12.1 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: 55 * Number of variables: 55 Notification: Performance of Generate backend data structure: time 0.0008046/0.2007, allocations: 0.6129 MB / 438.8 MB, free: 11.44 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.059e-05/0.2007, allocations: 12.02 kB / 438.8 MB, free: 11.43 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.501e-05/0.2008, allocations: 44.41 kB / 438.8 MB, free: 11.38 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002958/0.2011, allocations: 319 kB / 439.1 MB, free: 11.04 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.143e-05/0.2011, allocations: 20.94 kB / 439.2 MB, free: 11.02 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.024e-05/0.2011, allocations: 20.12 kB / 439.2 MB, free: 11 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003431/0.2015, allocations: 316.5 kB / 439.5 MB, free: 10.66 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.202e-05/0.2015, allocations: 11.98 kB / 439.5 MB, free: 10.64 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.164e-05/0.2015, allocations: 8 kB / 439.5 MB, free: 10.64 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.873e-06/0.2015, allocations: 8 kB / 439.5 MB, free: 10.63 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000265/0.2018, allocations: 213.5 kB / 439.7 MB, free: 10.42 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001051/0.2028, allocations: 1.352 MB / 441.1 MB, free: 8.973 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002536/0.2031, allocations: 145.1 kB / 441.2 MB, free: 8.812 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.359e-05/0.2032, allocations: 61.75 kB / 441.3 MB, free: 8.746 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.898e-05/0.2032, allocations: 0 / 441.3 MB, free: 8.746 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.522e-05/0.2032, allocations: 34.56 kB / 441.3 MB, free: 8.703 MB / 318.1 MB Notification: Performance of pre-optimization done (n=12): time 1.012e-06/0.2032, allocations: 0 / 441.3 MB, free: 8.703 MB / 318.1 MB Notification: Performance of matching and sorting (n=13): time 0.0006075/0.2039, allocations: 363.8 kB / 441.7 MB, free: 8.34 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.438e-05/0.2039, allocations: 85.05 kB / 441.7 MB, free: 8.238 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001614/0.2041, allocations: 263 kB / 442 MB, free: 7.965 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.131e-05/0.2041, allocations: 25.7 kB / 442 MB, free: 7.934 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.381e-05/0.2042, allocations: 211.7 kB / 442.2 MB, free: 7.723 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.556e-05/0.2042, allocations: 47.3 kB / 442.3 MB, free: 7.676 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.229e-05/0.2043, allocations: 41.7 kB / 442.3 MB, free: 7.629 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 4.856e-05/0.2043, allocations: 342.8 kB / 442.7 MB, free: 7.285 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.486e-05/0.2044, allocations: 47.97 kB / 442.7 MB, free: 7.238 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.564e-05/0.2045, allocations: 156.8 kB / 442.9 MB, free: 7.039 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001861/0.2047, allocations: 236.2 kB / 443.1 MB, free: 6.766 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.353e-06/0.2047, allocations: 0 / 443.1 MB, free: 6.766 MB / 318.1 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0002598/0.2049, allocations: 249.4 kB / 443.3 MB, free: 6.516 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.24e-05/0.205, allocations: 8.062 kB / 443.3 MB, free: 6.508 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.28e-06/0.205, allocations: 4 kB / 443.3 MB, free: 6.504 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.364e-05/0.205, allocations: 4 kB / 443.4 MB, free: 6.5 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001584/0.2052, allocations: 51.91 kB / 443.4 MB, free: 6.449 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.346e-06/0.2052, allocations: 8 kB / 443.4 MB, free: 6.441 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001101/0.2053, allocations: 11.84 kB / 443.4 MB, free: 6.43 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.357e-05/0.2053, allocations: 12 kB / 443.4 MB, free: 6.418 MB / 318.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * 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 (25): * Single equations (assignments): 25 * 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.498e-05/0.2054, allocations: 157.7 kB / 443.6 MB, free: 6.254 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.725e-05/0.2055, allocations: 23.72 kB / 443.6 MB, free: 6.23 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002532/0.2057, allocations: 207.1 kB / 443.8 MB, free: 6.023 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.936e-06/0.2057, allocations: 7.984 kB / 443.8 MB, free: 6.016 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.299e-06/0.2057, allocations: 0 / 443.8 MB, free: 6.016 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.707e-06/0.2057, allocations: 0 / 443.8 MB, free: 6.016 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000453/0.2062, allocations: 0.5538 MB / 444.4 MB, free: 5.402 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.723e-06/0.2062, allocations: 0 / 444.4 MB, free: 5.402 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001221/0.2063, allocations: 31.92 kB / 444.4 MB, free: 5.371 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.395e-06/0.2064, allocations: 4.031 kB / 444.4 MB, free: 5.367 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.241e-05/0.2064, allocations: 4 kB / 444.4 MB, free: 5.363 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.215e-06/0.2064, allocations: 3.938 kB / 444.4 MB, free: 5.359 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.81e-07/0.2064, allocations: 0 / 444.4 MB, free: 5.359 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002129/0.2066, allocations: 296.8 kB / 444.7 MB, free: 5.047 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.488e-05/0.2066, allocations: 92.83 kB / 444.8 MB, free: 4.938 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.079e-05/0.2067, allocations: 12 kB / 444.8 MB, free: 4.926 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001096/0.2068, allocations: 7.938 kB / 444.8 MB, free: 4.918 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.167e-05/0.2068, allocations: 11.98 kB / 444.8 MB, free: 4.906 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.104e-05/0.2068, allocations: 11.98 kB / 444.8 MB, free: 4.895 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0001065/0.207, allocations: 178 kB / 445 MB, free: 4.719 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.207, allocations: 0 / 445 MB, free: 4.719 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0002868/0.2073, allocations: 52 kB / 445.1 MB, free: 4.668 MB / 318.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 simulation (17): * Single equations (assignments): 16 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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 8.248e-05/0.2073, allocations: 107.1 kB / 445.2 MB, free: 4.551 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0002173/0.2076, allocations: 155.7 kB / 445.3 MB, free: 4.398 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.305e-06/0.2076, allocations: 0 / 445.3 MB, free: 4.398 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 8.626e-05/0.2077, allocations: 67.91 kB / 445.4 MB, free: 4.332 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004222/0.2081, allocations: 64.3 kB / 445.4 MB, free: 4.273 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006436/0.2088, allocations: 0.6747 MB / 446.1 MB, free: 3.562 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001635/0.2089, allocations: 0.7833 MB / 446.9 MB, free: 2.754 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.044e-05/0.209, allocations: 23.44 kB / 446.9 MB, free: 2.734 MB / 318.1 MB Notification: Performance of SimCode: time 2e-07/0.209, allocations: 0 / 446.9 MB, free: 2.734 MB / 318.1 MB Notification: Performance of Templates: time 0.003645/0.2126, allocations: 3.158 MB / 450.1 MB, free: 15.57 MB / 334.1 MB make -j1 -f PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Sensor.makefile make -j1 -f PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Sensor.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.AC1ph_DC.Elementary.SensorCalcHelperMain.o OMCppPowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.SensorCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppPowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.SensorCalcHelperMain.o] Error 1