Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.Generic.Test.FixedCurrentTest.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.Generic.Test.FixedCurrentTest,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.Generic.Test.FixedCurrentTest") translateModel(PowerSystems.Examples.Generic.Test.FixedCurrentTest,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.Generic.Test.FixedCurrentTest") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000903/0.000903, allocations: 92.78 kB / 16.95 MB, free: 5.953 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.0007993/0.0007994, allocations: 185.5 kB / 17.85 MB, free: 5.613 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.561/1.561, allocations: 205.4 MB / 224 MB, free: 13.15 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo): time 0.1681/0.1681, allocations: 38.05 MB / 310.3 MB, free: 6.035 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.000502/0.0005023, allocations: 15.12 kB / 377.1 MB, free: 3.105 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2971/0.2976, allocations: 56.33 MB / 433.5 MB, free: 18.83 MB / 318.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Generic.Test.FixedCurrentTest): time 0.003117/0.3008, allocations: 3.202 MB / 436.7 MB, free: 15.61 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001554/0.3024, allocations: 1.498 MB / 438.2 MB, free: 14.1 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001308/0.3025, allocations: 11.94 kB / 438.2 MB, free: 14.09 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001596/0.3027, allocations: 39.7 kB / 438.2 MB, free: 14.05 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004722/0.3032, allocations: 215.1 kB / 438.4 MB, free: 13.84 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002013/0.3034, allocations: 99.75 kB / 438.5 MB, free: 13.74 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003454/0.3038, allocations: 446.8 kB / 439 MB, free: 13.3 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005121/0.3043, allocations: 303.1 kB / 439.3 MB, free: 12.99 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001663/0.3045, allocations: 123.4 kB / 439.4 MB, free: 12.87 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001851/0.3046, allocations: 151.5 kB / 439.5 MB, free: 12.72 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.041e-05/0.3047, allocations: 8 kB / 439.5 MB, free: 12.71 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002659/0.3049, allocations: 183.5 kB / 439.7 MB, free: 12.54 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 8.343e-05/0.305, allocations: 95.73 kB / 439.8 MB, free: 12.44 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 4.771e-05/0.3051, allocations: 61.64 kB / 439.9 MB, free: 12.38 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002415/0.3053, allocations: 251.3 kB / 440.1 MB, free: 12.13 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.589e-06/0.3054, allocations: 0 / 440.1 MB, free: 12.13 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.703e-06/0.3054, allocations: 0 / 440.1 MB, free: 12.13 MB / 318.1 MB Notification: Performance of Transformations before backend: time 5.61e-06/0.3054, allocations: 0 / 440.1 MB, free: 12.13 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: 49 * Number of variables: 49 Notification: Performance of Generate backend data structure: time 0.0005555/0.3059, allocations: 482.5 kB / 440.6 MB, free: 11.61 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.821e-05/0.306, allocations: 8.031 kB / 440.6 MB, free: 11.6 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007781/0.3068, allocations: 107.5 kB / 440.7 MB, free: 11.5 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002303/0.307, allocations: 250.6 kB / 440.9 MB, free: 11.21 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.884e-05/0.307, allocations: 15.94 kB / 441 MB, free: 11.2 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.025e-05/0.3071, allocations: 16 kB / 441 MB, free: 11.18 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004135/0.3075, allocations: 321.6 kB / 441.3 MB, free: 10.84 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.428e-05/0.3075, allocations: 7.984 kB / 441.3 MB, free: 10.83 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.295e-05/0.3076, allocations: 4 kB / 441.3 MB, free: 10.83 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.166e-05/0.3076, allocations: 23.98 kB / 441.3 MB, free: 10.8 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003585/0.308, allocations: 295.6 kB / 441.6 MB, free: 10.52 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001275/0.3092, allocations: 1.268 MB / 442.9 MB, free: 9.16 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003509/0.3096, allocations: 237 kB / 443.1 MB, free: 8.91 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001088/0.3097, allocations: 93.73 kB / 443.2 MB, free: 8.812 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.307e-05/0.3098, allocations: 288 / 443.2 MB, free: 8.812 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.308e-05/0.3098, allocations: 38.56 kB / 443.2 MB, free: 8.766 MB / 318.1 MB Notification: Performance of pre-optimization done (n=16): time 1.052e-06/0.3098, allocations: 4 kB / 443.3 MB, free: 8.762 MB / 318.1 MB Notification: Performance of matching and sorting (n=17): time 0.0007161/0.3105, allocations: 437 kB / 443.7 MB, free: 8.328 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.173e-05/0.3106, allocations: 81.11 kB / 443.8 MB, free: 8.23 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001389/0.3107, allocations: 202.2 kB / 444 MB, free: 8.02 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.37e-05/0.3107, allocations: 25.7 kB / 444 MB, free: 7.988 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.318e-05/0.3108, allocations: 159.9 kB / 444.1 MB, free: 7.828 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.697e-05/0.3108, allocations: 59.11 kB / 444.2 MB, free: 7.77 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.072e-05/0.3108, allocations: 7.938 kB / 444.2 MB, free: 7.762 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 5.83e-05/0.3109, allocations: 338.9 kB / 444.5 MB, free: 7.422 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001021/0.311, allocations: 79.95 kB / 444.6 MB, free: 7.344 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001218/0.3112, allocations: 156.5 kB / 444.8 MB, free: 7.16 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001346/0.3113, allocations: 115.9 kB / 444.9 MB, free: 7.047 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.285e-06/0.3113, allocations: 3.953 kB / 444.9 MB, free: 7.043 MB / 318.1 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0003192/0.3116, allocations: 296.4 kB / 445.2 MB, free: 6.75 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.572e-05/0.3116, allocations: 8 kB / 445.2 MB, free: 6.742 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.342e-06/0.3117, allocations: 0 / 445.2 MB, free: 6.742 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.626e-05/0.3117, allocations: 4 kB / 445.2 MB, free: 6.738 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002145/0.3119, allocations: 51.91 kB / 445.2 MB, free: 6.688 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.945e-06/0.3119, allocations: 11.92 kB / 445.2 MB, free: 6.676 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001187/0.312, allocations: 15.98 kB / 445.3 MB, free: 6.66 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.049e-05/0.3121, allocations: 8 kB / 445.3 MB, free: 6.652 MB / 318.1 MB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (27): * Single equations (assignments): 27 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001126/0.3122, allocations: 165.7 kB / 445.4 MB, free: 6.48 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.729e-05/0.3122, allocations: 23.75 kB / 445.5 MB, free: 6.457 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003045/0.3125, allocations: 227.3 kB / 445.7 MB, free: 6.23 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.927e-06/0.3126, allocations: 4 kB / 445.7 MB, free: 6.227 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.4e-06/0.3126, allocations: 0 / 445.7 MB, free: 6.227 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.999e-06/0.3126, allocations: 0 / 445.7 MB, free: 6.227 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009578/0.3135, allocations: 0.9517 MB / 446.6 MB, free: 5.172 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.968e-06/0.3136, allocations: 4 kB / 446.6 MB, free: 5.168 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001228/0.3137, allocations: 35.97 kB / 446.7 MB, free: 5.133 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.649e-06/0.3137, allocations: 7.938 kB / 446.7 MB, free: 5.125 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.9e-05/0.3137, allocations: 19.95 kB / 446.7 MB, free: 5.105 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.697e-06/0.3137, allocations: 4 kB / 446.7 MB, free: 5.102 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.006e-06/0.3137, allocations: 4 kB / 446.7 MB, free: 5.098 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003039/0.314, allocations: 417.1 kB / 447.1 MB, free: 4.625 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.363e-05/0.3141, allocations: 92.92 kB / 447.2 MB, free: 4.516 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.813e-05/0.3141, allocations: 19.98 kB / 447.2 MB, free: 4.496 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001427/0.3143, allocations: 7.953 kB / 447.2 MB, free: 4.488 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.587e-05/0.3143, allocations: 23.92 kB / 447.3 MB, free: 4.465 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.61e-05/0.3144, allocations: 15.98 kB / 447.3 MB, free: 4.449 MB / 318.1 MB Notification: Performance of sorting global known variables: time 9.335e-05/0.3145, allocations: 147 kB / 447.4 MB, free: 4.305 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3145, allocations: 0 / 447.4 MB, free: 4.305 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0003379/0.3148, allocations: 55.95 kB / 447.5 MB, free: 4.25 MB / 318.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 17 * 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 (18): * Single equations (assignments): 17 * 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 9.375e-05/0.3149, allocations: 107.1 kB / 447.6 MB, free: 4.137 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0002888/0.3152, allocations: 211.6 kB / 447.8 MB, free: 3.93 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 3.657e-06/0.3152, allocations: 4.562 kB / 447.8 MB, free: 3.926 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001087/0.3153, allocations: 99.81 kB / 447.9 MB, free: 3.828 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004484/0.3158, allocations: 41.48 kB / 447.9 MB, free: 3.789 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000783/0.3166, allocations: 0.6944 MB / 448.6 MB, free: 3.016 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002018/0.3168, allocations: 0.7596 MB / 449.4 MB, free: 2.227 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.648e-05/0.3169, allocations: 19.44 kB / 449.4 MB, free: 2.207 MB / 318.1 MB Notification: Performance of SimCode: time 1.81e-07/0.3169, allocations: 4 kB / 449.4 MB, free: 2.203 MB / 318.1 MB Notification: Performance of Templates: time 0.003928/0.3208, allocations: 2.626 MB / 452 MB, free: 15.57 MB / 334.1 MB make -j1 -f PowerSystems_PowerSystems.Examples.Generic.Test.FixedCurrentTest.makefile make -j1 -f PowerSystems_PowerSystems.Examples.Generic.Test.FixedCurrentTest.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_PowerSystems.Examples.Generic.Test.FixedCurrentTestCalcHelperMain.o OMCppPowerSystems_PowerSystems.Examples.Generic.Test.FixedCurrentTestCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppPowerSystems_PowerSystems.Examples.Generic.Test.FixedCurrentTestCalcHelperMain.o] Error 1