Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC3ph.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.AC3ph.Elementary.Sensor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Sensor") translateModel(PowerSystems.Examples.AC3ph.Elementary.Sensor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Sensor") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009144/0.0009145, allocations: 97.55 kB / 16.96 MB, free: 6.41 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.0008769/0.000877, allocations: 179.8 kB / 17.84 MB, free: 5.969 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.598/1.598, allocations: 205.4 MB / 224 MB, free: 13.06 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo): time 0.1724/0.1724, allocations: 38.04 MB / 310.3 MB, free: 6.012 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.0005875/0.0005875, allocations: 16 kB / 377.1 MB, free: 3.078 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2741/0.2747, allocations: 56.33 MB / 433.5 MB, free: 18.82 MB / 318.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Elementary.Sensor): time 0.003793/0.2786, allocations: 4.548 MB / 438 MB, free: 14.25 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002107/0.2807, allocations: 1.537 MB / 439.6 MB, free: 12.71 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000202/0.2809, allocations: 27.81 kB / 439.6 MB, free: 12.68 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000225/0.2812, allocations: 87.25 kB / 439.7 MB, free: 12.59 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005524/0.2817, allocations: 294.6 kB / 440 MB, free: 12.3 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005169/0.2823, allocations: 247.6 kB / 440.2 MB, free: 12.06 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005048/0.2828, allocations: 0.7794 MB / 441 MB, free: 11.28 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005312/0.2833, allocations: 379.5 kB / 441.4 MB, free: 10.89 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002536/0.2836, allocations: 254.9 kB / 441.6 MB, free: 10.64 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004243/0.284, allocations: 410.9 kB / 442 MB, free: 10.24 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 4.654e-05/0.2841, allocations: 24 kB / 442 MB, free: 10.22 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002726/0.2843, allocations: 167.7 kB / 442.2 MB, free: 10.05 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001517/0.2845, allocations: 227.4 kB / 442.4 MB, free: 9.832 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 9.062e-05/0.2846, allocations: 117.4 kB / 442.5 MB, free: 9.711 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003596/0.285, allocations: 0.534 MB / 443.1 MB, free: 9.176 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.518e-06/0.285, allocations: 0 / 443.1 MB, free: 9.176 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.763e-06/0.285, allocations: 0 / 443.1 MB, free: 9.176 MB / 318.1 MB Notification: Performance of Transformations before backend: time 6.321e-06/0.285, allocations: 0 / 443.1 MB, free: 9.176 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: 135 * Number of variables: 135 Notification: Performance of Generate backend data structure: time 0.0009842/0.286, allocations: 0.7987 MB / 443.9 MB, free: 8.324 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.824e-05/0.286, allocations: 8.031 kB / 443.9 MB, free: 8.316 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004503/0.2865, allocations: 99.14 kB / 444 MB, free: 8.219 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004049/0.2869, allocations: 402.9 kB / 444.4 MB, free: 7.781 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.502e-05/0.2869, allocations: 32.98 kB / 444.4 MB, free: 7.75 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.309e-05/0.287, allocations: 47.89 kB / 444.4 MB, free: 7.703 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008817/0.2879, allocations: 0.8513 MB / 445.3 MB, free: 6.812 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.588e-05/0.2879, allocations: 11.94 kB / 445.3 MB, free: 6.801 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.465e-05/0.288, allocations: 19.97 kB / 445.3 MB, free: 6.781 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001083/0.2881, allocations: 64.95 kB / 445.4 MB, free: 6.715 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008781/0.289, allocations: 0.7923 MB / 446.2 MB, free: 5.926 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002587/0.2916, allocations: 2.733 MB / 448.9 MB, free: 3.043 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006516/0.2922, allocations: 0.5786 MB / 449.5 MB, free: 2.449 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003833/0.2926, allocations: 450.7 kB / 449.9 MB, free: 2.004 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.972e-05/0.2927, allocations: 7.984 kB / 449.9 MB, free: 1.996 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.233e-05/0.2927, allocations: 34.56 kB / 450 MB, free: 1.953 MB / 318.1 MB Notification: Performance of pre-optimization done (n=56): time 1.643e-06/0.2927, allocations: 4 kB / 450 MB, free: 1.949 MB / 318.1 MB Notification: Performance of matching and sorting (n=57): time 0.002247/0.295, allocations: 1.895 MB / 451.9 MB, free: 12 kB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001313/0.2951, allocations: 138.8 kB / 452 MB, free: 15.85 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002923/0.2954, allocations: 300.5 kB / 452.3 MB, free: 15.55 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 4.013e-05/0.2955, allocations: 33.64 kB / 452.3 MB, free: 15.51 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001682/0.2956, allocations: 256.3 kB / 452.6 MB, free: 15.25 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000157/0.2958, allocations: 185.3 kB / 452.8 MB, free: 15.06 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.74e-05/0.2958, allocations: 8 kB / 452.8 MB, free: 15.05 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001607/0.296, allocations: 350.8 kB / 453.1 MB, free: 14.7 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004487/0.2965, allocations: 344.9 kB / 453.5 MB, free: 14.37 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005574/0.297, allocations: 493.7 kB / 453.9 MB, free: 13.83 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005709/0.2976, allocations: 464.5 kB / 454.4 MB, free: 13.37 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.064e-06/0.2976, allocations: 0 / 454.4 MB, free: 13.37 MB / 334.1 MB Notification: Performance of matching and sorting (n=73) (initialization): time 0.001388/0.299, allocations: 0.9886 MB / 455.4 MB, free: 12.36 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001155/0.2991, allocations: 73.66 kB / 455.4 MB, free: 12.29 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.487e-05/0.2992, allocations: 4 kB / 455.5 MB, free: 12.28 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002/0.2994, allocations: 44.78 kB / 455.5 MB, free: 12.23 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003118/0.2997, allocations: 83.88 kB / 455.6 MB, free: 12.15 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001278/0.301, allocations: 1.445 MB / 457 MB, free: 10.57 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002809/0.3013, allocations: 27.97 kB / 457.1 MB, free: 10.55 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.461e-05/0.3014, allocations: 27.98 kB / 457.1 MB, free: 10.52 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * Number of states: 0 () * Number of discrete variables: 4 (voltage.h_mod3[1],voltage.h_mod3[2],voltage.h_mod3[3],system.initime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (45): * Single equations (assignments): 41 * Array equations: 2 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0004124/0.3018, allocations: 311.3 kB / 457.4 MB, free: 10.2 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001171/0.3019, allocations: 43.53 kB / 457.4 MB, free: 10.16 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00153/0.3034, allocations: 1.076 MB / 458.5 MB, free: 9.066 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.326e-05/0.3035, allocations: 12 kB / 458.5 MB, free: 9.055 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.975e-06/0.3035, allocations: 0 / 458.5 MB, free: 9.055 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.842e-06/0.3035, allocations: 3.953 kB / 458.5 MB, free: 9.051 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002358/0.3059, allocations: 1.8 MB / 460.3 MB, free: 7.176 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.148e-06/0.3059, allocations: 4 kB / 460.3 MB, free: 7.172 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002296/0.3061, allocations: 51.97 kB / 460.4 MB, free: 7.121 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.94e-05/0.3062, allocations: 36.83 kB / 460.4 MB, free: 7.082 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.663e-05/0.3063, allocations: 8 kB / 460.4 MB, free: 7.074 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00118/0.3075, allocations: 1.433 MB / 461.8 MB, free: 5.508 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.077e-06/0.3075, allocations: 0 / 461.8 MB, free: 5.508 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001479/0.309, allocations: 1.187 MB / 463 MB, free: 4.289 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002073/0.3092, allocations: 168.7 kB / 463.2 MB, free: 4.105 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.547e-05/0.3092, allocations: 19.98 kB / 463.2 MB, free: 4.086 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002339/0.3095, allocations: 27.95 kB / 463.2 MB, free: 4.059 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001276/0.3096, allocations: 55.83 kB / 463.3 MB, free: 4.004 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.58e-05/0.3097, allocations: 19.98 kB / 463.3 MB, free: 3.984 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001982/0.3099, allocations: 199.1 kB / 463.5 MB, free: 3.793 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.3099, allocations: 4 kB / 463.5 MB, free: 3.789 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0005746/0.3105, allocations: 143.9 kB / 463.7 MB, free: 3.648 MB / 334.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 4 (system.initime,voltage.h_mod3[1],voltage.h_mod3[2],voltage.h_mod3[3]) * Number of discrete states: 3 (voltage.h_mod3[3],voltage.h_mod3[2],voltage.h_mod3[1]) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (30): * Single equations (assignments): 25 * Array equations: 2 * Algorithm blocks: 1 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002441/0.3107, allocations: 127.1 kB / 463.8 MB, free: 3.516 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.001729/0.3125, allocations: 1.362 MB / 465.1 MB, free: 2.125 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.655e-06/0.3125, allocations: 0 / 465.1 MB, free: 2.125 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001002/0.3135, allocations: 0.9308 MB / 466.1 MB, free: 1.172 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005324/0.314, allocations: 69.62 kB / 466.1 MB, free: 1.102 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002295/0.3163, allocations: 1.651 MB / 467.8 MB, free: 15.41 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005335/0.3169, allocations: 0.9053 MB / 468.7 MB, free: 14.48 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001208/0.317, allocations: 39.44 kB / 468.7 MB, free: 14.44 MB / 350.1 MB Notification: Performance of SimCode: time 7.51e-07/0.317, allocations: 0 / 468.7 MB, free: 14.44 MB / 350.1 MB Notification: Performance of Templates: time 0.01158/0.3286, allocations: 8.353 MB / 477.1 MB, free: 6.086 MB / 350.1 MB make -j1 -f PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Sensor.makefile make -j1 -f PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Sensor.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"." -I"." -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/include/omc/c/sundials" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppPowerSystems_PowerSystems.Examples.AC3ph.Elementary.SensorCalcHelperMain.o OMCppPowerSystems_PowerSystems.Examples.AC3ph.Elementary.SensorCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppPowerSystems_PowerSystems.Examples.AC3ph.Elementary.SensorCalcHelperMain.o] Error 1