Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_latest_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 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.AC1ph_DC.Elementary.Sensor,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1480,variableFilter="Time|meter.i|meter.p|meter.v",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Sensor") translateModel(PowerSystems.Examples.AC1ph_DC.Elementary.Sensor,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1480,variableFilter="Time|meter.i|meter.p|meter.v",fileNamePrefix="PowerSystems_latest_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.0009433/0.0009434, allocations: 108.4 kB / 17.16 MB, free: 6.082 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.0008978/0.0008978, allocations: 198.9 kB / 18.08 MB, free: 5.285 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.319/1.319, allocations: 222.9 MB / 241.7 MB, free: 15.47 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.164/0.164, allocations: 38.04 MB / 329.9 MB, free: 8.977 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001081/0.001081, allocations: 58.44 kB / 398.7 MB, free: 34.53 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1181/0.1191, allocations: 58.05 MB / 456.8 MB, free: 8.523 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Elementary.Sensor): time 0.005885/0.1251, allocations: 4.691 MB / 461.5 MB, free: 3.801 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001665/0.1268, allocations: 1.087 MB / 462.6 MB, free: 2.711 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001878/0.127, allocations: 23.88 kB / 462.6 MB, free: 2.688 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002073/0.1272, allocations: 35.7 kB / 462.6 MB, free: 2.652 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004139/0.1276, allocations: 167.2 kB / 462.8 MB, free: 2.488 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001872/0.1278, allocations: 79.91 kB / 462.9 MB, free: 2.41 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004889/0.1283, allocations: 0.5608 MB / 463.4 MB, free: 1.848 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002283/0.1286, allocations: 101.7 kB / 463.5 MB, free: 1.746 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002164/0.1288, allocations: 155.2 kB / 463.7 MB, free: 1.594 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00034/0.1292, allocations: 219.2 kB / 463.9 MB, free: 1.379 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 4.663e-05/0.1292, allocations: 16 kB / 463.9 MB, free: 1.363 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.909e-05/0.1293, allocations: 12 kB / 463.9 MB, free: 1.352 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000118/0.1294, allocations: 99.7 kB / 464 MB, free: 1.254 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001566/0.1296, allocations: 143.2 kB / 464.2 MB, free: 1.113 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002265/0.1298, allocations: 227.5 kB / 464.4 MB, free: 0.8906 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.479e-06/0.1298, allocations: 3.938 kB / 464.4 MB, free: 0.8867 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.102e-06/0.1298, allocations: 0 / 464.4 MB, free: 0.8867 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.64e-06/0.1298, allocations: 0 / 464.4 MB, free: 0.8867 MB / 334.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.001114/0.1309, allocations: 0.6283 MB / 465 MB, free: 216 kB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.524e-05/0.131, allocations: 12.03 kB / 465 MB, free: 204 kB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.816e-05/0.1311, allocations: 32.56 kB / 465.1 MB, free: 172 kB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004254/0.1315, allocations: 319 kB / 465.4 MB, free: 15.82 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.846e-05/0.1315, allocations: 24.94 kB / 465.4 MB, free: 15.79 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.858e-05/0.1316, allocations: 20.12 kB / 465.4 MB, free: 15.77 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004486/0.132, allocations: 320.5 kB / 465.7 MB, free: 15.43 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.33e-05/0.132, allocations: 3.984 kB / 465.7 MB, free: 15.43 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.775e-05/0.1321, allocations: 12 kB / 465.7 MB, free: 15.41 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.165e-06/0.1321, allocations: 8 kB / 465.7 MB, free: 15.41 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003276/0.1324, allocations: 217.5 kB / 466 MB, free: 15.2 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001464/0.1339, allocations: 1.344 MB / 467.3 MB, free: 13.75 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003462/0.1343, allocations: 149.1 kB / 467.5 MB, free: 13.59 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.933e-05/0.1344, allocations: 61.75 kB / 467.5 MB, free: 13.52 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.996e-05/0.1344, allocations: 0 / 467.5 MB, free: 13.52 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.021e-05/0.1344, allocations: 38.5 kB / 467.5 MB, free: 13.48 MB / 350.1 MB Notification: Performance of pre-optimization done (n=12): time 1.102e-06/0.1344, allocations: 0 / 467.5 MB, free: 13.48 MB / 350.1 MB Notification: Performance of matching and sorting (n=13): time 0.0007656/0.1352, allocations: 364.4 kB / 467.9 MB, free: 13.11 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.854e-05/0.1353, allocations: 85.22 kB / 468 MB, free: 13.01 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002449/0.1355, allocations: 258.9 kB / 468.2 MB, free: 12.74 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.096e-05/0.1355, allocations: 29.7 kB / 468.3 MB, free: 12.71 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001255/0.1357, allocations: 203.5 kB / 468.5 MB, free: 12.5 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.904e-05/0.1357, allocations: 51.38 kB / 468.5 MB, free: 12.45 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.362e-05/0.1358, allocations: 41.61 kB / 468.6 MB, free: 12.41 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001249/0.1359, allocations: 342.8 kB / 468.9 MB, free: 12.06 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.733e-05/0.136, allocations: 55.95 kB / 468.9 MB, free: 12.01 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001399/0.1362, allocations: 153.2 kB / 469.1 MB, free: 11.82 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002664/0.1364, allocations: 232.7 kB / 469.3 MB, free: 11.54 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.482e-06/0.1365, allocations: 4 kB / 469.3 MB, free: 11.54 MB / 350.1 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0003486/0.1368, allocations: 248.9 kB / 469.6 MB, free: 11.29 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.792e-05/0.1368, allocations: 10.03 kB / 469.6 MB, free: 11.28 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.783e-06/0.1368, allocations: 0 / 469.6 MB, free: 11.28 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.921e-05/0.1369, allocations: 8 kB / 469.6 MB, free: 11.27 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001811/0.1371, allocations: 51.91 kB / 469.6 MB, free: 11.22 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.14e-05/0.1371, allocations: 7.938 kB / 469.6 MB, free: 11.21 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001177/0.1372, allocations: 4.438 kB / 469.7 MB, free: 11.21 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.042e-05/0.1372, allocations: 19.98 kB / 469.7 MB, free: 11.19 MB / 350.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.0001596/0.1374, allocations: 162.1 kB / 469.8 MB, free: 11.02 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.374e-05/0.1374, allocations: 23.72 kB / 469.9 MB, free: 11 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003392/0.1378, allocations: 195.3 kB / 470 MB, free: 10.8 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.969e-06/0.1378, allocations: 4 kB / 470 MB, free: 10.8 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.49e-06/0.1378, allocations: 0 / 470 MB, free: 10.8 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.787e-06/0.1378, allocations: 0 / 470 MB, free: 10.8 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006643/0.1385, allocations: 0.5616 MB / 470.6 MB, free: 10.18 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.833e-06/0.1385, allocations: 0 / 470.6 MB, free: 10.18 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001356/0.1386, allocations: 23.98 kB / 470.6 MB, free: 10.15 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.775e-06/0.1387, allocations: 4 kB / 470.6 MB, free: 10.15 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.866e-05/0.1387, allocations: 7.938 kB / 470.6 MB, free: 10.14 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.792e-06/0.1387, allocations: 7.938 kB / 470.7 MB, free: 10.13 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.619e-06/0.1387, allocations: 3.984 kB / 470.7 MB, free: 10.13 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003414/0.1391, allocations: 292.9 kB / 470.9 MB, free: 9.82 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.901e-05/0.1391, allocations: 100.7 kB / 471 MB, free: 9.703 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.4e-05/0.1392, allocations: 4 kB / 471 MB, free: 9.699 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001171/0.1393, allocations: 15.91 kB / 471.1 MB, free: 9.684 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.689e-05/0.1393, allocations: 11.98 kB / 471.1 MB, free: 9.672 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.496e-05/0.1394, allocations: 4 kB / 471.1 MB, free: 9.668 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001493/0.1395, allocations: 189.8 kB / 471.3 MB, free: 9.488 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1395, allocations: 4 kB / 471.3 MB, free: 9.484 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003103/0.1398, allocations: 52 kB / 471.3 MB, free: 9.434 MB / 350.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.0001145/0.14, allocations: 91.25 kB / 471.4 MB, free: 9.336 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002703/0.1402, allocations: 155.7 kB / 471.6 MB, free: 9.184 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.515e-06/0.1403, allocations: 0.875 kB / 471.6 MB, free: 9.184 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001062/0.1404, allocations: 79.95 kB / 471.6 MB, free: 9.105 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004801/0.1409, allocations: 57.39 kB / 471.7 MB, free: 9.051 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009499/0.1418, allocations: 0.667 MB / 472.4 MB, free: 8.348 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003695/0.1422, allocations: 0.7833 MB / 473.1 MB, free: 7.535 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.279e-05/0.1423, allocations: 23.42 kB / 473.2 MB, free: 7.512 MB / 350.1 MB Notification: Performance of SimCode: time 3.4e-07/0.1423, allocations: 0 / 473.2 MB, free: 7.512 MB / 350.1 MB Notification: Performance of Templates: time 0.004911/0.1472, allocations: 3.161 MB / 476.3 MB, free: 4.359 MB / 350.1 MB make -j1 -f PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Sensor.makefile make -j1 -f PowerSystems_latest_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_latest_PowerSystems.Examples.AC1ph_DC.Elementary.SensorCalcHelperMain.o OMCppPowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.SensorCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppPowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.SensorCalcHelperMain.o] Error 1