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.0009193/0.0009238, allocations: 109.7 kB / 17.16 MB, free: 6.328 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.0008773/0.0008773, allocations: 202.9 kB / 18.08 MB, free: 5.422 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.215/1.215, allocations: 205.1 MB / 223.9 MB, free: 12.39 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo): time 0.1589/0.1589, allocations: 37.99 MB / 309.3 MB, free: 6.223 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.001189/0.00119, allocations: 71.14 kB / 375.3 MB, free: 4.102 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2109/0.2121, allocations: 55.25 MB / 430.5 MB, free: 19.78 MB / 318.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Generic.Test.ImpedanceTest): time 0.003777/0.216, allocations: 3.676 MB / 434.2 MB, free: 16.09 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001431/0.2174, allocations: 1.552 MB / 435.7 MB, free: 14.52 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001089/0.2176, allocations: 15.94 kB / 435.8 MB, free: 14.51 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000657/0.2182, allocations: 243.2 kB / 436 MB, free: 14.27 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004137/0.2186, allocations: 255.1 kB / 436.2 MB, free: 14.02 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001968/0.2189, allocations: 99.75 kB / 436.3 MB, free: 13.92 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003277/0.2192, allocations: 0.5573 MB / 436.9 MB, free: 13.36 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002674/0.2195, allocations: 142 kB / 437 MB, free: 13.23 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001606/0.2196, allocations: 127.4 kB / 437.2 MB, free: 13.1 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001828/0.2198, allocations: 155.5 kB / 437.3 MB, free: 12.95 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.282e-05/0.2199, allocations: 12 kB / 437.3 MB, free: 12.94 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004161/0.2203, allocations: 383.1 kB / 437.7 MB, free: 12.56 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 8.322e-05/0.2204, allocations: 95.77 kB / 437.8 MB, free: 12.47 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 9.219e-05/0.2205, allocations: 115.4 kB / 437.9 MB, free: 12.36 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002389/0.2207, allocations: 255.5 kB / 438.2 MB, free: 12.11 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.238e-06/0.2207, allocations: 0 / 438.2 MB, free: 12.11 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.102e-06/0.2207, allocations: 3.938 kB / 438.2 MB, free: 12.1 MB / 318.1 MB Notification: Performance of Transformations before backend: time 4.789e-06/0.2208, allocations: 0 / 438.2 MB, free: 12.1 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.0005624/0.2213, allocations: 0.5064 MB / 438.7 MB, free: 11.55 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.368e-05/0.2214, allocations: 12.03 kB / 438.7 MB, free: 11.54 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007645/0.2221, allocations: 88.55 kB / 438.8 MB, free: 11.45 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002143/0.2224, allocations: 260.4 kB / 439 MB, free: 11.16 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.585e-05/0.2224, allocations: 20.31 kB / 439 MB, free: 11.14 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.803e-05/0.2224, allocations: 19.94 kB / 439.1 MB, free: 11.12 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003668/0.2228, allocations: 322.2 kB / 439.4 MB, free: 10.78 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.47e-05/0.2228, allocations: 3.984 kB / 439.4 MB, free: 10.77 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.334e-05/0.2228, allocations: 8 kB / 439.4 MB, free: 10.77 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.621e-05/0.2229, allocations: 15.94 kB / 439.4 MB, free: 10.75 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00033/0.2232, allocations: 291.8 kB / 439.7 MB, free: 10.46 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001189/0.2244, allocations: 1.297 MB / 441 MB, free: 9.07 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004723/0.2249, allocations: 205.2 kB / 441.2 MB, free: 8.852 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.178e-05/0.225, allocations: 61.7 kB / 441.2 MB, free: 8.785 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.635e-05/0.225, allocations: 3.984 kB / 441.2 MB, free: 8.781 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.793e-05/0.225, allocations: 38.48 kB / 441.3 MB, free: 8.734 MB / 318.1 MB Notification: Performance of pre-optimization done (n=13): time 1.663e-06/0.225, allocations: 4 kB / 441.3 MB, free: 8.73 MB / 318.1 MB Notification: Performance of matching and sorting (n=14): time 0.0007851/0.2258, allocations: 430.4 kB / 441.7 MB, free: 8.281 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.236e-05/0.2259, allocations: 81.09 kB / 441.8 MB, free: 8.184 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001202/0.226, allocations: 190.3 kB / 442 MB, free: 7.984 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.134e-05/0.226, allocations: 29.7 kB / 442 MB, free: 7.949 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.157e-05/0.2261, allocations: 167.8 kB / 442.2 MB, free: 7.781 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.423e-05/0.2261, allocations: 43.36 kB / 442.2 MB, free: 7.738 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.882e-05/0.2262, allocations: 45.7 kB / 442.3 MB, free: 7.688 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 4.794e-05/0.2262, allocations: 326.8 kB / 442.6 MB, free: 7.359 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.075e-05/0.2263, allocations: 55.97 kB / 442.6 MB, free: 7.305 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.346e-05/0.2264, allocations: 152.7 kB / 442.8 MB, free: 7.109 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001787/0.2266, allocations: 232.6 kB / 443 MB, free: 6.836 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.353e-06/0.2266, allocations: 0 / 443 MB, free: 6.836 MB / 318.1 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0003408/0.2269, allocations: 266 kB / 443.3 MB, free: 6.57 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.808e-05/0.227, allocations: 7.984 kB / 443.3 MB, free: 6.562 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.763e-06/0.227, allocations: 4 kB / 443.3 MB, free: 6.559 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002129/0.2272, allocations: 40.77 kB / 443.3 MB, free: 6.516 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001189/0.2273, allocations: 35.98 kB / 443.3 MB, free: 6.48 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007407/0.2281, allocations: 1.347 MB / 444.7 MB, free: 5 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001022/0.2282, allocations: 8 kB / 444.7 MB, free: 4.992 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.655e-05/0.2282, allocations: 8 kB / 444.7 MB, free: 4.984 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.0001041/0.2283, allocations: 165.9 kB / 444.9 MB, free: 4.812 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.532e-05/0.2284, allocations: 15.81 kB / 444.9 MB, free: 4.797 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003025/0.2287, allocations: 190.5 kB / 445.1 MB, free: 4.609 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.955e-06/0.2287, allocations: 7.938 kB / 445.1 MB, free: 4.602 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.094e-06/0.2287, allocations: 0 / 445.1 MB, free: 4.602 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.807e-06/0.2287, allocations: 0 / 445.1 MB, free: 4.602 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005901/0.2293, allocations: 0.564 MB / 445.6 MB, free: 3.969 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.564e-06/0.2293, allocations: 3.984 kB / 445.6 MB, free: 3.965 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.438e-05/0.2294, allocations: 19.94 kB / 445.7 MB, free: 3.945 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001166/0.2295, allocations: 32.83 kB / 445.7 MB, free: 3.91 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.372e-05/0.2295, allocations: 12.09 kB / 445.7 MB, free: 3.898 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006058/0.2301, allocations: 1.319 MB / 447 MB, free: 2.445 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.393e-06/0.2302, allocations: 80 / 447 MB, free: 2.445 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002685/0.2304, allocations: 299.4 kB / 447.3 MB, free: 2.121 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.286e-05/0.2305, allocations: 96.97 kB / 447.4 MB, free: 2.008 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.231e-05/0.2305, allocations: 4 kB / 447.4 MB, free: 2.004 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.73e-05/0.2306, allocations: 8 kB / 447.4 MB, free: 1.996 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.71e-05/0.2306, allocations: 11.98 kB / 447.4 MB, free: 1.984 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.001e-05/0.2307, allocations: 4 kB / 447.4 MB, free: 1.98 MB / 318.1 MB Notification: Performance of sorting global known variables: time 7.842e-05/0.2307, allocations: 152.1 kB / 447.6 MB, free: 1.832 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.2307, allocations: 3.938 kB / 447.6 MB, free: 1.828 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0003268/0.2311, allocations: 48 kB / 447.6 MB, free: 1.781 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 8.379e-05/0.2312, allocations: 107.2 kB / 447.8 MB, free: 1.668 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0003696/0.2315, allocations: 266.3 kB / 448 MB, free: 1.395 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.2316, allocations: 0.875 kB / 448 MB, free: 1.395 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001665/0.2317, allocations: 178.8 kB / 448.2 MB, free: 1.207 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003536/0.2321, allocations: 28.12 kB / 448.2 MB, free: 1.18 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006273/0.2327, allocations: 0.5621 MB / 448.8 MB, free: 0.5781 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002473/0.233, allocations: 0.7557 MB / 449.5 MB, free: 15.8 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.83e-05/0.233, allocations: 23.42 kB / 449.6 MB, free: 15.77 MB / 334.1 MB Notification: Performance of SimCode: time 2.4e-07/0.2331, allocations: 0 / 449.6 MB, free: 15.77 MB / 334.1 MB Notification: Performance of Templates: time 0.004427/0.2375, allocations: 3.149 MB / 452.7 MB, free: 12.62 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