Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo", uses=false) Using package PowerSystems with version 1.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Line") translateModel(PowerSystems.Examples.AC3ph.Elementary.Line,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_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.0009924/0.0009995, allocations: 96.86 kB / 17.31 MB, free: 6.391 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.001182/0.001182, allocations: 177.2 kB / 18.21 MB, free: 5.551 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.809/1.809, allocations: 205.4 MB / 224.4 MB, free: 13.08 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo): time 0.2015/0.2015, allocations: 38.05 MB / 310.7 MB, free: 5.91 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005741/0.0005743, allocations: 16 kB / 377.8 MB, free: 2.715 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2928/0.2934, allocations: 56.33 MB / 434.1 MB, free: 18.68 MB / 318.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Elementary.Line): time 0.005341/0.2988, allocations: 5.612 MB / 439.8 MB, free: 13.04 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.003051/0.3019, allocations: 2.038 MB / 441.8 MB, free: 10.99 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002997/0.3022, allocations: 31.75 kB / 441.8 MB, free: 10.96 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004124/0.3026, allocations: 115.2 kB / 441.9 MB, free: 10.85 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005726/0.3032, allocations: 278.8 kB / 442.2 MB, free: 10.57 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007264/0.304, allocations: 315.5 kB / 442.5 MB, free: 10.27 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.000727/0.3047, allocations: 1.08 MB / 443.6 MB, free: 9.184 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008566/0.3056, allocations: 0.6267 MB / 444.2 MB, free: 8.523 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002893/0.3059, allocations: 274.8 kB / 444.5 MB, free: 8.254 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004751/0.3064, allocations: 446.6 kB / 444.9 MB, free: 7.816 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 5.738e-05/0.3064, allocations: 31.98 kB / 445 MB, free: 7.785 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002519/0.3067, allocations: 155.7 kB / 445.1 MB, free: 7.633 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002152/0.3069, allocations: 259.3 kB / 445.4 MB, free: 7.379 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002376/0.3072, allocations: 324.1 kB / 445.7 MB, free: 7.055 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004333/0.3076, allocations: 0.6118 MB / 446.3 MB, free: 6.441 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.117e-06/0.3076, allocations: 3.938 kB / 446.3 MB, free: 6.438 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.223e-06/0.3076, allocations: 0 / 446.3 MB, free: 6.438 MB / 318.1 MB Notification: Performance of Transformations before backend: time 8.025e-06/0.3076, allocations: 4 kB / 446.3 MB, free: 6.434 MB / 318.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.0014/0.309, allocations: 0.8046 MB / 447.1 MB, free: 5.582 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.544e-05/0.3091, allocations: 8.031 kB / 447.1 MB, free: 5.574 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009854/0.3101, allocations: 132.1 kB / 447.2 MB, free: 5.445 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006952/0.3108, allocations: 0.5158 MB / 447.8 MB, free: 4.887 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.224e-05/0.3108, allocations: 33.12 kB / 447.8 MB, free: 4.855 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003173/0.3112, allocations: 131.8 kB / 447.9 MB, free: 4.727 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001008/0.3122, allocations: 0.8587 MB / 448.8 MB, free: 3.801 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.419e-05/0.3122, allocations: 7.938 kB / 448.8 MB, free: 3.793 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.111e-05/0.3123, allocations: 20 kB / 448.8 MB, free: 3.773 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004357/0.3127, allocations: 72.94 kB / 448.9 MB, free: 3.699 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007971/0.3135, allocations: 0.6205 MB / 449.5 MB, free: 3.082 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003684/0.3172, allocations: 3.796 MB / 453.3 MB, free: 15.12 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001117/0.3183, allocations: 0.5416 MB / 453.8 MB, free: 14.56 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004699/0.3188, allocations: 327 kB / 454.2 MB, free: 14.24 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.95e-05/0.3189, allocations: 12.41 kB / 454.2 MB, free: 14.23 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.703e-05/0.3189, allocations: 42.94 kB / 454.2 MB, free: 14.17 MB / 334.1 MB Notification: Performance of pre-optimization done (n=48): time 2.174e-06/0.3189, allocations: 0 / 454.2 MB, free: 14.17 MB / 334.1 MB Notification: Performance of matching and sorting (n=49): time 0.003138/0.3221, allocations: 1.836 MB / 456 MB, free: 12.29 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.843e-05/0.3222, allocations: 81.55 kB / 456.1 MB, free: 12.19 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004833/0.3227, allocations: 421.7 kB / 456.5 MB, free: 11.77 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 5.809e-05/0.3227, allocations: 37.7 kB / 456.6 MB, free: 11.73 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002733/0.323, allocations: 327.7 kB / 456.9 MB, free: 11.4 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002/0.3232, allocations: 197.2 kB / 457.1 MB, free: 11.21 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001451/0.3234, allocations: 77.67 kB / 457.2 MB, free: 11.12 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0002365/0.3236, allocations: 378.7 kB / 457.5 MB, free: 10.75 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005825/0.3242, allocations: 377.5 kB / 457.9 MB, free: 10.38 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007759/0.325, allocations: 0.5979 MB / 458.5 MB, free: 9.684 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001458/0.3264, allocations: 1.065 MB / 459.6 MB, free: 8.52 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.846e-06/0.3265, allocations: 0 / 459.6 MB, free: 8.52 MB / 334.1 MB Notification: Performance of matching and sorting (n=100) (initialization): time 0.004449/0.3309, allocations: 2.007 MB / 461.6 MB, free: 6.5 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.581e-05/0.331, allocations: 8 kB / 461.6 MB, free: 6.492 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.739e-05/0.331, allocations: 8 kB / 461.6 MB, free: 6.484 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002396/0.3334, allocations: 0.9695 MB / 462.6 MB, free: 5.508 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004462/0.3338, allocations: 123.8 kB / 462.7 MB, free: 5.387 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01057/0.3444, allocations: 7.403 MB / 470.1 MB, free: 13.71 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006167/0.3451, allocations: 35.92 kB / 470.1 MB, free: 13.67 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.439e-05/0.3452, allocations: 35.98 kB / 470.2 MB, free: 13.64 MB / 350.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 (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,6,100.0%), (23,12,23.8%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0004111/0.3456, allocations: 245.6 kB / 470.4 MB, free: 13.39 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001164/0.3457, allocations: 51.38 kB / 470.4 MB, free: 13.34 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001265/0.347, allocations: 0.7296 MB / 471.2 MB, free: 12.6 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.09e-06/0.347, allocations: 4 kB / 471.2 MB, free: 12.59 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.078e-06/0.347, allocations: 4 kB / 471.2 MB, free: 12.59 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.034e-05/0.347, allocations: 3.984 kB / 471.2 MB, free: 12.59 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002576/0.3496, allocations: 1.521 MB / 472.7 MB, free: 11 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.14e-06/0.3496, allocations: 0 / 472.7 MB, free: 11 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009923/0.3506, allocations: 191.9 kB / 472.9 MB, free: 10.81 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.951e-06/0.3507, allocations: 4 kB / 472.9 MB, free: 10.8 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.846e-05/0.3507, allocations: 27.98 kB / 472.9 MB, free: 10.78 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.791e-06/0.3507, allocations: 7.938 kB / 472.9 MB, free: 10.77 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.834e-06/0.3507, allocations: 0 / 472.9 MB, free: 10.77 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001373/0.3521, allocations: 0.997 MB / 473.9 MB, free: 9.75 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001244/0.3522, allocations: 120.5 kB / 474 MB, free: 9.613 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.318e-05/0.3523, allocations: 27.98 kB / 474.1 MB, free: 9.586 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003151/0.3527, allocations: 23.97 kB / 474.1 MB, free: 9.562 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.012e-05/0.3528, allocations: 40.52 kB / 474.1 MB, free: 9.52 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.899e-05/0.3528, allocations: 19.98 kB / 474.2 MB, free: 9.5 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0003108/0.3531, allocations: 283.1 kB / 474.4 MB, free: 9.227 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.3531, allocations: 4 kB / 474.4 MB, free: 9.223 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0008006/0.3539, allocations: 208 kB / 474.6 MB, free: 9.02 MB / 350.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 (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.0001845/0.3541, allocations: 131.1 kB / 474.8 MB, free: 8.883 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.002486/0.3566, allocations: 1.457 MB / 476.2 MB, free: 7.395 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.537e-06/0.3566, allocations: 4.625 kB / 476.2 MB, free: 7.391 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004476/0.3571, allocations: 310.3 kB / 476.5 MB, free: 7.09 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007344/0.3578, allocations: 125.9 kB / 476.7 MB, free: 6.965 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004928/0.3628, allocations: 3.297 MB / 480 MB, free: 3.629 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007155/0.3635, allocations: 0.9843 MB / 480.9 MB, free: 2.617 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002009/0.3637, allocations: 55.42 kB / 481 MB, free: 2.562 MB / 350.1 MB Notification: Performance of SimCode: time 3.81e-07/0.3637, allocations: 4 kB / 481 MB, free: 2.559 MB / 350.1 MB Notification: Performance of Templates: time 0.01547/0.3792, allocations: 10.85 MB / 491.8 MB, free: 7.699 MB / 366.1 MB make -j1 -f PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Line.makefile make -j1 -f PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Line.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_PowerSystems.Examples.AC3ph.Elementary.LineCalcHelperMain.o OMCppPowerSystems_PowerSystems.Examples.AC3ph.Elementary.LineCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppPowerSystems_PowerSystems.Examples.AC3ph.Elementary.LineCalcHelperMain.o] Error 1