Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_latest_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 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.AC3ph.Elementary.Sensor,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|meter.i.1.|meter.i.2.|meter.i.3.|meter.p.1.|meter.p.2.|meter.p.3.|meter.v.1.|meter.v.2.|meter.v.3.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Sensor") translateModel(PowerSystems.Examples.AC3ph.Elementary.Sensor,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|meter.i.1.|meter.i.2.|meter.i.3.|meter.p.1.|meter.p.2.|meter.p.3.|meter.v.1.|meter.v.2.|meter.v.3.",fileNamePrefix="PowerSystems_latest_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.001071/0.00107, allocations: 106.5 kB / 17.17 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.001124/0.001124, allocations: 194.9 kB / 18.08 MB, free: 5.414 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.31/1.31, allocations: 222.9 MB / 241.7 MB, free: 15.52 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.1664/0.1664, allocations: 38.04 MB / 329.9 MB, free: 9.109 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001019/0.001019, allocations: 57.98 kB / 398.7 MB, free: 34.57 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1173/0.1183, allocations: 58.05 MB / 456.8 MB, free: 8.578 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Elementary.Sensor): time 0.006299/0.1246, allocations: 5.162 MB / 461.9 MB, free: 3.383 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002743/0.1274, allocations: 1.609 MB / 463.6 MB, free: 1.77 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002803/0.1277, allocations: 27.81 kB / 463.6 MB, free: 1.742 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008083/0.1285, allocations: 286.8 kB / 463.9 MB, free: 1.461 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005303/0.1291, allocations: 266.9 kB / 464.1 MB, free: 1.199 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005578/0.1297, allocations: 219.6 kB / 464.3 MB, free: 0.9844 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008173/0.1305, allocations: 1.01 MB / 465.3 MB, free: 15.97 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003808/0.1309, allocations: 224.3 kB / 465.6 MB, free: 15.75 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003168/0.1312, allocations: 247 kB / 465.8 MB, free: 15.51 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005233/0.1317, allocations: 434.7 kB / 466.2 MB, free: 15.08 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 6.506e-05/0.1318, allocations: 28 kB / 466.3 MB, free: 15.05 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004105/0.1322, allocations: 227.6 kB / 466.5 MB, free: 14.83 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002073/0.1324, allocations: 239.4 kB / 466.7 MB, free: 14.6 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002656/0.1327, allocations: 266.5 kB / 467 MB, free: 14.34 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004861/0.1332, allocations: 0.5457 MB / 467.5 MB, free: 13.79 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.047e-06/0.1332, allocations: 0 / 467.5 MB, free: 13.79 MB / 350.1 MB Notification: Performance of FrontEnd: time 7.61e-07/0.1332, allocations: 0 / 467.5 MB, free: 13.79 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.753e-06/0.1332, allocations: 0 / 467.5 MB, free: 13.79 MB / 350.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.001448/0.1347, allocations: 0.8923 MB / 468.4 MB, free: 12.84 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.662e-05/0.1347, allocations: 12.02 kB / 468.4 MB, free: 12.83 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005143/0.1353, allocations: 92.14 kB / 468.5 MB, free: 12.74 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005584/0.1358, allocations: 412 kB / 468.9 MB, free: 12.29 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.759e-05/0.1359, allocations: 33.36 kB / 469 MB, free: 12.26 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.486e-05/0.136, allocations: 40.12 kB / 469 MB, free: 12.22 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001136/0.1371, allocations: 0.8707 MB / 469.9 MB, free: 11.31 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.886e-05/0.1371, allocations: 3.906 kB / 469.9 MB, free: 11.31 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.18e-05/0.1372, allocations: 12 kB / 469.9 MB, free: 11.3 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001297/0.1373, allocations: 64.95 kB / 469.9 MB, free: 11.23 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001074/0.1384, allocations: 0.7885 MB / 470.7 MB, free: 10.45 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003348/0.1418, allocations: 2.733 MB / 473.5 MB, free: 7.562 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000828/0.1426, allocations: 0.5759 MB / 474 MB, free: 6.969 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004854/0.1431, allocations: 458.7 kB / 474.5 MB, free: 6.516 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.66e-05/0.1431, allocations: 4 kB / 474.5 MB, free: 6.512 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.901e-05/0.1432, allocations: 38.5 kB / 474.5 MB, free: 6.465 MB / 350.1 MB Notification: Performance of pre-optimization done (n=56): time 2.034e-06/0.1432, allocations: 4 kB / 474.5 MB, free: 6.461 MB / 350.1 MB Notification: Performance of matching and sorting (n=57): time 0.002717/0.1459, allocations: 1.879 MB / 476.4 MB, free: 4.543 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.785e-05/0.146, allocations: 142.8 kB / 476.6 MB, free: 4.379 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002717/0.1463, allocations: 296.4 kB / 476.8 MB, free: 4.082 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.485e-05/0.1464, allocations: 33.7 kB / 476.9 MB, free: 4.043 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001637/0.1465, allocations: 260.2 kB / 477.1 MB, free: 3.781 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001338/0.1467, allocations: 181.3 kB / 477.3 MB, free: 3.602 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001584/0.1468, allocations: 109.9 kB / 477.4 MB, free: 3.488 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001427/0.147, allocations: 362.8 kB / 477.8 MB, free: 3.125 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004226/0.1474, allocations: 340.9 kB / 478.1 MB, free: 2.793 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004979/0.1479, allocations: 481.8 kB / 478.6 MB, free: 2.258 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001045/0.149, allocations: 0.976 MB / 479.5 MB, free: 1.211 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.817e-06/0.149, allocations: 0 / 479.5 MB, free: 1.211 MB / 350.1 MB Notification: Performance of matching and sorting (n=73) (initialization): time 0.0013/0.1503, allocations: 0.9844 MB / 480.5 MB, free: 220 kB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.069e-05/0.1504, allocations: 77.59 kB / 480.6 MB, free: 136 kB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.161e-05/0.1504, allocations: 8 kB / 480.6 MB, free: 128 kB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001971/0.1506, allocations: 41.39 kB / 480.7 MB, free: 84 kB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003381/0.151, allocations: 87.88 kB / 480.7 MB, free: 15.99 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001218/0.1522, allocations: 1.429 MB / 482.2 MB, free: 14.43 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000297/0.1525, allocations: 40 kB / 482.2 MB, free: 14.39 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.132e-05/0.1526, allocations: 32 kB / 482.2 MB, free: 14.36 MB / 366.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.0003729/0.1529, allocations: 303.2 kB / 482.5 MB, free: 14.05 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001205/0.1531, allocations: 43.53 kB / 482.6 MB, free: 14.01 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00145/0.1545, allocations: 1.069 MB / 483.6 MB, free: 12.92 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.198e-05/0.1546, allocations: 20 kB / 483.7 MB, free: 12.9 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.799e-06/0.1546, allocations: 0 / 483.7 MB, free: 12.9 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.636e-05/0.1546, allocations: 11.86 kB / 483.7 MB, free: 12.89 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002342/0.157, allocations: 1.788 MB / 485.5 MB, free: 11.03 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.079e-06/0.157, allocations: 4 kB / 485.5 MB, free: 11.02 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002452/0.1572, allocations: 59.89 kB / 485.5 MB, free: 10.96 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000105/0.1573, allocations: 36.91 kB / 485.6 MB, free: 10.93 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.808e-05/0.1574, allocations: 11.98 kB / 485.6 MB, free: 10.91 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001129/0.1585, allocations: 1.433 MB / 487 MB, free: 9.352 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.653e-06/0.1585, allocations: 0 / 487 MB, free: 9.352 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001458/0.16, allocations: 1.179 MB / 488.2 MB, free: 8.133 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002282/0.1602, allocations: 184.4 kB / 488.4 MB, free: 7.934 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.513e-05/0.1603, allocations: 20.2 kB / 488.4 MB, free: 7.914 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002401/0.1606, allocations: 23.97 kB / 488.4 MB, free: 7.891 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001378/0.1607, allocations: 43.92 kB / 488.5 MB, free: 7.848 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.635e-05/0.1608, allocations: 20 kB / 488.5 MB, free: 7.828 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002/0.161, allocations: 203.1 kB / 488.7 MB, free: 7.633 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.161, allocations: 3.938 kB / 488.7 MB, free: 7.629 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0005684/0.1615, allocations: 140 kB / 488.8 MB, free: 7.492 MB / 366.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.0002748/0.1618, allocations: 159.1 kB / 489 MB, free: 7.324 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001597/0.1634, allocations: 1.367 MB / 490.3 MB, free: 5.934 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.015e-06/0.1634, allocations: 0 / 490.3 MB, free: 5.934 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009235/0.1644, allocations: 0.9124 MB / 491.2 MB, free: 4.996 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005119/0.1649, allocations: 79.56 kB / 491.3 MB, free: 4.918 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002113/0.167, allocations: 1.675 MB / 493 MB, free: 3.203 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004819/0.1675, allocations: 0.9015 MB / 493.9 MB, free: 2.277 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000124/0.1676, allocations: 35.42 kB / 493.9 MB, free: 2.242 MB / 366.1 MB Notification: Performance of SimCode: time 2.41e-07/0.1677, allocations: 0 / 493.9 MB, free: 2.242 MB / 366.1 MB Notification: Performance of Templates: time 0.01079/0.1785, allocations: 8.386 MB / 0.4905 GB, free: 9.863 MB / 382.1 MB make -j1 -f PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Sensor.makefile make -j1 -f PowerSystems_latest_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_latest_PowerSystems.Examples.AC3ph.Elementary.SensorCalcHelperMain.o OMCppPowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.SensorCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppPowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.SensorCalcHelperMain.o] Error 1