Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.ImpedanceYD.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.ImpedanceYD,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.ImpedanceYD") translateModel(PowerSystems.Examples.AC3ph.Elementary.ImpedanceYD,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.ImpedanceYD") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009916/0.0009915, allocations: 109.7 kB / 17.16 MB, free: 6.324 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.0009692/0.0009693, allocations: 202.9 kB / 18.08 MB, free: 5.422 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.344/1.344, 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.1669/0.1669, allocations: 38.04 MB / 329.9 MB, free: 9.012 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001022/0.001022, allocations: 53.98 kB / 398.7 MB, free: 34.54 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1084/0.1094, allocations: 58.06 MB / 456.8 MB, free: 8.543 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Elementary.ImpedanceYD): time 0.006368/0.1158, allocations: 5.193 MB / 462 MB, free: 3.32 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002635/0.1185, allocations: 1.761 MB / 463.8 MB, free: 1.555 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002336/0.1188, allocations: 35.75 kB / 463.8 MB, free: 1.52 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000821/0.1196, allocations: 263 kB / 464 MB, free: 1.262 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004866/0.1201, allocations: 242.9 kB / 464.3 MB, free: 1.023 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005701/0.1207, allocations: 235.6 kB / 464.5 MB, free: 0.793 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.000805/0.1215, allocations: 0.9277 MB / 465.4 MB, free: 15.86 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003946/0.1219, allocations: 236.3 kB / 465.7 MB, free: 15.62 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002778/0.1222, allocations: 227 kB / 465.9 MB, free: 15.4 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004372/0.1226, allocations: 346.8 kB / 466.2 MB, free: 15.06 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 4.955e-05/0.1227, allocations: 20 kB / 466.2 MB, free: 15.04 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002645/0.123, allocations: 151.7 kB / 466.4 MB, free: 14.89 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000201/0.1232, allocations: 207.5 kB / 466.6 MB, free: 14.69 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002296/0.1234, allocations: 234.7 kB / 466.8 MB, free: 14.46 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000435/0.1239, allocations: 466.9 kB / 467.3 MB, free: 14 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.28e-06/0.1239, allocations: 4 kB / 467.3 MB, free: 14 MB / 350.1 MB Notification: Performance of FrontEnd: time 7.12e-07/0.1239, allocations: 0 / 467.3 MB, free: 14 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.051e-05/0.1239, allocations: 0 / 467.3 MB, free: 14 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: 114 * Number of variables: 114 Notification: Performance of Generate backend data structure: time 0.001305/0.1252, allocations: 0.7544 MB / 468 MB, free: 13.2 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.669e-05/0.1252, allocations: 8.031 kB / 468.1 MB, free: 13.19 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005784/0.1258, allocations: 92.22 kB / 468.1 MB, free: 13.1 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005496/0.1264, allocations: 404 kB / 468.5 MB, free: 12.66 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.487e-05/0.1264, allocations: 25.38 kB / 468.6 MB, free: 12.64 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001359/0.1266, allocations: 60.05 kB / 468.6 MB, free: 12.58 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008657/0.1274, allocations: 0.6677 MB / 469.3 MB, free: 11.84 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.716e-05/0.1275, allocations: 0 / 469.3 MB, free: 11.84 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.41e-05/0.1275, allocations: 12 kB / 469.3 MB, free: 11.83 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001446/0.1277, allocations: 56.91 kB / 469.4 MB, free: 11.78 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007232/0.1284, allocations: 491.5 kB / 469.8 MB, free: 11.3 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003225/0.1316, allocations: 3.163 MB / 473 MB, free: 7.953 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004448/0.1321, allocations: 241.3 kB / 473.2 MB, free: 7.699 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001837/0.1323, allocations: 117.7 kB / 473.3 MB, free: 7.578 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.702e-05/0.1323, allocations: 15.91 kB / 473.4 MB, free: 7.562 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.768e-05/0.1324, allocations: 34.56 kB / 473.4 MB, free: 7.52 MB / 350.1 MB Notification: Performance of pre-optimization done (n=23): time 1.703e-06/0.1324, allocations: 0 / 473.4 MB, free: 7.52 MB / 350.1 MB Notification: Performance of matching and sorting (n=24): time 0.00145/0.1338, allocations: 0.8922 MB / 474.3 MB, free: 6.578 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.798e-05/0.1339, allocations: 77.11 kB / 474.4 MB, free: 6.484 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003374/0.1342, allocations: 332.4 kB / 474.7 MB, free: 6.152 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.914e-05/0.1343, allocations: 29.7 kB / 474.7 MB, free: 6.117 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001899/0.1345, allocations: 291 kB / 475 MB, free: 5.824 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.554e-05/0.1346, allocations: 86.75 kB / 475.1 MB, free: 5.738 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001155/0.1347, allocations: 94.16 kB / 475.2 MB, free: 5.641 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001675/0.1349, allocations: 346.7 kB / 475.5 MB, free: 5.293 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001973/0.1351, allocations: 132.8 kB / 475.6 MB, free: 5.164 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003343/0.1354, allocations: 321.1 kB / 476 MB, free: 4.762 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005982/0.136, allocations: 0.5011 MB / 476.5 MB, free: 4.172 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.485e-06/0.136, allocations: 3.938 kB / 476.5 MB, free: 4.168 MB / 350.1 MB Notification: Performance of matching and sorting (n=54) (initialization): time 0.001054/0.1371, allocations: 0.5926 MB / 477.1 MB, free: 3.562 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.283e-05/0.1371, allocations: 12 kB / 477.1 MB, free: 3.551 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0006249/0.1377, allocations: 325.3 kB / 477.4 MB, free: 3.227 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004347/0.1382, allocations: 113.6 kB / 477.5 MB, free: 3.109 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002973/0.1385, allocations: 91.83 kB / 477.6 MB, free: 3.02 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003081/0.1416, allocations: 3.049 MB / 480.6 MB, free: 15.71 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000247/0.1419, allocations: 16 kB / 480.7 MB, free: 15.69 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.937e-05/0.1419, allocations: 27.98 kB / 480.7 MB, free: 15.66 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 29 * 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 (48): * Single equations (assignments): 46 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,3,100.0%), (1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002948/0.1422, allocations: 213.8 kB / 480.9 MB, free: 15.45 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.65e-05/0.1423, allocations: 35.61 kB / 480.9 MB, free: 15.41 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005589/0.1428, allocations: 316.9 kB / 481.2 MB, free: 15.09 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5e-06/0.1429, allocations: 4 kB / 481.2 MB, free: 15.08 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.432e-06/0.1429, allocations: 0 / 481.2 MB, free: 15.08 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.59e-06/0.1429, allocations: 0 / 481.2 MB, free: 15.08 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001188/0.1441, allocations: 0.8148 MB / 482.1 MB, free: 14.21 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.148e-06/0.1441, allocations: 0 / 482.1 MB, free: 14.21 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003094/0.1444, allocations: 63.91 kB / 482.1 MB, free: 14.14 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.545e-06/0.1444, allocations: 0 / 482.1 MB, free: 14.14 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.919e-05/0.1445, allocations: 8 kB / 482.1 MB, free: 14.14 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.597e-06/0.1445, allocations: 4 kB / 482.1 MB, free: 14.13 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.946e-06/0.1445, allocations: 3.938 kB / 482.1 MB, free: 14.13 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000715/0.1452, allocations: 0.5032 MB / 482.6 MB, free: 13.6 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000139/0.1453, allocations: 124.6 kB / 482.8 MB, free: 13.46 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.639e-05/0.1454, allocations: 7.984 kB / 482.8 MB, free: 13.45 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001858/0.1456, allocations: 12 kB / 482.8 MB, free: 13.44 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.354e-05/0.1457, allocations: 27.91 kB / 482.8 MB, free: 13.41 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.015e-05/0.1457, allocations: 8 kB / 482.8 MB, free: 13.41 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002565/0.146, allocations: 223 kB / 483 MB, free: 13.19 MB / 366.1 MB Notification: Performance of sort global known variables: time 2.445e-06/0.146, allocations: 0 / 483 MB, free: 13.19 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0005046/0.1465, allocations: 103.9 kB / 483.1 MB, free: 13.09 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 3 (indYD.i[1],indYD.i[2],indYD.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 (27): * Single equations (assignments): 26 * 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.0001664/0.1466, allocations: 103.2 kB / 483.2 MB, free: 12.98 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001014/0.1477, allocations: 0.5755 MB / 483.8 MB, free: 12.38 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 4.939e-06/0.1477, allocations: 0 / 483.8 MB, free: 12.38 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002217/0.1479, allocations: 133 kB / 483.9 MB, free: 12.25 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005638/0.1485, allocations: 65.58 kB / 484 MB, free: 12.19 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002306/0.1508, allocations: 1.239 MB / 485.2 MB, free: 10.9 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008157/0.1516, allocations: 0.8701 MB / 486.1 MB, free: 10.01 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001041/0.1517, allocations: 31.44 kB / 486.1 MB, free: 9.977 MB / 366.1 MB Notification: Performance of SimCode: time 8.72e-07/0.1518, allocations: 0 / 486.1 MB, free: 9.977 MB / 366.1 MB Notification: Performance of Templates: time 0.01047/0.1622, allocations: 6.485 MB / 492.6 MB, free: 3.492 MB / 366.1 MB make -j1 -f PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.ImpedanceYD.makefile make -j1 -f PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.ImpedanceYD.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.ImpedanceYDCalcHelperMain.o OMCppPowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.ImpedanceYDCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppPowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.ImpedanceYDCalcHelperMain.o] Error 1