Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.Introductory.Units.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.Introductory.Units,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|meter_SI.i.1.|meter_SI.i.2.|meter_SI.i.3.|meter_SI.p.1.|meter_SI.p.2.|meter_SI.p.3.|meter_SI.v.1.|meter_SI.v.2.|meter_SI.v.3.|meter_pu.i.1.|meter_pu.i.2.|meter_pu.i.3.|meter_pu.p.1.|meter_pu.p.2.|meter_pu.p.3.|meter_pu.v.1.|meter_pu.v.2.|meter_pu.v.3.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.Introductory.Units") translateModel(PowerSystems.Examples.Introductory.Units,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|meter_SI.i.1.|meter_SI.i.2.|meter_SI.i.3.|meter_SI.p.1.|meter_SI.p.2.|meter_SI.p.3.|meter_SI.v.1.|meter_SI.v.2.|meter_SI.v.3.|meter_pu.i.1.|meter_pu.i.2.|meter_pu.i.3.|meter_pu.p.1.|meter_pu.p.2.|meter_pu.p.3.|meter_pu.v.1.|meter_pu.v.2.|meter_pu.v.3.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.Introductory.Units") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001048/0.001048, allocations: 109.6 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.0009687/0.0009687, 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.384/1.384, allocations: 222.9 MB / 241.7 MB, free: 13.62 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.2102/0.2102, allocations: 38.03 MB / 329.9 MB, free: 8.832 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001055/0.001055, allocations: 53.61 kB / 398.7 MB, free: 34.49 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1164/0.1175, allocations: 58.05 MB / 456.8 MB, free: 8.504 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Introductory.Units): time 0.008197/0.1257, allocations: 7.357 MB / 464.1 MB, free: 1.109 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.004568/0.1303, allocations: 2.345 MB / 466.5 MB, free: 14.76 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001086/0.1314, allocations: 47.75 kB / 466.5 MB, free: 14.71 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001924/0.1334, allocations: 0.65 MB / 467.2 MB, free: 14.06 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001203/0.1346, allocations: 362.5 kB / 467.5 MB, free: 13.7 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001235/0.1359, allocations: 355.4 kB / 467.9 MB, free: 13.36 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001922/0.1378, allocations: 1.497 MB / 469.4 MB, free: 11.85 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009333/0.1387, allocations: 490.9 kB / 469.9 MB, free: 11.37 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008386/0.1396, allocations: 370.4 kB / 470.2 MB, free: 11.01 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007354/0.1404, allocations: 0.5647 MB / 470.8 MB, free: 10.44 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 7.723e-05/0.1404, allocations: 40 kB / 470.8 MB, free: 10.4 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000511/0.141, allocations: 255.5 kB / 471.1 MB, free: 10.15 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003433/0.1413, allocations: 407.1 kB / 471.5 MB, free: 9.754 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000389/0.1417, allocations: 402 kB / 471.9 MB, free: 9.359 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006699/0.1424, allocations: 0.764 MB / 472.6 MB, free: 8.594 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.909e-06/0.1424, allocations: 0 / 472.6 MB, free: 8.594 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.434e-06/0.1424, allocations: 0 / 472.6 MB, free: 8.594 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.054e-05/0.1424, allocations: 3.938 kB / 472.6 MB, free: 8.59 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: 208 * Number of variables: 208 Notification: Performance of Generate backend data structure: time 0.001758/0.1442, allocations: 1.076 MB / 473.7 MB, free: 7.465 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.091e-05/0.1442, allocations: 8.031 kB / 473.7 MB, free: 7.457 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006738/0.1449, allocations: 135.8 kB / 473.8 MB, free: 7.324 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007464/0.1457, allocations: 0.5204 MB / 474.4 MB, free: 6.758 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.255e-05/0.1457, allocations: 62.36 kB / 474.4 MB, free: 6.699 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001144/0.1459, allocations: 76.12 kB / 474.5 MB, free: 6.625 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001382/0.1472, allocations: 1.134 MB / 475.6 MB, free: 5.383 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.666e-05/0.1473, allocations: 3.938 kB / 475.6 MB, free: 5.379 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.857e-05/0.1474, allocations: 36 kB / 475.7 MB, free: 5.344 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.721e-05/0.1474, allocations: 49.98 kB / 475.7 MB, free: 5.297 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001193/0.1486, allocations: 0.8623 MB / 476.6 MB, free: 4.434 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004656/0.1533, allocations: 5.055 MB / 481.6 MB, free: 15.15 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006411/0.154, allocations: 423.7 kB / 482.1 MB, free: 14.72 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002752/0.1542, allocations: 213.7 kB / 482.3 MB, free: 14.5 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.614e-05/0.1543, allocations: 11.97 kB / 482.3 MB, free: 14.49 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.812e-05/0.1543, allocations: 42.5 kB / 482.3 MB, free: 14.44 MB / 366.1 MB Notification: Performance of pre-optimization done (n=43): time 2.425e-06/0.1543, allocations: 0 / 482.3 MB, free: 14.44 MB / 366.1 MB Notification: Performance of matching and sorting (n=44): time 0.001705/0.156, allocations: 1.064 MB / 483.4 MB, free: 13.37 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.022e-05/0.1561, allocations: 85.06 kB / 483.5 MB, free: 13.27 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004798/0.1566, allocations: 0.4979 MB / 484 MB, free: 12.76 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.856e-05/0.1566, allocations: 29.7 kB / 484 MB, free: 12.72 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002656/0.1569, allocations: 465.5 kB / 484.4 MB, free: 12.26 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001166/0.157, allocations: 153.8 kB / 484.6 MB, free: 12.11 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001846/0.1572, allocations: 158.5 kB / 484.7 MB, free: 11.95 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001355/0.1574, allocations: 362.8 kB / 485.1 MB, free: 11.59 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003251/0.1577, allocations: 237.8 kB / 485.3 MB, free: 11.35 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005684/0.1583, allocations: 0.6248 MB / 486 MB, free: 10.54 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009774/0.1593, allocations: 0.934 MB / 486.9 MB, free: 9.422 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.013e-06/0.1593, allocations: 4 kB / 486.9 MB, free: 9.418 MB / 366.1 MB Notification: Performance of matching and sorting (n=99) (initialization): time 0.001179/0.1605, allocations: 0.895 MB / 487.8 MB, free: 8.516 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.67e-05/0.1605, allocations: 15.16 kB / 487.8 MB, free: 8.504 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.588e-05/0.1605, allocations: 12 kB / 487.8 MB, free: 8.492 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.735e-05/0.1606, allocations: 27.98 kB / 487.8 MB, free: 8.465 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006521/0.1612, allocations: 215.6 kB / 488.1 MB, free: 8.254 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.328e-05/0.1612, allocations: 23.92 kB / 488.1 MB, free: 8.23 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003837/0.1616, allocations: 59.86 kB / 488.1 MB, free: 8.172 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.52e-05/0.1617, allocations: 44 kB / 488.2 MB, free: 8.129 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 60 * 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 (99): * Single equations (assignments): 99 * 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.0003292/0.162, allocations: 309.2 kB / 488.5 MB, free: 7.816 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.76e-05/0.1621, allocations: 55.34 kB / 488.5 MB, free: 7.762 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008426/0.163, allocations: 0.5525 MB / 489.1 MB, free: 7.203 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.262e-06/0.163, allocations: 4 kB / 489.1 MB, free: 7.199 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.423e-06/0.163, allocations: 0 / 489.1 MB, free: 7.199 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.664e-06/0.163, allocations: 7.984 kB / 489.1 MB, free: 7.191 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001829/0.1648, allocations: 1.328 MB / 490.4 MB, free: 5.781 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.509e-06/0.1649, allocations: 4 kB / 490.4 MB, free: 5.777 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003972/0.1653, allocations: 120 kB / 490.6 MB, free: 5.66 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.634e-06/0.1653, allocations: 7.938 kB / 490.6 MB, free: 5.652 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.79e-05/0.1653, allocations: 12 kB / 490.6 MB, free: 5.641 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.63e-06/0.1653, allocations: 8 kB / 490.6 MB, free: 5.633 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.194e-06/0.1653, allocations: 0 / 490.6 MB, free: 5.633 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007286/0.1661, allocations: 0.6404 MB / 491.2 MB, free: 4.945 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001061/0.1662, allocations: 132.4 kB / 491.3 MB, free: 4.797 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.544e-05/0.1662, allocations: 15.94 kB / 491.4 MB, free: 4.781 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002344/0.1665, allocations: 19.98 kB / 491.4 MB, free: 4.762 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.97e-05/0.1666, allocations: 39.89 kB / 491.4 MB, free: 4.723 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.509e-05/0.1666, allocations: 12 kB / 491.4 MB, free: 4.711 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0003266/0.1669, allocations: 334.8 kB / 491.8 MB, free: 4.387 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.1669, allocations: 0 / 491.8 MB, free: 4.387 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0006346/0.1676, allocations: 160 kB / 491.9 MB, free: 4.23 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * 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 (51): * Single equations (assignments): 50 * 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.0001425/0.1677, allocations: 107.2 kB / 492 MB, free: 4.117 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0008165/0.1685, allocations: 0.6113 MB / 492.6 MB, free: 3.508 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.845e-06/0.1686, allocations: 0 / 492.6 MB, free: 3.508 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002977/0.1689, allocations: 235.7 kB / 492.9 MB, free: 3.277 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006364/0.1695, allocations: 116.9 kB / 493 MB, free: 3.168 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002233/0.1717, allocations: 1.755 MB / 494.7 MB, free: 1.344 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005505/0.1723, allocations: 1.004 MB / 495.7 MB, free: 320 kB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001519/0.1725, allocations: 55.42 kB / 495.8 MB, free: 264 kB / 366.1 MB Notification: Performance of SimCode: time 6.01e-07/0.1725, allocations: 4 kB / 495.8 MB, free: 260 kB / 366.1 MB Notification: Performance of Templates: time 0.0108/0.1833, allocations: 8.186 MB / 0.4922 GB, free: 8.074 MB / 382.1 MB make -j1 -f PowerSystems_latest_PowerSystems.Examples.Introductory.Units.makefile make -j1 -f PowerSystems_latest_PowerSystems.Examples.Introductory.Units.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.Introductory.UnitsCalcHelperMain.o OMCppPowerSystems_latest_PowerSystems.Examples.Introductory.UnitsCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppPowerSystems_latest_PowerSystems.Examples.Introductory.UnitsCalcHelperMain.o] Error 1