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.000828/0.0008283, allocations: 93.67 kB / 17.31 MB, free: 6.109 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.0008574/0.0008571, allocations: 178.4 kB / 18.21 MB, free: 5.41 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.836/1.836, allocations: 205.4 MB / 224.4 MB, free: 13.07 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo): time 0.2028/0.2028, allocations: 38.05 MB / 310.7 MB, free: 5.914 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.0005392/0.0005392, allocations: 12.47 kB / 377.8 MB, free: 2.719 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2793/0.2799, allocations: 56.34 MB / 434.1 MB, free: 18.79 MB / 318.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Elementary.Sensor): time 0.004351/0.2843, allocations: 4.315 MB / 438.5 MB, free: 14.45 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001567/0.2859, allocations: 1.119 MB / 439.6 MB, free: 13.33 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002129/0.2861, allocations: 23.81 kB / 439.6 MB, free: 13.3 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002257/0.2864, allocations: 39.69 kB / 439.6 MB, free: 13.27 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004512/0.2868, allocations: 159.2 kB / 439.8 MB, free: 13.11 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000189/0.287, allocations: 79.86 kB / 439.9 MB, free: 13.03 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004404/0.2875, allocations: 0.5609 MB / 440.4 MB, free: 12.47 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002187/0.2877, allocations: 105.7 kB / 440.5 MB, free: 12.37 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002005/0.2879, allocations: 151.2 kB / 440.7 MB, free: 12.22 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003237/0.2882, allocations: 199.2 kB / 440.9 MB, free: 12.03 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 3.536e-05/0.2883, allocations: 12 kB / 440.9 MB, free: 12.02 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.864e-05/0.2883, allocations: 12 kB / 440.9 MB, free: 12 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000108/0.2884, allocations: 95.64 kB / 441 MB, free: 11.91 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001502/0.2886, allocations: 172.8 kB / 441.2 MB, free: 11.73 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002421/0.2889, allocations: 219.4 kB / 441.4 MB, free: 11.52 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.788e-06/0.2889, allocations: 4 kB / 441.4 MB, free: 11.52 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.474e-06/0.2889, allocations: 0 / 441.4 MB, free: 11.52 MB / 318.1 MB Notification: Performance of Transformations before backend: time 6.282e-06/0.2889, allocations: 0 / 441.4 MB, free: 11.52 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.001025/0.2899, allocations: 0.5623 MB / 441.9 MB, free: 10.9 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.97e-05/0.29, allocations: 12.03 kB / 442 MB, free: 10.89 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.494e-05/0.29, allocations: 32.56 kB / 442 MB, free: 10.86 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003363/0.2904, allocations: 326.9 kB / 442.3 MB, free: 10.5 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.848e-05/0.2904, allocations: 16.94 kB / 442.3 MB, free: 10.49 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.769e-05/0.2905, allocations: 28.12 kB / 442.4 MB, free: 10.46 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003943/0.2909, allocations: 316.5 kB / 442.7 MB, free: 10.12 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.302e-05/0.2909, allocations: 3.938 kB / 442.7 MB, free: 10.12 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.577e-05/0.2909, allocations: 8 kB / 442.7 MB, free: 10.11 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.586e-06/0.2909, allocations: 4 kB / 442.7 MB, free: 10.11 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002894/0.2912, allocations: 221.5 kB / 442.9 MB, free: 9.891 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001171/0.2924, allocations: 1.356 MB / 444.3 MB, free: 8.438 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003036/0.2927, allocations: 145.1 kB / 444.4 MB, free: 8.277 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.992e-05/0.2928, allocations: 61.75 kB / 444.5 MB, free: 8.211 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.24e-05/0.2928, allocations: 3.984 kB / 444.5 MB, free: 8.207 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.475e-05/0.2929, allocations: 42.55 kB / 444.5 MB, free: 8.156 MB / 318.1 MB Notification: Performance of pre-optimization done (n=12): time 1.352e-06/0.2929, allocations: 0 / 444.5 MB, free: 8.156 MB / 318.1 MB Notification: Performance of matching and sorting (n=13): time 0.0007456/0.2936, allocations: 367.2 kB / 444.9 MB, free: 7.793 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.467e-05/0.2937, allocations: 81.11 kB / 444.9 MB, free: 7.695 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001993/0.2939, allocations: 262.9 kB / 445.2 MB, free: 7.422 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.405e-05/0.2939, allocations: 29.7 kB / 445.2 MB, free: 7.387 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.658e-05/0.294, allocations: 199.6 kB / 445.4 MB, free: 7.188 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.976e-05/0.294, allocations: 43.42 kB / 445.5 MB, free: 7.145 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.237e-05/0.2941, allocations: 33.7 kB / 445.5 MB, free: 7.105 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 6.73e-05/0.2941, allocations: 334.8 kB / 445.8 MB, free: 6.77 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.817e-05/0.2942, allocations: 51.97 kB / 445.9 MB, free: 6.719 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001107/0.2943, allocations: 148.8 kB / 446 MB, free: 6.527 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002083/0.2946, allocations: 236.6 kB / 446.2 MB, free: 6.25 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.433e-06/0.2946, allocations: 0 / 446.2 MB, free: 6.25 MB / 318.1 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.000284/0.2949, allocations: 245 kB / 446.5 MB, free: 6.004 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.154e-05/0.2949, allocations: 8 kB / 446.5 MB, free: 5.996 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.092e-05/0.2949, allocations: 4.438 kB / 446.5 MB, free: 5.992 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.737e-05/0.2949, allocations: 11.94 kB / 446.5 MB, free: 5.98 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001642/0.2951, allocations: 43.97 kB / 446.6 MB, free: 5.938 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.258e-06/0.2951, allocations: 7.938 kB / 446.6 MB, free: 5.93 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001143/0.2952, allocations: 8 kB / 446.6 MB, free: 5.922 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.586e-05/0.2953, allocations: 15.94 kB / 446.6 MB, free: 5.906 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 0.0001264/0.2954, allocations: 161.7 kB / 446.7 MB, free: 5.738 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.132e-05/0.2954, allocations: 23.72 kB / 446.8 MB, free: 5.715 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002924/0.2957, allocations: 199.3 kB / 447 MB, free: 5.516 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.364e-06/0.2957, allocations: 0 / 447 MB, free: 5.516 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.04e-06/0.2958, allocations: 0 / 447 MB, free: 5.516 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.68e-06/0.2958, allocations: 4 kB / 447 MB, free: 5.512 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004884/0.2963, allocations: 0.5654 MB / 447.5 MB, free: 4.887 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.543e-06/0.2963, allocations: 0 / 447.5 MB, free: 4.887 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001209/0.2964, allocations: 39.91 kB / 447.6 MB, free: 4.848 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.053e-06/0.2964, allocations: 0 / 447.6 MB, free: 4.848 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.183e-05/0.2964, allocations: 0 / 447.6 MB, free: 4.848 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.775e-06/0.2964, allocations: 11.97 kB / 447.6 MB, free: 4.836 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.12e-07/0.2964, allocations: 0 / 447.6 MB, free: 4.836 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002601/0.2967, allocations: 288.8 kB / 447.9 MB, free: 4.531 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.24e-05/0.2968, allocations: 100.8 kB / 448 MB, free: 4.414 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.078e-05/0.2968, allocations: 0 / 448 MB, free: 4.414 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001079/0.2969, allocations: 11.94 kB / 448 MB, free: 4.402 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.188e-05/0.297, allocations: 11.98 kB / 448 MB, free: 4.391 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.037e-05/0.297, allocations: 4 kB / 448 MB, free: 4.387 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0001211/0.2971, allocations: 186 kB / 448.2 MB, free: 4.203 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.2971, allocations: 0 / 448.2 MB, free: 4.203 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0002911/0.2974, allocations: 48 kB / 448.2 MB, free: 4.156 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 0.0001129/0.2975, allocations: 103.2 kB / 448.3 MB, free: 4.043 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0002585/0.2978, allocations: 163 kB / 448.5 MB, free: 3.887 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.495e-06/0.2978, allocations: 0 / 448.5 MB, free: 3.887 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 9.286e-05/0.2979, allocations: 71.91 kB / 448.5 MB, free: 3.816 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004981/0.2984, allocations: 54.23 kB / 448.6 MB, free: 3.766 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008499/0.2993, allocations: 0.6978 MB / 449.3 MB, free: 3.035 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002644/0.2995, allocations: 0.7794 MB / 450.1 MB, free: 2.23 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.803e-05/0.2996, allocations: 31.42 kB / 450.1 MB, free: 2.203 MB / 318.1 MB Notification: Performance of SimCode: time 6.31e-07/0.2996, allocations: 0 / 450.1 MB, free: 2.203 MB / 318.1 MB Notification: Performance of Templates: time 0.005163/0.3048, allocations: 3.145 MB / 453.3 MB, free: 15.05 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