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.0009275/0.0009276, 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.0008947/0.0008949, 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.176/1.176, 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.1545/0.1545, allocations: 37.99 MB / 309.3 MB, free: 6.227 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.001146/0.001146, allocations: 63.91 kB / 375.3 MB, free: 4.102 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1781/0.1792, allocations: 55.24 MB / 430.5 MB, free: 19.8 MB / 318.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Elementary.Sensor): time 0.005026/0.1843, allocations: 5.161 MB / 435.7 MB, free: 14.61 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002602/0.1869, allocations: 1.664 MB / 437.3 MB, free: 12.94 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004592/0.1874, allocations: 27.81 kB / 437.4 MB, free: 12.91 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008269/0.1883, allocations: 267 kB / 437.6 MB, free: 12.65 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006094/0.1889, allocations: 270.8 kB / 437.9 MB, free: 12.39 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005571/0.1894, allocations: 223.6 kB / 438.1 MB, free: 12.17 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006753/0.1901, allocations: 0.998 MB / 439.1 MB, free: 11.17 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003426/0.1905, allocations: 232.2 kB / 439.3 MB, free: 10.94 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003628/0.1909, allocations: 255 kB / 439.6 MB, free: 10.69 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004518/0.1913, allocations: 430.7 kB / 440 MB, free: 10.27 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 5.809e-05/0.1914, allocations: 28 kB / 440 MB, free: 10.24 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003469/0.1917, allocations: 223.6 kB / 440.2 MB, free: 10.02 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001426/0.1919, allocations: 239.3 kB / 440.5 MB, free: 9.785 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001937/0.1921, allocations: 270.6 kB / 440.7 MB, free: 9.52 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003328/0.1924, allocations: 0.5497 MB / 441.3 MB, free: 8.969 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.096e-06/0.1924, allocations: 0 / 441.3 MB, free: 8.969 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.213e-06/0.1925, allocations: 0 / 441.3 MB, free: 8.969 MB / 318.1 MB Notification: Performance of Transformations before backend: time 6.342e-06/0.1925, allocations: 3.938 kB / 441.3 MB, free: 8.965 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.001116/0.1936, allocations: 0.8806 MB / 442.2 MB, free: 8.031 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.939e-05/0.1936, allocations: 12.02 kB / 442.2 MB, free: 8.02 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004707/0.1941, allocations: 92.23 kB / 442.3 MB, free: 7.93 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004213/0.1945, allocations: 415.9 kB / 442.7 MB, free: 7.484 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.101e-05/0.1946, allocations: 29.36 kB / 442.7 MB, free: 7.457 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.767e-05/0.1946, allocations: 44.12 kB / 442.8 MB, free: 7.414 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008347/0.1955, allocations: 0.8667 MB / 443.6 MB, free: 6.508 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.68e-05/0.1955, allocations: 4 kB / 443.6 MB, free: 6.504 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.605e-05/0.1955, allocations: 23.92 kB / 443.7 MB, free: 6.48 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000111/0.1957, allocations: 60.95 kB / 443.7 MB, free: 6.418 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008136/0.1965, allocations: 0.7963 MB / 444.5 MB, free: 5.625 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002408/0.1989, allocations: 2.729 MB / 447.2 MB, free: 2.746 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006041/0.1995, allocations: 0.5798 MB / 447.8 MB, free: 2.148 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003547/0.1999, allocations: 454.7 kB / 448.3 MB, free: 1.699 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.132e-05/0.1999, allocations: 8 kB / 448.3 MB, free: 1.691 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.695e-05/0.1999, allocations: 34.56 kB / 448.3 MB, free: 1.648 MB / 318.1 MB Notification: Performance of pre-optimization done (n=56): time 2.174e-06/0.2, allocations: 0 / 448.3 MB, free: 1.648 MB / 318.1 MB Notification: Performance of matching and sorting (n=57): time 0.002111/0.2021, allocations: 1.883 MB / 450.2 MB, free: 15.72 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.49e-05/0.2022, allocations: 142.9 kB / 450.3 MB, free: 15.55 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000254/0.2024, allocations: 296.4 kB / 450.6 MB, free: 15.26 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.33e-05/0.2025, allocations: 29.7 kB / 450.6 MB, free: 15.22 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001369/0.2026, allocations: 256.4 kB / 450.9 MB, free: 14.96 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001228/0.2027, allocations: 189.2 kB / 451.1 MB, free: 14.78 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001546/0.2029, allocations: 98.11 kB / 451.2 MB, free: 14.68 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.000123/0.203, allocations: 358.7 kB / 451.5 MB, free: 14.32 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004036/0.2034, allocations: 340.9 kB / 451.9 MB, free: 13.98 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004929/0.2039, allocations: 485.8 kB / 452.3 MB, free: 13.45 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001009/0.205, allocations: 0.9799 MB / 453.3 MB, free: 12.4 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.404e-06/0.205, allocations: 0 / 453.3 MB, free: 12.4 MB / 334.1 MB Notification: Performance of matching and sorting (n=73) (initialization): time 0.001235/0.2062, allocations: 0.9845 MB / 454.3 MB, free: 11.4 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.872e-05/0.2063, allocations: 77.59 kB / 454.4 MB, free: 11.32 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.568e-06/0.2063, allocations: 4 kB / 454.4 MB, free: 11.32 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001625/0.2065, allocations: 40.83 kB / 454.4 MB, free: 11.27 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003042/0.2068, allocations: 87.83 kB / 454.5 MB, free: 11.19 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00108/0.2079, allocations: 1.445 MB / 455.9 MB, free: 9.613 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002647/0.2081, allocations: 35.86 kB / 456 MB, free: 9.578 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.674e-05/0.2082, allocations: 28 kB / 456 MB, free: 9.551 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[3],voltage.h_mod3[2],voltage.h_mod3[1],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 (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0003021/0.2085, allocations: 307.3 kB / 456.3 MB, free: 9.234 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.177e-05/0.2086, allocations: 39.53 kB / 456.3 MB, free: 9.195 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001329/0.21, allocations: 1.072 MB / 457.4 MB, free: 8.109 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.953e-05/0.21, allocations: 12 kB / 457.4 MB, free: 8.098 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.615e-06/0.21, allocations: 0 / 457.4 MB, free: 8.098 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.434e-06/0.21, allocations: 7.922 kB / 457.4 MB, free: 8.09 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002146/0.2122, allocations: 1.807 MB / 459.2 MB, free: 6.207 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.665e-06/0.2122, allocations: 0 / 459.2 MB, free: 6.207 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002336/0.2124, allocations: 63.89 kB / 459.3 MB, free: 6.145 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.779e-05/0.2125, allocations: 28.84 kB / 459.3 MB, free: 6.113 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.097e-05/0.2126, allocations: 15.98 kB / 459.4 MB, free: 6.098 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009776/0.2135, allocations: 1.437 MB / 460.8 MB, free: 4.527 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.502e-06/0.2136, allocations: 0 / 460.8 MB, free: 4.527 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001335/0.2149, allocations: 1.183 MB / 462 MB, free: 3.312 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001884/0.2151, allocations: 176.5 kB / 462.1 MB, free: 3.121 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.249e-05/0.2152, allocations: 12 kB / 462.2 MB, free: 3.109 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002317/0.2154, allocations: 23.97 kB / 462.2 MB, free: 3.086 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001158/0.2155, allocations: 47.94 kB / 462.2 MB, free: 3.039 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.457e-05/0.2156, allocations: 24 kB / 462.3 MB, free: 3.016 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001774/0.2158, allocations: 203.1 kB / 462.4 MB, free: 2.816 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.2158, allocations: 0 / 462.4 MB, free: 2.816 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0004897/0.2163, allocations: 140 kB / 462.6 MB, free: 2.68 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 (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002214/0.2165, allocations: 147.1 kB / 462.7 MB, free: 2.527 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.001449/0.218, allocations: 1.366 MB / 464.1 MB, free: 1.137 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/0.218, allocations: 5.125 kB / 464.1 MB, free: 1.133 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000861/0.2188, allocations: 0.922 MB / 465 MB, free: 192 kB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004801/0.2193, allocations: 65.52 kB / 465.1 MB, free: 120 kB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001963/0.2213, allocations: 1.673 MB / 466.8 MB, free: 14.41 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004593/0.2218, allocations: 0.9015 MB / 467.7 MB, free: 13.48 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001119/0.2219, allocations: 39.42 kB / 467.7 MB, free: 13.44 MB / 350.1 MB Notification: Performance of SimCode: time 4e-07/0.2219, allocations: 0 / 467.7 MB, free: 13.44 MB / 350.1 MB Notification: Performance of Templates: time 0.009798/0.2317, allocations: 8.385 MB / 476.1 MB, free: 5.062 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++ -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.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