Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.Generic.Test.ImpedanceTest.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.ImpedanceTest,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.Generic.Test.ImpedanceTest") translateModel(PowerSystems.Examples.Generic.Test.ImpedanceTest,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.Generic.Test.ImpedanceTest") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008492/0.0008491, allocations: 94.95 kB / 17.31 MB, free: 5.941 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.00108/0.001081, allocations: 180.3 kB / 18.21 MB, free: 5.418 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.797/1.797, allocations: 205.4 MB / 224.4 MB, free: 12.93 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo): time 0.2094/0.2094, allocations: 38.05 MB / 310.7 MB, free: 5.883 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.0005408/0.0005408, allocations: 12 kB / 377.8 MB, free: 2.699 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3076/0.3081, allocations: 56.33 MB / 434.1 MB, free: 18.67 MB / 318.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Generic.Test.ImpedanceTest): time 0.003535/0.3117, allocations: 3.31 MB / 437.5 MB, free: 15.34 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001642/0.3134, allocations: 1.529 MB / 439 MB, free: 13.8 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001236/0.3135, allocations: 11.94 kB / 439 MB, free: 13.79 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001564/0.3137, allocations: 35.72 kB / 439 MB, free: 13.76 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005034/0.3142, allocations: 263.2 kB / 439.3 MB, free: 13.5 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000198/0.3144, allocations: 95.77 kB / 439.4 MB, free: 13.41 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004023/0.3148, allocations: 0.5612 MB / 439.9 MB, free: 12.84 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005646/0.3154, allocations: 326.8 kB / 440.3 MB, free: 12.51 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001669/0.3156, allocations: 115.4 kB / 440.4 MB, free: 12.39 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000193/0.3158, allocations: 159.4 kB / 440.5 MB, free: 12.24 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.878e-05/0.3158, allocations: 8 kB / 440.5 MB, free: 12.23 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003999/0.3162, allocations: 375.1 kB / 440.9 MB, free: 11.86 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 8.785e-05/0.3163, allocations: 99.69 kB / 441 MB, free: 11.77 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 9.082e-05/0.3164, allocations: 121.2 kB / 441.1 MB, free: 11.64 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000258/0.3167, allocations: 251.5 kB / 441.4 MB, free: 11.39 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.089e-06/0.3167, allocations: 0 / 441.4 MB, free: 11.39 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.454e-06/0.3167, allocations: 4 kB / 441.4 MB, free: 11.39 MB / 318.1 MB Notification: Performance of Transformations before backend: time 7.243e-06/0.3167, allocations: 0 / 441.4 MB, free: 11.39 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.0005772/0.3173, allocations: 478.6 kB / 441.8 MB, free: 10.88 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.535e-05/0.3173, allocations: 16.03 kB / 441.9 MB, free: 10.86 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007659/0.3181, allocations: 88.55 kB / 441.9 MB, free: 10.77 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002442/0.3184, allocations: 268.3 kB / 442.2 MB, free: 10.47 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.196e-05/0.3184, allocations: 12.38 kB / 442.2 MB, free: 10.46 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.331e-05/0.3184, allocations: 19.94 kB / 442.2 MB, free: 10.44 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004115/0.3188, allocations: 318.3 kB / 442.5 MB, free: 10.11 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.844e-05/0.3189, allocations: 7.938 kB / 442.5 MB, free: 10.1 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.288e-05/0.3189, allocations: 4 kB / 442.6 MB, free: 10.09 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.124e-05/0.3189, allocations: 15.98 kB / 442.6 MB, free: 10.08 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003608/0.3193, allocations: 287.8 kB / 442.8 MB, free: 9.797 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001331/0.3207, allocations: 1.305 MB / 444.2 MB, free: 8.395 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005278/0.3212, allocations: 209.2 kB / 444.4 MB, free: 8.172 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.845e-05/0.3213, allocations: 61.75 kB / 444.4 MB, free: 8.105 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.219e-05/0.3213, allocations: 11.98 kB / 444.4 MB, free: 8.094 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.273e-05/0.3214, allocations: 38.5 kB / 444.5 MB, free: 8.047 MB / 318.1 MB Notification: Performance of pre-optimization done (n=13): time 1.363e-06/0.3214, allocations: 0 / 444.5 MB, free: 8.047 MB / 318.1 MB Notification: Performance of matching and sorting (n=14): time 0.0009275/0.3223, allocations: 434.4 kB / 444.9 MB, free: 7.594 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.746e-05/0.3224, allocations: 81.23 kB / 445 MB, free: 7.496 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001411/0.3225, allocations: 198.2 kB / 445.2 MB, free: 7.289 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.449e-05/0.3225, allocations: 29.7 kB / 445.2 MB, free: 7.254 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.075e-05/0.3226, allocations: 155.8 kB / 445.3 MB, free: 7.098 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.949e-05/0.3227, allocations: 47.36 kB / 445.4 MB, free: 7.051 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.31e-05/0.3227, allocations: 29.7 kB / 445.4 MB, free: 7.016 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 8.223e-05/0.3228, allocations: 326.8 kB / 445.7 MB, free: 6.688 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.575e-05/0.3229, allocations: 59.89 kB / 445.8 MB, free: 6.629 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001131/0.323, allocations: 144.8 kB / 445.9 MB, free: 6.441 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002143/0.3232, allocations: 236.5 kB / 446.2 MB, free: 6.168 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.482e-06/0.3232, allocations: 0 / 446.2 MB, free: 6.168 MB / 318.1 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0003671/0.3236, allocations: 269.9 kB / 446.4 MB, free: 5.895 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.79e-05/0.3236, allocations: 4 kB / 446.4 MB, free: 5.891 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.794e-06/0.3237, allocations: 4 kB / 446.4 MB, free: 5.887 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002339/0.3239, allocations: 36.83 kB / 446.5 MB, free: 5.848 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00012/0.324, allocations: 44.3 kB / 446.5 MB, free: 5.805 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009203/0.325, allocations: 1.335 MB / 447.9 MB, free: 4.336 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000105/0.3251, allocations: 12.16 kB / 447.9 MB, free: 4.324 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.724e-05/0.3251, allocations: 11.98 kB / 447.9 MB, free: 4.312 MB / 318.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * 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 (24): * Single equations (assignments): 23 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001291/0.3252, allocations: 153.8 kB / 448 MB, free: 4.152 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.667e-05/0.3253, allocations: 15.81 kB / 448 MB, free: 4.137 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003439/0.3256, allocations: 186.3 kB / 448.2 MB, free: 3.953 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.527e-06/0.3256, allocations: 4 kB / 448.2 MB, free: 3.949 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.176e-06/0.3256, allocations: 3.938 kB / 448.2 MB, free: 3.945 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.883e-06/0.3257, allocations: 7.984 kB / 448.2 MB, free: 3.938 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006813/0.3264, allocations: 0.5562 MB / 448.8 MB, free: 3.312 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.923e-06/0.3264, allocations: 0 / 448.8 MB, free: 3.312 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.667e-05/0.3264, allocations: 24.08 kB / 448.8 MB, free: 3.289 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001155/0.3266, allocations: 32.83 kB / 448.9 MB, free: 3.254 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.456e-05/0.3266, allocations: 8 kB / 448.9 MB, free: 3.246 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006954/0.3273, allocations: 1.327 MB / 450.2 MB, free: 1.785 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.413e-06/0.3273, allocations: 0 / 450.2 MB, free: 1.785 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002946/0.3276, allocations: 315.5 kB / 450.5 MB, free: 1.445 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.955e-05/0.3277, allocations: 92.92 kB / 450.6 MB, free: 1.336 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.837e-05/0.3277, allocations: 0 / 450.6 MB, free: 1.336 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.776e-05/0.3278, allocations: 11.94 kB / 450.6 MB, free: 1.324 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.89e-05/0.3278, allocations: 7.984 kB / 450.6 MB, free: 1.316 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.255e-05/0.3278, allocations: 11.98 kB / 450.6 MB, free: 1.305 MB / 318.1 MB Notification: Performance of sorting global known variables: time 9.725e-05/0.3279, allocations: 156.1 kB / 450.8 MB, free: 1.152 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.328, allocations: 0 / 450.8 MB, free: 1.152 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0003136/0.3283, allocations: 48 kB / 450.8 MB, free: 1.105 MB / 318.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * 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 (14): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001202/0.3284, allocations: 99.25 kB / 450.9 MB, free: 1 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0004604/0.3289, allocations: 259.1 kB / 451.2 MB, free: 0.7344 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 3.236e-06/0.3289, allocations: 7.938 kB / 451.2 MB, free: 0.7266 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001823/0.3291, allocations: 178.6 kB / 451.4 MB, free: 0.5391 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003823/0.3295, allocations: 27.97 kB / 451.4 MB, free: 0.5117 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007865/0.3303, allocations: 0.5862 MB / 452 MB, free: 15.89 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004055/0.3307, allocations: 0.7557 MB / 452.7 MB, free: 15.11 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.983e-05/0.3307, allocations: 19.44 kB / 452.7 MB, free: 15.09 MB / 334.1 MB Notification: Performance of SimCode: time 4.01e-07/0.3308, allocations: 0 / 452.7 MB, free: 15.09 MB / 334.1 MB Notification: Performance of Templates: time 0.005543/0.3363, allocations: 3.134 MB / 455.9 MB, free: 11.94 MB / 334.1 MB make -j1 -f PowerSystems_PowerSystems.Examples.Generic.Test.ImpedanceTest.makefile make -j1 -f PowerSystems_PowerSystems.Examples.Generic.Test.ImpedanceTest.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.ImpedanceTestCalcHelperMain.o OMCppPowerSystems_PowerSystems.Examples.Generic.Test.ImpedanceTestCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppPowerSystems_PowerSystems.Examples.Generic.Test.ImpedanceTestCalcHelperMain.o] Error 1