Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.AC3ph.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.AC3ph.Elementary.Impedance,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.Impedance") translateModel(PowerSystems.Examples.AC3ph.Elementary.Impedance,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.Impedance") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001052/0.001052, allocations: 110.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.0009899/0.00099, 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.321/1.321, allocations: 222.9 MB / 241.7 MB, free: 15.48 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.1664/0.1664, allocations: 38.03 MB / 329.9 MB, free: 9.07 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001099/0.001099, allocations: 59.45 kB / 398.7 MB, free: 34.54 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1248/0.1259, allocations: 58.05 MB / 456.8 MB, free: 8.547 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Elementary.Impedance): time 0.00711/0.133, allocations: 5.225 MB / 462 MB, free: 3.289 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002869/0.136, allocations: 1.663 MB / 463.7 MB, free: 1.621 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002685/0.1362, allocations: 31.81 kB / 463.7 MB, free: 1.59 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001036/0.1373, allocations: 352.8 kB / 464.1 MB, free: 1.246 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005778/0.1379, allocations: 215 kB / 464.3 MB, free: 1.035 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006606/0.1386, allocations: 235.5 kB / 464.5 MB, free: 0.8047 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007938/0.1394, allocations: 0.8381 MB / 465.3 MB, free: 15.96 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005185/0.1399, allocations: 326.4 kB / 465.6 MB, free: 15.64 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002954/0.1402, allocations: 211.1 kB / 465.9 MB, free: 15.44 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004843/0.1407, allocations: 334.9 kB / 466.2 MB, free: 15.11 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 5.205e-05/0.1408, allocations: 27.94 kB / 466.2 MB, free: 15.08 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003129/0.1411, allocations: 155.7 kB / 466.4 MB, free: 14.93 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002169/0.1413, allocations: 215.4 kB / 466.6 MB, free: 14.72 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002415/0.1416, allocations: 230.8 kB / 466.8 MB, free: 14.49 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004777/0.1421, allocations: 466.9 kB / 467.3 MB, free: 14.04 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.031e-06/0.1421, allocations: 0 / 467.3 MB, free: 14.04 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.352e-06/0.1421, allocations: 0 / 467.3 MB, free: 14.04 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.775e-06/0.1421, allocations: 0 / 467.3 MB, free: 14.04 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: 113 * Number of variables: 113 Notification: Performance of Generate backend data structure: time 0.001441/0.1436, allocations: 0.7622 MB / 468 MB, free: 13.22 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.144e-05/0.1436, allocations: 8.031 kB / 468 MB, free: 13.21 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006063/0.1442, allocations: 100.2 kB / 468.1 MB, free: 13.12 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005934/0.1448, allocations: 396 kB / 468.5 MB, free: 12.69 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.354e-05/0.1449, allocations: 37.36 kB / 468.5 MB, free: 12.65 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001487/0.145, allocations: 48.12 kB / 468.6 MB, free: 12.61 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000935/0.146, allocations: 0.6519 MB / 469.2 MB, free: 11.89 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.34e-05/0.146, allocations: 7.938 kB / 469.2 MB, free: 11.88 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.755e-05/0.146, allocations: 19.98 kB / 469.3 MB, free: 11.86 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001145/0.1462, allocations: 28.98 kB / 469.3 MB, free: 11.83 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007191/0.1469, allocations: 479.5 kB / 469.8 MB, free: 11.37 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00334/0.1502, allocations: 3.026 MB / 472.8 MB, free: 8.176 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002831/0.1505, allocations: 181 kB / 473 MB, free: 7.98 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001613/0.1507, allocations: 105.7 kB / 473.1 MB, free: 7.871 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.528e-05/0.1508, allocations: 8 kB / 473.1 MB, free: 7.863 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.061e-05/0.1508, allocations: 30.56 kB / 473.1 MB, free: 7.824 MB / 350.1 MB Notification: Performance of pre-optimization done (n=20): time 1.683e-06/0.1508, allocations: 0 / 473.1 MB, free: 7.824 MB / 350.1 MB Notification: Performance of matching and sorting (n=21): time 0.001398/0.1522, allocations: 0.838 MB / 473.9 MB, free: 6.934 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.227e-05/0.1523, allocations: 89.19 kB / 474 MB, free: 6.828 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003466/0.1526, allocations: 349.4 kB / 474.4 MB, free: 6.48 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.604e-05/0.1527, allocations: 29.7 kB / 474.4 MB, free: 6.445 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002031/0.1529, allocations: 303 kB / 474.7 MB, free: 6.141 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.144e-05/0.153, allocations: 74.91 kB / 474.8 MB, free: 6.066 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001253/0.1531, allocations: 90.02 kB / 474.9 MB, free: 5.973 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.000156/0.1532, allocations: 346.8 kB / 475.2 MB, free: 5.625 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001875/0.1534, allocations: 124.8 kB / 475.3 MB, free: 5.504 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000335/0.1538, allocations: 330.8 kB / 475.6 MB, free: 5.086 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006007/0.1544, allocations: 0.5047 MB / 476.1 MB, free: 4.488 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.524e-06/0.1544, allocations: 0 / 476.1 MB, free: 4.488 MB / 350.1 MB Notification: Performance of matching and sorting (n=53) (initialization): time 0.0009593/0.1554, allocations: 0.5526 MB / 476.7 MB, free: 3.926 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.045e-05/0.1554, allocations: 8.125 kB / 476.7 MB, free: 3.918 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0005154/0.1559, allocations: 282.9 kB / 477 MB, free: 3.641 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003553/0.1563, allocations: 80.78 kB / 477.1 MB, free: 3.559 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003014/0.1566, allocations: 99.77 kB / 477.2 MB, free: 3.461 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00165/0.1583, allocations: 1.601 MB / 478.8 MB, free: 1.723 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002226/0.1585, allocations: 19.98 kB / 478.8 MB, free: 1.703 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.52e-05/0.1585, allocations: 24 kB / 478.8 MB, free: 1.68 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 31 * 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 (50): * Single equations (assignments): 49 * 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,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.00025/0.1588, allocations: 221.5 kB / 479 MB, free: 1.453 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.146e-05/0.1589, allocations: 39.52 kB / 479.1 MB, free: 1.414 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000468/0.1593, allocations: 280.7 kB / 479.3 MB, free: 1.137 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.185e-06/0.1593, allocations: 4 kB / 479.3 MB, free: 1.133 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.635e-06/0.1594, allocations: 4 kB / 479.3 MB, free: 1.129 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.654e-06/0.1594, allocations: 7.984 kB / 479.4 MB, free: 1.121 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00116/0.1605, allocations: 0.7944 MB / 480.1 MB, free: 272 kB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.418e-06/0.1605, allocations: 4 kB / 480.1 MB, free: 268 kB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002809/0.1608, allocations: 51.97 kB / 480.2 MB, free: 216 kB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.819e-06/0.1609, allocations: 4 kB / 480.2 MB, free: 212 kB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.904e-05/0.1609, allocations: 0 / 480.2 MB, free: 212 kB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.857e-06/0.1609, allocations: 4 kB / 480.2 MB, free: 208 kB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.995e-06/0.1609, allocations: 3.938 kB / 480.2 MB, free: 204 kB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006073/0.1615, allocations: 493.5 kB / 480.7 MB, free: 15.7 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.627e-05/0.1616, allocations: 104.7 kB / 480.8 MB, free: 15.57 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.355e-05/0.1617, allocations: 8.031 kB / 480.8 MB, free: 15.57 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00016/0.1618, allocations: 8 kB / 480.8 MB, free: 15.56 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.219e-05/0.1619, allocations: 23.91 kB / 480.8 MB, free: 15.54 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.894e-05/0.1619, allocations: 12 kB / 480.8 MB, free: 15.52 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002232/0.1621, allocations: 231.2 kB / 481.1 MB, free: 15.3 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.773e-06/0.1621, allocations: 0 / 481.1 MB, free: 15.3 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0004463/0.1626, allocations: 99.94 kB / 481.2 MB, free: 15.2 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 3 (ind.i[1],ind.i[2],ind.i[3]) * 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 (24): * Single equations (assignments): 23 * 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.0001332/0.1627, allocations: 103.2 kB / 481.3 MB, free: 15.09 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0007162/0.1634, allocations: 442.5 kB / 481.7 MB, free: 14.64 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.805e-06/0.1635, allocations: 0 / 481.7 MB, free: 14.64 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001631/0.1636, allocations: 113.3 kB / 481.8 MB, free: 14.53 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005046/0.1641, allocations: 69.53 kB / 481.9 MB, free: 14.46 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001715/0.1659, allocations: 1.23 MB / 483.1 MB, free: 13.19 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004931/0.1664, allocations: 0.8704 MB / 484 MB, free: 12.29 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.796e-05/0.1665, allocations: 27.44 kB / 484 MB, free: 12.27 MB / 366.1 MB Notification: Performance of SimCode: time 3.2e-07/0.1665, allocations: 0 / 484 MB, free: 12.27 MB / 366.1 MB Notification: Performance of Templates: time 0.007729/0.1742, allocations: 5.623 MB / 489.6 MB, free: 6.648 MB / 366.1 MB make -j1 -f PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Impedance.makefile make -j1 -f PowerSystems_latest_PowerSystems.Examples.AC3ph.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.AC3ph.Elementary.ImpedanceCalcHelperMain.o OMCppPowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.ImpedanceCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppPowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.ImpedanceCalcHelperMain.o] Error 1