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.00093/0.0009298, allocations: 89.91 kB / 17.31 MB, free: 5.59 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.001143/0.001143, allocations: 182 kB / 18.21 MB, free: 5.191 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.801/1.801, allocations: 205.4 MB / 224.4 MB, free: 13.05 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo): time 0.2044/0.2044, 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.0005469/0.0005472, allocations: 19.98 kB / 377.8 MB, free: 2.715 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2947/0.2952, allocations: 56.33 MB / 434.1 MB, free: 18.82 MB / 318.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Generic.Test.FixedCurrentTest): time 0.005127/0.3004, allocations: 3.345 MB / 437.5 MB, free: 15.46 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.003401/0.3039, allocations: 1.575 MB / 439.1 MB, free: 13.87 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004614/0.3044, allocations: 15.94 kB / 439.1 MB, free: 13.86 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003221/0.3048, allocations: 31.77 kB / 439.1 MB, free: 13.82 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001219/0.306, allocations: 271.1 kB / 439.4 MB, free: 13.56 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004995/0.3065, allocations: 107.8 kB / 439.5 MB, free: 13.45 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007769/0.3073, allocations: 0.5689 MB / 440 MB, free: 12.88 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008622/0.3082, allocations: 333.2 kB / 440.4 MB, free: 12.54 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003744/0.3086, allocations: 115.4 kB / 440.5 MB, free: 12.43 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003992/0.309, allocations: 151.4 kB / 440.6 MB, free: 12.28 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 3.173e-05/0.3091, allocations: 8 kB / 440.6 MB, free: 12.27 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008008/0.3099, allocations: 411 kB / 441 MB, free: 11.87 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00018/0.3101, allocations: 91.75 kB / 441.1 MB, free: 11.78 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001779/0.3103, allocations: 133.1 kB / 441.3 MB, free: 11.64 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005438/0.3108, allocations: 259.4 kB / 441.5 MB, free: 11.39 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.763e-06/0.3108, allocations: 4 kB / 441.5 MB, free: 11.39 MB / 318.1 MB Notification: Performance of FrontEnd: time 3.496e-06/0.3109, allocations: 0 / 441.5 MB, free: 11.39 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.738e-05/0.3109, allocations: 3.938 kB / 441.5 MB, free: 11.38 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.0009105/0.3118, allocations: 486.6 kB / 442 MB, free: 10.86 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.409e-05/0.3119, allocations: 12.03 kB / 442 MB, free: 10.85 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001377/0.3133, allocations: 92.55 kB / 442.1 MB, free: 10.76 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004064/0.3137, allocations: 255.8 kB / 442.4 MB, free: 10.47 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.195e-05/0.3137, allocations: 20.36 kB / 442.4 MB, free: 10.45 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.853e-05/0.3138, allocations: 20.38 kB / 442.4 MB, free: 10.43 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006236/0.3144, allocations: 317.7 kB / 442.7 MB, free: 10.09 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.975e-05/0.3145, allocations: 0 / 442.7 MB, free: 10.09 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.502e-05/0.3145, allocations: 7.984 kB / 442.7 MB, free: 10.09 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.103e-05/0.3146, allocations: 23.98 kB / 442.7 MB, free: 10.06 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005575/0.3151, allocations: 287.8 kB / 443 MB, free: 9.781 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001971/0.3171, allocations: 1.275 MB / 444.3 MB, free: 8.418 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005183/0.3177, allocations: 233.1 kB / 444.5 MB, free: 8.172 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001693/0.3178, allocations: 101.9 kB / 444.6 MB, free: 8.066 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.972e-05/0.3179, allocations: 4 kB / 444.6 MB, free: 8.062 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.499e-05/0.3179, allocations: 42.44 kB / 444.7 MB, free: 8.012 MB / 318.1 MB Notification: Performance of pre-optimization done (n=16): time 1.984e-06/0.3179, allocations: 0 / 444.7 MB, free: 8.012 MB / 318.1 MB Notification: Performance of matching and sorting (n=17): time 0.001008/0.319, allocations: 433 kB / 445.1 MB, free: 7.582 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.542e-05/0.319, allocations: 85.23 kB / 445.2 MB, free: 7.48 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001978/0.3192, allocations: 202.2 kB / 445.4 MB, free: 7.27 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.857e-05/0.3193, allocations: 29.7 kB / 445.4 MB, free: 7.234 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.681e-05/0.3193, allocations: 159.9 kB / 445.6 MB, free: 7.074 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.152e-05/0.3194, allocations: 59.11 kB / 445.6 MB, free: 7.016 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.534e-05/0.3195, allocations: 17.72 kB / 445.6 MB, free: 6.992 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 6.928e-05/0.3195, allocations: 330.8 kB / 445.9 MB, free: 6.66 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001666/0.3197, allocations: 87.95 kB / 446 MB, free: 6.574 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001887/0.3199, allocations: 164.5 kB / 446.2 MB, free: 6.383 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003775/0.3203, allocations: 260.3 kB / 446.4 MB, free: 6.098 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.683e-06/0.3203, allocations: 0 / 446.4 MB, free: 6.098 MB / 318.1 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0005078/0.3208, allocations: 299.6 kB / 446.7 MB, free: 5.801 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.1e-05/0.3209, allocations: 7.984 kB / 446.7 MB, free: 5.793 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.728e-06/0.3209, allocations: 7.938 kB / 446.8 MB, free: 5.785 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.226e-05/0.3209, allocations: 7.984 kB / 446.8 MB, free: 5.777 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003085/0.3212, allocations: 55.91 kB / 446.8 MB, free: 5.723 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.321e-05/0.3212, allocations: 4 kB / 446.8 MB, free: 5.719 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001823/0.3214, allocations: 11.92 kB / 446.8 MB, free: 5.707 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.365e-05/0.3215, allocations: 12.28 kB / 446.8 MB, free: 5.695 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001636/0.3217, allocations: 161.7 kB / 447 MB, free: 5.527 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.944e-05/0.3217, allocations: 15.81 kB / 447 MB, free: 5.512 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004696/0.3222, allocations: 235.2 kB / 447.3 MB, free: 5.277 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.561e-06/0.3222, allocations: 4 kB / 447.3 MB, free: 5.273 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.105e-06/0.3222, allocations: 0 / 447.3 MB, free: 5.273 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.235e-06/0.3223, allocations: 3.984 kB / 447.3 MB, free: 5.27 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001384/0.3236, allocations: 0.9515 MB / 448.2 MB, free: 4.215 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.014e-06/0.3237, allocations: 8 kB / 448.2 MB, free: 4.207 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001778/0.3239, allocations: 39.92 kB / 448.3 MB, free: 4.168 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.582e-06/0.3239, allocations: 4 kB / 448.3 MB, free: 4.164 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.093e-05/0.3239, allocations: 11.94 kB / 448.3 MB, free: 4.152 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.334e-06/0.3239, allocations: 8.484 kB / 448.3 MB, free: 4.145 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.542e-06/0.3239, allocations: 15.88 kB / 448.3 MB, free: 4.129 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004146/0.3243, allocations: 412.9 kB / 448.7 MB, free: 3.66 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.651e-05/0.3244, allocations: 100.9 kB / 448.8 MB, free: 3.543 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.264e-05/0.3245, allocations: 11.94 kB / 448.8 MB, free: 3.531 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002199/0.3247, allocations: 15.98 kB / 448.8 MB, free: 3.516 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.331e-05/0.3247, allocations: 23.86 kB / 448.8 MB, free: 3.492 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.066e-05/0.3248, allocations: 12 kB / 448.9 MB, free: 3.48 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.000134/0.3249, allocations: 143.2 kB / 449 MB, free: 3.34 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.3249, allocations: 0 / 449 MB, free: 3.34 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0005257/0.3255, allocations: 56 kB / 449.1 MB, free: 3.285 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 (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.0001165/0.3256, allocations: 107.1 kB / 449.2 MB, free: 3.172 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0003899/0.326, allocations: 218.4 kB / 449.4 MB, free: 2.961 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 4.198e-06/0.326, allocations: 4 kB / 449.4 MB, free: 2.957 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001588/0.3262, allocations: 95.77 kB / 449.5 MB, free: 2.863 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007121/0.3269, allocations: 47.67 kB / 449.5 MB, free: 2.816 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001039/0.3279, allocations: 0.7102 MB / 450.2 MB, free: 2.027 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002381/0.3282, allocations: 0.7596 MB / 451 MB, free: 1.242 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.098e-05/0.3283, allocations: 23.42 kB / 451 MB, free: 1.219 MB / 318.1 MB Notification: Performance of SimCode: time 4.41e-07/0.3283, allocations: 0 / 451 MB, free: 1.219 MB / 318.1 MB Notification: Performance of Templates: time 0.005724/0.334, allocations: 2.607 MB / 453.6 MB, free: 14.61 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++ -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.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