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.0009172/0.0009176, allocations: 91.55 kB / 17.31 MB, free: 6.512 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.0008645/0.0008649, allocations: 177.1 kB / 18.21 MB, free: 5.656 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.477/1.477, allocations: 223.2 MB / 242.2 MB, free: 224 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.1888/0.1888, allocations: 38.09 MB / 331.4 MB, free: 8.758 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000321/0.000321, allocations: 9 kB / 401.4 MB, free: 34.16 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1235/0.1238, allocations: 59.16 MB / 460.5 MB, free: 7.07 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Elementary.Sensor): time 0.005503/0.1294, allocations: 4.772 MB / 465.3 MB, free: 2.27 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002801/0.1322, allocations: 1.593 MB / 466.9 MB, free: 0.6719 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002689/0.1325, allocations: 23.81 kB / 466.9 MB, free: 0.6484 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002502/0.1328, allocations: 63.55 kB / 467 MB, free: 0.5859 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006548/0.1335, allocations: 266.9 kB / 467.2 MB, free: 332 kB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005775/0.1341, allocations: 231.6 kB / 467.5 MB, free: 100 kB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.000876/0.1349, allocations: 1.002 MB / 468.5 MB, free: 15.09 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007166/0.1357, allocations: 417 kB / 468.9 MB, free: 14.66 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004343/0.1361, allocations: 227 kB / 469.1 MB, free: 14.44 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000668/0.1368, allocations: 426.7 kB / 469.5 MB, free: 14.02 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 5.991e-05/0.1369, allocations: 20 kB / 469.5 MB, free: 14 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005274/0.1374, allocations: 227.6 kB / 469.8 MB, free: 13.78 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002554/0.1377, allocations: 219.4 kB / 470 MB, free: 13.57 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003272/0.138, allocations: 288.2 kB / 470.2 MB, free: 13.28 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006145/0.1386, allocations: 0.5417 MB / 470.8 MB, free: 12.73 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.117e-06/0.1386, allocations: 0 / 470.8 MB, free: 12.73 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.785e-06/0.1387, allocations: 0 / 470.8 MB, free: 12.73 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.054e-06/0.1387, allocations: 4 kB / 470.8 MB, free: 12.73 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.001451/0.1401, allocations: 0.7832 MB / 471.6 MB, free: 11.89 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.029e-05/0.1402, allocations: 12.02 kB / 471.6 MB, free: 11.88 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005958/0.1408, allocations: 96.22 kB / 471.7 MB, free: 11.79 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005461/0.1413, allocations: 411.9 kB / 472.1 MB, free: 11.34 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.645e-05/0.1414, allocations: 33.38 kB / 472.1 MB, free: 11.31 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.991e-05/0.1415, allocations: 52.05 kB / 472.2 MB, free: 11.26 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00122/0.1427, allocations: 0.8591 MB / 473 MB, free: 10.36 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.982e-05/0.1427, allocations: 0 / 473 MB, free: 10.36 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.825e-05/0.1428, allocations: 16 kB / 473 MB, free: 10.34 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001415/0.143, allocations: 64.94 kB / 473.1 MB, free: 10.28 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001143/0.1441, allocations: 0.7963 MB / 473.9 MB, free: 9.484 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003521/0.1476, allocations: 2.729 MB / 476.6 MB, free: 6.605 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008123/0.1485, allocations: 0.5759 MB / 477.2 MB, free: 6.012 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005219/0.149, allocations: 454.7 kB / 477.7 MB, free: 5.562 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.206e-05/0.1491, allocations: 11.98 kB / 477.7 MB, free: 5.551 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.771e-05/0.1491, allocations: 42.5 kB / 477.7 MB, free: 5.5 MB / 350.1 MB Notification: Performance of pre-optimization done (n=56): time 2.114e-06/0.1491, allocations: 0 / 477.7 MB, free: 5.5 MB / 350.1 MB Notification: Performance of matching and sorting (n=57): time 0.00284/0.152, allocations: 1.887 MB / 479.6 MB, free: 3.574 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.106e-05/0.1521, allocations: 138.8 kB / 479.7 MB, free: 3.414 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002827/0.1524, allocations: 296.6 kB / 480 MB, free: 3.117 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.064e-05/0.1524, allocations: 33.7 kB / 480.1 MB, free: 3.078 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000157/0.1526, allocations: 268.2 kB / 480.3 MB, free: 2.809 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001371/0.1527, allocations: 193.2 kB / 480.5 MB, free: 2.617 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.205e-05/0.1528, allocations: 49.7 kB / 480.6 MB, free: 2.562 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001284/0.1529, allocations: 358.7 kB / 480.9 MB, free: 2.203 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004263/0.1534, allocations: 336.9 kB / 481.2 MB, free: 1.875 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005105/0.1539, allocations: 485.8 kB / 481.7 MB, free: 1.34 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001068/0.155, allocations: 0.9799 MB / 482.7 MB, free: 296 kB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.274e-06/0.155, allocations: 0 / 482.7 MB, free: 296 kB / 350.1 MB Notification: Performance of matching and sorting (n=73) (initialization): time 0.001332/0.1563, allocations: 0.981 MB / 483.7 MB, free: 15.29 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.244e-05/0.1564, allocations: 77.59 kB / 483.7 MB, free: 15.21 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.223e-05/0.1564, allocations: 8 kB / 483.7 MB, free: 15.2 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001966/0.1566, allocations: 36.83 kB / 483.8 MB, free: 15.16 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003642/0.157, allocations: 91.81 kB / 483.9 MB, free: 15.07 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001207/0.1582, allocations: 1.437 MB / 485.3 MB, free: 13.5 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003217/0.1586, allocations: 31.95 kB / 485.3 MB, free: 13.47 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.122e-05/0.1586, allocations: 24 kB / 485.4 MB, free: 13.45 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.0003755/0.159, allocations: 307.2 kB / 485.7 MB, free: 13.13 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001058/0.1591, allocations: 47.52 kB / 485.7 MB, free: 13.09 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001496/0.1606, allocations: 1.069 MB / 486.8 MB, free: 12 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.066e-05/0.1607, allocations: 11.94 kB / 486.8 MB, free: 11.99 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.402e-06/0.1607, allocations: 4 kB / 486.8 MB, free: 11.98 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.036e-06/0.1607, allocations: 7.922 kB / 486.8 MB, free: 11.98 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00236/0.1631, allocations: 1.792 MB / 488.6 MB, free: 10.11 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.122e-06/0.1631, allocations: 0 / 488.6 MB, free: 10.11 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002567/0.1634, allocations: 63.83 kB / 488.7 MB, free: 10.05 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001111/0.1635, allocations: 32.84 kB / 488.7 MB, free: 10.01 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.85e-05/0.1635, allocations: 15.97 kB / 488.7 MB, free: 9.996 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001116/0.1646, allocations: 1.441 MB / 490.1 MB, free: 8.426 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.896e-06/0.1647, allocations: 4.031 kB / 490.2 MB, free: 8.422 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0015/0.1662, allocations: 1.179 MB / 491.3 MB, free: 7.203 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002101/0.1664, allocations: 172.5 kB / 491.5 MB, free: 7.016 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.132e-05/0.1665, allocations: 12 kB / 491.5 MB, free: 7.004 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002541/0.1667, allocations: 27.97 kB / 491.5 MB, free: 6.977 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001184/0.1668, allocations: 47.94 kB / 491.6 MB, free: 6.93 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.456e-05/0.1669, allocations: 19.94 kB / 491.6 MB, free: 6.91 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002108/0.1671, allocations: 203.1 kB / 491.8 MB, free: 6.715 MB / 366.1 MB Notification: Performance of sort global known variables: time 2.104e-06/0.1671, allocations: 0 / 491.8 MB, free: 6.715 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0009504/0.1681, allocations: 139.9 kB / 491.9 MB, free: 6.578 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.0003371/0.1684, allocations: 149.2 kB / 492.1 MB, free: 6.422 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001727/0.1702, allocations: 1.37 MB / 493.5 MB, free: 5.027 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 4.188e-06/0.1702, allocations: 4 kB / 493.5 MB, free: 5.023 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009886/0.1712, allocations: 0.9135 MB / 494.4 MB, free: 4.086 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005999/0.1718, allocations: 73.17 kB / 494.4 MB, free: 4.012 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002265/0.1741, allocations: 1.7 MB / 496.1 MB, free: 2.277 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005339/0.1746, allocations: 0.9016 MB / 497 MB, free: 1.348 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001198/0.1748, allocations: 39.42 kB / 497.1 MB, free: 1.309 MB / 366.1 MB Notification: Performance of SimCode: time 8.41e-07/0.1748, allocations: 0 / 497.1 MB, free: 1.309 MB / 366.1 MB Notification: Performance of Templates: time 0.01255/0.1873, allocations: 8.331 MB / 0.4936 GB, free: 8.98 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