Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.ImpedanceOneTerm.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.ImpedanceOneTerm,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1480,variableFilter="Time|meter.i|meter.p|meter.v",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.ImpedanceOneTerm") translateModel(PowerSystems.Examples.AC1ph_DC.Elementary.ImpedanceOneTerm,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1480,variableFilter="Time|meter.i|meter.p|meter.v",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.ImpedanceOneTerm") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001317/0.001317, allocations: 109.9 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.001428/0.001428, 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.39/1.39, allocations: 222.9 MB / 241.7 MB, free: 15.43 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.1862/0.1862, allocations: 38.04 MB / 329.9 MB, free: 9.059 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001051/0.001051, allocations: 64.78 kB / 398.7 MB, free: 34.53 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1233/0.1244, allocations: 58.05 MB / 456.8 MB, free: 8.531 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Elementary.ImpedanceOneTerm): time 0.005782/0.1302, allocations: 4.714 MB / 461.5 MB, free: 3.785 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001512/0.1318, allocations: 1.099 MB / 462.6 MB, free: 2.684 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001819/0.132, allocations: 27.81 kB / 462.6 MB, free: 2.656 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001843/0.1322, allocations: 39.69 kB / 462.7 MB, free: 2.617 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003955/0.1326, allocations: 155.3 kB / 462.8 MB, free: 2.465 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001711/0.1328, allocations: 83.84 kB / 462.9 MB, free: 2.383 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004541/0.1332, allocations: 0.5179 MB / 463.4 MB, free: 1.863 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000227/0.1335, allocations: 105.7 kB / 463.5 MB, free: 1.758 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002137/0.1337, allocations: 155.2 kB / 463.7 MB, free: 1.605 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002961/0.134, allocations: 183.3 kB / 463.9 MB, free: 1.426 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 3.523e-05/0.134, allocations: 12 kB / 463.9 MB, free: 1.414 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.575e-05/0.1341, allocations: 12 kB / 463.9 MB, free: 1.402 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001053/0.1342, allocations: 95.7 kB / 464 MB, free: 1.309 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001272/0.1343, allocations: 135.3 kB / 464.1 MB, free: 1.176 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002045/0.1345, allocations: 211.5 kB / 464.3 MB, free: 0.9688 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.058e-06/0.1346, allocations: 0 / 464.3 MB, free: 0.9688 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.804e-06/0.1346, allocations: 0 / 464.3 MB, free: 0.9688 MB / 334.1 MB Notification: Performance of Transformations before backend: time 4.989e-06/0.1346, allocations: 0 / 464.3 MB, free: 0.9688 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: 53 * Number of variables: 53 Notification: Performance of Generate backend data structure: time 0.0009124/0.1355, allocations: 0.5854 MB / 464.9 MB, free: 344 kB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.902e-05/0.1355, allocations: 16.03 kB / 464.9 MB, free: 328 kB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.72e-05/0.1356, allocations: 40.5 kB / 465 MB, free: 288 kB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004318/0.136, allocations: 323.1 kB / 465.3 MB, free: 15.92 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.178e-05/0.1361, allocations: 24.56 kB / 465.3 MB, free: 15.9 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.594e-05/0.1361, allocations: 16 kB / 465.3 MB, free: 15.88 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004071/0.1365, allocations: 294.8 kB / 465.6 MB, free: 15.56 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.393e-05/0.1366, allocations: 3.938 kB / 465.6 MB, free: 15.56 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.362e-05/0.1366, allocations: 8 kB / 465.6 MB, free: 15.55 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.064e-06/0.1366, allocations: 4 kB / 465.6 MB, free: 15.55 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000283/0.1369, allocations: 177 kB / 465.8 MB, free: 15.38 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001302/0.1382, allocations: 1.228 MB / 467 MB, free: 14.06 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000286/0.1385, allocations: 113.2 kB / 467.1 MB, free: 13.93 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.997e-05/0.1386, allocations: 41.77 kB / 467.2 MB, free: 13.88 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.03e-05/0.1386, allocations: 7.984 kB / 467.2 MB, free: 13.88 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.099e-05/0.1386, allocations: 34.5 kB / 467.2 MB, free: 13.83 MB / 350.1 MB Notification: Performance of pre-optimization done (n=10): time 1.212e-06/0.1386, allocations: 0 / 467.2 MB, free: 13.83 MB / 350.1 MB Notification: Performance of matching and sorting (n=11): time 0.0007916/0.1394, allocations: 496.3 kB / 467.7 MB, free: 13.29 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.646e-05/0.1395, allocations: 77.11 kB / 467.8 MB, free: 13.2 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002201/0.1397, allocations: 250.7 kB / 468 MB, free: 12.94 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.46e-05/0.1398, allocations: 29.7 kB / 468 MB, free: 12.91 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000114/0.1399, allocations: 191.6 kB / 468.2 MB, free: 12.71 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.161e-05/0.1399, allocations: 39.45 kB / 468.3 MB, free: 12.67 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.227e-05/0.14, allocations: 49.73 kB / 468.3 MB, free: 12.62 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.000126/0.1401, allocations: 338.8 kB / 468.6 MB, free: 12.28 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.659e-05/0.1402, allocations: 35.92 kB / 468.7 MB, free: 12.24 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001208/0.1403, allocations: 131.7 kB / 468.8 MB, free: 12.07 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002115/0.1405, allocations: 192.7 kB / 469 MB, free: 11.84 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.296e-06/0.1405, allocations: 7.938 kB / 469 MB, free: 11.83 MB / 350.1 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.000281/0.1408, allocations: 201.8 kB / 469.2 MB, free: 11.62 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.651e-05/0.1409, allocations: 6.031 kB / 469.2 MB, free: 11.62 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.247e-06/0.1409, allocations: 4.438 kB / 469.2 MB, free: 11.62 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.606e-05/0.1409, allocations: 11.94 kB / 469.2 MB, free: 11.61 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001524/0.1411, allocations: 43.92 kB / 469.3 MB, free: 11.56 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.427e-06/0.1411, allocations: 4 kB / 469.3 MB, free: 11.56 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000114/0.1412, allocations: 20.02 kB / 469.3 MB, free: 11.54 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.505e-05/0.1412, allocations: 15.94 kB / 469.3 MB, free: 11.52 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 (24): * Single equations (assignments): 24 * 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.0001277/0.1413, allocations: 153.7 kB / 469.5 MB, free: 11.36 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.097e-05/0.1414, allocations: 23.72 kB / 469.5 MB, free: 11.34 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002326/0.1416, allocations: 135.2 kB / 469.6 MB, free: 11.2 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.486e-06/0.1416, allocations: 4 kB / 469.6 MB, free: 11.2 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.35e-06/0.1417, allocations: 0 / 469.6 MB, free: 11.2 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.909e-06/0.1417, allocations: 3.938 kB / 469.6 MB, free: 11.2 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005001/0.1422, allocations: 483.2 kB / 470.1 MB, free: 10.66 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.463e-06/0.1422, allocations: 0 / 470.1 MB, free: 10.66 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001183/0.1423, allocations: 23.98 kB / 470.1 MB, free: 10.64 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.974e-06/0.1423, allocations: 0 / 470.1 MB, free: 10.64 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.294e-05/0.1423, allocations: 7.938 kB / 470.1 MB, free: 10.63 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.673e-06/0.1423, allocations: 4.031 kB / 470.1 MB, free: 10.63 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.51e-07/0.1423, allocations: 0 / 470.1 MB, free: 10.63 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003165/0.1427, allocations: 283.1 kB / 470.4 MB, free: 10.33 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.902e-05/0.1427, allocations: 96.86 kB / 470.5 MB, free: 10.22 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.041e-05/0.1428, allocations: 7.938 kB / 470.5 MB, free: 10.21 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.729e-05/0.1429, allocations: 4 kB / 470.5 MB, free: 10.21 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.493e-05/0.1429, allocations: 12.05 kB / 470.5 MB, free: 10.2 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.809e-06/0.1429, allocations: 8 kB / 470.5 MB, free: 10.19 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001432/0.1431, allocations: 170 kB / 470.7 MB, free: 10.02 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.1431, allocations: 0 / 470.7 MB, free: 10.02 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.000291/0.1434, allocations: 44 kB / 470.7 MB, free: 9.98 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 1 (ind.i) * 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 (13): * Single equations (assignments): 12 * 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.0001019/0.1435, allocations: 99.17 kB / 470.8 MB, free: 9.875 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001926/0.1437, allocations: 112 kB / 470.9 MB, free: 9.766 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.1437, allocations: 4 kB / 470.9 MB, free: 9.762 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 7.009e-05/0.1438, allocations: 43.92 kB / 471 MB, free: 9.719 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004545/0.1442, allocations: 59.27 kB / 471.1 MB, free: 9.664 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008985/0.1451, allocations: 0.6733 MB / 471.7 MB, free: 8.945 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003394/0.1455, allocations: 0.7716 MB / 472.5 MB, free: 8.145 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.986e-05/0.1455, allocations: 23.56 kB / 472.5 MB, free: 8.121 MB / 350.1 MB Notification: Performance of SimCode: time 2e-07/0.1456, allocations: 0 / 472.5 MB, free: 8.121 MB / 350.1 MB Notification: Performance of Templates: time 0.004339/0.1499, allocations: 2.932 MB / 475.5 MB, free: 5.191 MB / 350.1 MB make -j1 -f PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.ImpedanceOneTerm.makefile make -j1 -f PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.ImpedanceOneTerm.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.ImpedanceOneTermCalcHelperMain.o OMCppPowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.ImpedanceOneTermCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppPowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.ImpedanceOneTermCalcHelperMain.o] Error 1