Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Impedance.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.Impedance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1480,variableFilter="Time|meter.i|meter.p|meter.v",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Impedance") translateModel(PowerSystems.Examples.AC1ph_DC.Elementary.Impedance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1480,variableFilter="Time|meter.i|meter.p|meter.v",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Impedance") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000773/0.000773, allocations: 94.02 kB / 17.31 MB, free: 6.535 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.0008224/0.0008225, allocations: 175.8 kB / 18.21 MB, free: 5.684 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.414/1.414, allocations: 223.3 MB / 242.2 MB, free: 204 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.2082/0.2082, allocations: 38.08 MB / 331.4 MB, free: 8.758 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003899/0.0003901, allocations: 13.5 kB / 401.4 MB, free: 34.15 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1279/0.1283, allocations: 59.15 MB / 460.5 MB, free: 7.066 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Elementary.Impedance): time 0.005895/0.1342, allocations: 4.601 MB / 465.1 MB, free: 2.438 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002099/0.1364, allocations: 1.107 MB / 466.2 MB, free: 1.328 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002556/0.1367, allocations: 27.81 kB / 466.3 MB, free: 1.301 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001988/0.1369, allocations: 43.67 kB / 466.3 MB, free: 1.258 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006268/0.1375, allocations: 219.1 kB / 466.5 MB, free: 1.043 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002713/0.1378, allocations: 91.84 kB / 466.6 MB, free: 0.9531 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008012/0.1386, allocations: 0.7987 MB / 467.4 MB, free: 156 kB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002593/0.1389, allocations: 122.9 kB / 467.5 MB, free: 36 kB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003391/0.1392, allocations: 179.1 kB / 467.7 MB, free: 15.86 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004689/0.1397, allocations: 275.1 kB / 468 MB, free: 15.59 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 4.085e-05/0.1398, allocations: 12 kB / 468 MB, free: 15.58 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.455e-05/0.1398, allocations: 16 kB / 468 MB, free: 15.56 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001995/0.1401, allocations: 143.6 kB / 468.1 MB, free: 15.42 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002065/0.1403, allocations: 184.8 kB / 468.3 MB, free: 15.23 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003107/0.1406, allocations: 271.3 kB / 468.6 MB, free: 14.97 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.842e-06/0.1406, allocations: 0 / 468.6 MB, free: 14.97 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.014e-06/0.1406, allocations: 0 / 468.6 MB, free: 14.97 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.704e-06/0.1406, allocations: 0 / 468.6 MB, free: 14.97 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: 63 * Number of variables: 63 Notification: Performance of Generate backend data structure: time 0.001211/0.1418, allocations: 0.6088 MB / 469.2 MB, free: 14.31 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.694e-05/0.1419, allocations: 8.031 kB / 469.2 MB, free: 14.3 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.573e-05/0.142, allocations: 32.56 kB / 469.2 MB, free: 14.27 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005357/0.1425, allocations: 367.7 kB / 469.6 MB, free: 13.87 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.206e-05/0.1426, allocations: 28.62 kB / 469.6 MB, free: 13.84 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.628e-05/0.1426, allocations: 31.91 kB / 469.6 MB, free: 13.81 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000532/0.1432, allocations: 352.7 kB / 470 MB, free: 13.43 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.179e-05/0.1432, allocations: 4 kB / 470 MB, free: 13.43 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.025e-05/0.1432, allocations: 12 kB / 470 MB, free: 13.42 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001062/0.1434, allocations: 24.53 kB / 470 MB, free: 13.39 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003786/0.1437, allocations: 246 kB / 470.3 MB, free: 13.16 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001672/0.1454, allocations: 1.37 MB / 471.6 MB, free: 11.7 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003426/0.1458, allocations: 173 kB / 471.8 MB, free: 11.51 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001878/0.146, allocations: 101.7 kB / 471.9 MB, free: 11.41 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.068e-05/0.146, allocations: 3.984 kB / 471.9 MB, free: 11.4 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.83e-05/0.146, allocations: 38.56 kB / 472 MB, free: 11.36 MB / 350.1 MB Notification: Performance of pre-optimization done (n=14): time 1.723e-06/0.1461, allocations: 0 / 472 MB, free: 11.36 MB / 350.1 MB Notification: Performance of matching and sorting (n=15): time 0.001314/0.1474, allocations: 0.756 MB / 472.7 MB, free: 10.52 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.844e-05/0.1475, allocations: 81.11 kB / 472.8 MB, free: 10.43 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000292/0.1478, allocations: 300.4 kB / 473.1 MB, free: 10.12 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.366e-05/0.1478, allocations: 29.7 kB / 473.1 MB, free: 10.09 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001533/0.148, allocations: 211.8 kB / 473.3 MB, free: 9.875 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.161e-05/0.148, allocations: 59.25 kB / 473.4 MB, free: 9.816 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.313e-05/0.148, allocations: 29.7 kB / 473.4 MB, free: 9.781 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001414/0.1482, allocations: 338.8 kB / 473.7 MB, free: 9.441 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001046/0.1483, allocations: 63.95 kB / 473.8 MB, free: 9.379 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001776/0.1485, allocations: 172.8 kB / 474 MB, free: 9.164 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003157/0.1488, allocations: 260 kB / 474.2 MB, free: 8.867 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.683e-06/0.1488, allocations: 0 / 474.2 MB, free: 8.867 MB / 350.1 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0005036/0.1493, allocations: 310.1 kB / 474.5 MB, free: 8.555 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.604e-05/0.1494, allocations: 12.06 kB / 474.5 MB, free: 8.543 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.638e-06/0.1494, allocations: 4 kB / 474.5 MB, free: 8.539 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002282/0.1496, allocations: 48.83 kB / 474.6 MB, free: 8.488 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001903/0.1498, allocations: 47.91 kB / 474.6 MB, free: 8.441 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0015/0.1513, allocations: 1.503 MB / 476.1 MB, free: 6.801 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001485/0.1515, allocations: 11.94 kB / 476.1 MB, free: 6.789 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.14e-05/0.1515, allocations: 19.88 kB / 476.2 MB, free: 6.77 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 (28): * Single equations (assignments): 27 * Array equations: 0 * Algorithm blocks: 0 * 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,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002074/0.1517, allocations: 177.7 kB / 476.3 MB, free: 6.586 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.063e-05/0.1518, allocations: 27.81 kB / 476.4 MB, free: 6.559 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004238/0.1522, allocations: 232.3 kB / 476.6 MB, free: 6.324 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.494e-06/0.1522, allocations: 0 / 476.6 MB, free: 6.324 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.412e-06/0.1522, allocations: 7.938 kB / 476.6 MB, free: 6.316 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.256e-06/0.1523, allocations: 0 / 476.6 MB, free: 6.316 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008314/0.1531, allocations: 0.6404 MB / 477.2 MB, free: 5.613 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.954e-06/0.1531, allocations: 4.031 kB / 477.2 MB, free: 5.609 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.603e-05/0.1532, allocations: 20 kB / 477.3 MB, free: 5.59 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001843/0.1534, allocations: 64.72 kB / 477.3 MB, free: 5.523 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.662e-05/0.1534, allocations: 4 kB / 477.3 MB, free: 5.52 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001179/0.1546, allocations: 1.491 MB / 478.8 MB, free: 3.891 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.267e-06/0.1546, allocations: 4.031 kB / 478.8 MB, free: 3.887 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005037/0.1551, allocations: 411.8 kB / 479.2 MB, free: 3.461 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.832e-05/0.1552, allocations: 104.8 kB / 479.3 MB, free: 3.34 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.374e-05/0.1553, allocations: 11.98 kB / 479.3 MB, free: 3.328 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001216/0.1554, allocations: 0 / 479.3 MB, free: 3.328 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.599e-05/0.1554, allocations: 19.92 kB / 479.4 MB, free: 3.309 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.139e-05/0.1555, allocations: 4 kB / 479.4 MB, free: 3.305 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001894/0.1556, allocations: 207.1 kB / 479.6 MB, free: 3.105 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1557, allocations: 0 / 479.6 MB, free: 3.105 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003951/0.1561, allocations: 76.06 kB / 479.6 MB, free: 3.031 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 2 (ind.i[1],ind.i[2]) * 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 (16): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 0 * 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,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001598/0.1562, allocations: 103.2 kB / 479.7 MB, free: 2.922 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0005866/0.1568, allocations: 294.5 kB / 480 MB, free: 2.625 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 5.189e-06/0.1568, allocations: 4 kB / 480 MB, free: 2.621 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003421/0.1572, allocations: 210.5 kB / 480.2 MB, free: 2.402 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005369/0.1577, allocations: 56.61 kB / 480.3 MB, free: 2.348 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001337/0.1591, allocations: 0.9598 MB / 481.3 MB, free: 1.352 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004018/0.1595, allocations: 0.8028 MB / 482.1 MB, free: 0.5195 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.207e-05/0.1596, allocations: 23.44 kB / 482.1 MB, free: 0.4961 MB / 350.1 MB Notification: Performance of SimCode: time 6.22e-07/0.1596, allocations: 0 / 482.1 MB, free: 0.4961 MB / 350.1 MB Notification: Performance of Templates: time 0.007037/0.1666, allocations: 4.823 MB / 486.9 MB, free: 11.68 MB / 366.1 MB make -j1 -f PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Impedance.makefile make -j1 -f PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Impedance.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.ImpedanceCalcHelperMain.o OMCppPowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.ImpedanceCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppPowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.ImpedanceCalcHelperMain.o] Error 1