Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Line.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.Line,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.Line") translateModel(PowerSystems.Examples.AC3ph.Elementary.Line,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.Line") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007955/0.0007956, allocations: 94.84 kB / 16.95 MB, free: 6.41 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.0008841/0.0008841, allocations: 179.8 kB / 17.84 MB, free: 5.969 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.3/1.3, allocations: 223.3 MB / 241.9 MB, free: 304 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.1729/0.1729, allocations: 38.1 MB / 331.1 MB, free: 8.859 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003074/0.0003074, allocations: 21.8 kB / 400.7 MB, free: 34.52 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09701/0.09733, allocations: 59.18 MB / 459.9 MB, free: 7.41 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Elementary.Line): time 0.005201/0.1026, allocations: 5.32 MB / 465.2 MB, free: 2.062 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002692/0.1053, allocations: 1.886 MB / 467.1 MB, free: 176 kB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002469/0.1056, allocations: 35.75 kB / 467.1 MB, free: 140 kB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003313/0.1059, allocations: 131 kB / 467.2 MB, free: 8 kB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006731/0.1066, allocations: 338.3 kB / 467.6 MB, free: 15.68 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00076/0.1074, allocations: 347.4 kB / 467.9 MB, free: 15.34 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007657/0.1081, allocations: 0.8611 MB / 468.8 MB, free: 14.47 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008284/0.109, allocations: 0.5748 MB / 469.3 MB, free: 13.86 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000357/0.1093, allocations: 282.8 kB / 469.6 MB, free: 13.58 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005557/0.1099, allocations: 454.7 kB / 470.1 MB, free: 13.14 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 5.503e-05/0.11, allocations: 28 kB / 470.1 MB, free: 13.11 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002495/0.1102, allocations: 111.8 kB / 470.2 MB, free: 13 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002342/0.1105, allocations: 267.3 kB / 470.5 MB, free: 12.74 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001156/0.1106, allocations: 137.3 kB / 470.6 MB, free: 12.6 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005027/0.1111, allocations: 0.6002 MB / 471.2 MB, free: 12 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.668e-06/0.1111, allocations: 0 / 471.2 MB, free: 12 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.854e-06/0.1111, allocations: 0 / 471.2 MB, free: 12 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.462e-06/0.1111, allocations: 0 / 471.2 MB, free: 12 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: 139 * Number of variables: 139 Notification: Performance of Generate backend data structure: time 0.00127/0.1124, allocations: 0.8122 MB / 472 MB, free: 11.14 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.2e-05/0.1124, allocations: 8.031 kB / 472 MB, free: 11.13 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008068/0.1133, allocations: 131.1 kB / 472.1 MB, free: 11 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007447/0.114, allocations: 0.5031 MB / 472.7 MB, free: 10.45 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.512e-05/0.1141, allocations: 29 kB / 472.7 MB, free: 10.42 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003045/0.1144, allocations: 143.8 kB / 472.8 MB, free: 10.28 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001091/0.1155, allocations: 0.8509 MB / 473.7 MB, free: 9.363 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.677e-05/0.1155, allocations: 0 / 473.7 MB, free: 9.363 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.303e-05/0.1156, allocations: 24 kB / 473.7 MB, free: 9.34 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003411/0.1159, allocations: 72.92 kB / 473.8 MB, free: 9.266 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008934/0.1168, allocations: 0.6243 MB / 474.4 MB, free: 8.645 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004028/0.1208, allocations: 3.792 MB / 478.2 MB, free: 4.691 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009719/0.1218, allocations: 0.538 MB / 478.7 MB, free: 4.137 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004298/0.1223, allocations: 318.9 kB / 479 MB, free: 3.816 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.947e-05/0.1223, allocations: 12.36 kB / 479 MB, free: 3.805 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.972e-05/0.1224, allocations: 39 kB / 479.1 MB, free: 3.758 MB / 350.1 MB Notification: Performance of pre-optimization done (n=48): time 2.154e-06/0.1224, allocations: 3.938 kB / 479.1 MB, free: 3.754 MB / 350.1 MB Notification: Performance of matching and sorting (n=49): time 0.002752/0.1252, allocations: 1.843 MB / 480.9 MB, free: 1.859 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.001e-05/0.1252, allocations: 81.55 kB / 481 MB, free: 1.758 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003939/0.1256, allocations: 417.7 kB / 481.4 MB, free: 1.34 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.974e-05/0.1257, allocations: 37.64 kB / 481.5 MB, free: 1.297 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002045/0.1259, allocations: 331.7 kB / 481.8 MB, free: 0.9688 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001594/0.126, allocations: 193.3 kB / 482 MB, free: 0.7773 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.951e-05/0.1261, allocations: 16 kB / 482 MB, free: 0.7617 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001314/0.1262, allocations: 366.8 kB / 482.3 MB, free: 404 kB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004993/0.1267, allocations: 381.5 kB / 482.7 MB, free: 24 kB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006552/0.1274, allocations: 0.5941 MB / 483.3 MB, free: 15.33 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006174/0.128, allocations: 477.8 kB / 483.8 MB, free: 14.87 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.665e-06/0.128, allocations: 0 / 483.8 MB, free: 14.87 MB / 366.1 MB Notification: Performance of matching and sorting (n=100) (initialization): time 0.003828/0.1319, allocations: 1.995 MB / 485.8 MB, free: 12.86 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.412e-05/0.1319, allocations: 8.656 kB / 485.8 MB, free: 12.85 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.37e-05/0.1319, allocations: 8 kB / 485.8 MB, free: 12.84 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002041/0.134, allocations: 0.9688 MB / 486.8 MB, free: 11.87 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004263/0.1344, allocations: 119.8 kB / 486.9 MB, free: 11.75 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009399/0.1438, allocations: 7.364 MB / 494.2 MB, free: 4.113 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004921/0.1444, allocations: 39.97 kB / 494.3 MB, free: 4.074 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.179e-05/0.1444, allocations: 32 kB / 494.3 MB, free: 4.043 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 32 * 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 (60): * Single equations (assignments): 58 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 6,(23,24.6%) 12} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003658/0.1448, allocations: 249.5 kB / 494.5 MB, free: 3.789 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.344e-05/0.1449, allocations: 51.5 kB / 494.6 MB, free: 3.738 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0012/0.1461, allocations: 0.7296 MB / 495.3 MB, free: 2.996 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.734e-06/0.1461, allocations: 11.94 kB / 495.3 MB, free: 2.984 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.743e-06/0.1461, allocations: 0 / 495.3 MB, free: 2.984 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.851e-06/0.1461, allocations: 0 / 495.3 MB, free: 2.984 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00238/0.1485, allocations: 1.536 MB / 496.9 MB, free: 1.383 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.907e-06/0.1485, allocations: 0 / 496.9 MB, free: 1.383 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009237/0.1495, allocations: 183.8 kB / 497.1 MB, free: 1.203 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.823e-06/0.1495, allocations: 7.938 kB / 497.1 MB, free: 1.195 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.691e-05/0.1496, allocations: 31.97 kB / 497.1 MB, free: 1.164 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.872e-06/0.1496, allocations: 8.062 kB / 497.1 MB, free: 1.156 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.903e-06/0.1496, allocations: 0 / 497.1 MB, free: 1.156 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001358/0.151, allocations: 0.9905 MB / 498.1 MB, free: 140 kB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001562/0.1511, allocations: 128.5 kB / 498.2 MB, free: 15.99 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.954e-05/0.1512, allocations: 31.88 kB / 498.2 MB, free: 15.96 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002992/0.1515, allocations: 27.97 kB / 498.3 MB, free: 15.93 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.558e-05/0.1516, allocations: 36.34 kB / 498.3 MB, free: 15.9 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.955e-05/0.1517, allocations: 16 kB / 498.3 MB, free: 15.88 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0003317/0.152, allocations: 279.1 kB / 498.6 MB, free: 15.61 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.152, allocations: 0 / 498.6 MB, free: 15.61 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0009616/0.153, allocations: 216 kB / 498.8 MB, free: 15.4 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 21 (line.v[1,1],line.v[1,2],line.v[1,3],line.v[2,1],line.v[2,2],line.v[2,3],line.v[3,1],line.v[3,2],line.v[3,3],line.i[1,1],line.i[1,2],line.i[1,3],line.i[1,4],line.i[2,1],line.i[2,2],line.i[2,3],line.i[2,4],line.i[3,1],line.i[3,2],line.i[3,3],line.i[3,4]) * 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 (52): * Single equations (assignments): 51 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001942/0.1532, allocations: 123.2 kB / 498.9 MB, free: 15.27 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.002526/0.1557, allocations: 1.45 MB / 0.4887 GB, free: 13.8 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.888e-06/0.1557, allocations: 0 / 0.4887 GB, free: 13.8 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004377/0.1562, allocations: 302.3 kB / 0.4889 GB, free: 13.5 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006286/0.1568, allocations: 121.9 kB / 0.4891 GB, free: 13.38 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004318/0.1611, allocations: 3.297 MB / 0.4923 GB, free: 10.04 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005769/0.1617, allocations: 0.9804 MB / 0.4932 GB, free: 9.023 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001901/0.1619, allocations: 51.42 kB / 0.4933 GB, free: 8.973 MB / 382.1 MB Notification: Performance of SimCode: time 7.72e-07/0.1619, allocations: 0 / 0.4933 GB, free: 8.973 MB / 382.1 MB Notification: Performance of Templates: time 0.2619/0.4238, allocations: 10.8 MB / 0.5038 GB, free: 55.38 MB / 382.1 MB make -j1 -f PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Line.makefile make -j1 -f PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Line.makefile clang++ NOTFOUND -Winvalid-pch -O0 -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/c/sundials" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppPowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.LineCalcHelperMain.o OMCppPowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.LineCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppPowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.LineCalcHelperMain.o] Error 1