Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat3.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.Precalculation.Z_matrixTrDat3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat3") translateModel(PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat3") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008837/0.0008837, allocations: 107.5 kB / 17.16 MB, free: 6.082 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.0008693/0.0008693, allocations: 198.9 kB / 18.08 MB, free: 5.285 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.17/1.17, allocations: 205.1 MB / 223.9 MB, free: 12.46 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo): time 0.1563/0.1563, 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.001187/0.001187, allocations: 68.38 kB / 375.3 MB, free: 4.105 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2094/0.2106, allocations: 55.24 MB / 430.5 MB, free: 19.94 MB / 318.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat3): time 0.002486/0.2131, allocations: 2.147 MB / 432.7 MB, free: 17.77 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002181/0.2153, allocations: 2.211 MB / 434.9 MB, free: 15.55 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.56e-05/0.2153, allocations: 0 / 434.9 MB, free: 15.55 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000119/0.2155, allocations: 15.92 kB / 434.9 MB, free: 15.54 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 7.588e-05/0.2156, allocations: 27.89 kB / 434.9 MB, free: 15.51 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001209/0.2168, allocations: 0.685 MB / 435.6 MB, free: 14.82 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 8.62e-05/0.2169, allocations: 123.6 kB / 435.7 MB, free: 14.7 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.927e-05/0.2169, allocations: 8.172 kB / 435.7 MB, free: 14.7 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.041e-05/0.217, allocations: 27.86 kB / 435.7 MB, free: 14.67 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.674e-05/0.2171, allocations: 55.81 kB / 435.8 MB, free: 14.61 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.37e-05/0.2171, allocations: 4 kB / 435.8 MB, free: 14.61 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00113/0.2182, allocations: 1.24 MB / 437 MB, free: 13.37 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 4.67e-05/0.2183, allocations: 43.84 kB / 437.1 MB, free: 13.32 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 4.365e-05/0.2183, allocations: 51.48 kB / 437.1 MB, free: 13.27 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006629/0.219, allocations: 1.016 MB / 438.2 MB, free: 12.26 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.486e-06/0.219, allocations: 0 / 438.2 MB, free: 12.26 MB / 318.1 MB Notification: Performance of FrontEnd: time 7.11e-07/0.219, allocations: 4 kB / 438.2 MB, free: 12.25 MB / 318.1 MB Notification: Performance of Transformations before backend: time 4.328e-06/0.219, allocations: 0 / 438.2 MB, free: 12.25 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: 40 * Number of variables: 40 Notification: Performance of Generate backend data structure: time 0.0004943/0.2195, allocations: 0.6057 MB / 438.8 MB, free: 11.59 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.3e-05/0.2195, allocations: 12.03 kB / 438.8 MB, free: 11.58 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.849e-05/0.2196, allocations: 12.75 kB / 438.8 MB, free: 11.57 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001321/0.2197, allocations: 215.4 kB / 439 MB, free: 11.32 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.078e-05/0.2198, allocations: 7.938 kB / 439 MB, free: 11.31 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.26e-05/0.2198, allocations: 0 / 439 MB, free: 11.31 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001587/0.2199, allocations: 138.6 kB / 439.1 MB, free: 11.17 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.965e-06/0.2199, allocations: 4 kB / 439.1 MB, free: 11.17 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.006e-05/0.22, allocations: 3.938 kB / 439.2 MB, free: 11.16 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.243e-06/0.22, allocations: 0 / 439.2 MB, free: 11.16 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.954e-05/0.2201, allocations: 96.28 kB / 439.2 MB, free: 11.07 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001146/0.2202, allocations: 210.1 kB / 439.5 MB, free: 10.82 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000119/0.2203, allocations: 162.8 kB / 439.6 MB, free: 10.65 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.847e-05/0.2204, allocations: 145.1 kB / 439.8 MB, free: 10.5 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.083e-06/0.2204, allocations: 4 kB / 439.8 MB, free: 10.5 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.723e-05/0.2204, allocations: 34.56 kB / 439.8 MB, free: 10.46 MB / 318.1 MB Notification: Performance of pre-optimization done (n=40): time 9.52e-07/0.2204, allocations: 0 / 439.8 MB, free: 10.46 MB / 318.1 MB Notification: Performance of matching and sorting (n=40): time 0.0004473/0.2209, allocations: 499.4 kB / 440.3 MB, free: 9.957 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.507e-05/0.2209, allocations: 109.1 kB / 440.4 MB, free: 9.832 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.313e-05/0.221, allocations: 174.9 kB / 440.6 MB, free: 9.652 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 8.817e-06/0.221, allocations: 25.7 kB / 440.6 MB, free: 9.621 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.037e-05/0.2211, allocations: 104.8 kB / 440.7 MB, free: 9.512 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.572e-05/0.2212, allocations: 134 kB / 440.8 MB, free: 9.379 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.908e-05/0.2212, allocations: 33.7 kB / 440.8 MB, free: 9.34 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 5.248e-05/0.2213, allocations: 346.7 kB / 441.2 MB, free: 8.992 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.454e-05/0.2213, allocations: 95.95 kB / 441.3 MB, free: 8.898 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.231e-05/0.2214, allocations: 99.95 kB / 441.4 MB, free: 8.801 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002191/0.2216, allocations: 373.4 kB / 441.7 MB, free: 8.422 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.673e-06/0.2216, allocations: 0 / 441.7 MB, free: 8.422 MB / 318.1 MB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0002498/0.2219, allocations: 339 kB / 442.1 MB, free: 8.078 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.432e-05/0.222, allocations: 85.62 kB / 442.2 MB, free: 7.988 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.098e-06/0.222, allocations: 4.062 kB / 442.2 MB, free: 7.984 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.188e-05/0.222, allocations: 0 / 442.2 MB, free: 7.984 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.42e-07/0.222, allocations: 0 / 442.2 MB, free: 7.984 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.668e-06/0.222, allocations: 0 / 442.2 MB, free: 7.984 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.296e-05/0.2221, allocations: 23.78 kB / 442.2 MB, free: 7.961 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.622e-05/0.2221, allocations: 15.92 kB / 442.2 MB, free: 7.945 MB / 318.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 1 * 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.0001278/0.2222, allocations: 231.3 kB / 442.4 MB, free: 7.703 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.725e-05/0.2223, allocations: 31.7 kB / 442.5 MB, free: 7.672 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.43e-05/0.2223, allocations: 18.64 kB / 442.5 MB, free: 7.656 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.022e-06/0.2223, allocations: 4 kB / 442.5 MB, free: 7.652 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.807e-06/0.2223, allocations: 0 / 442.5 MB, free: 7.652 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.973e-06/0.2223, allocations: 0 / 442.5 MB, free: 7.652 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.864e-05/0.2224, allocations: 241.2 kB / 442.7 MB, free: 7.367 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.12e-07/0.2224, allocations: 3.938 kB / 442.7 MB, free: 7.363 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.71e-07/0.2224, allocations: 0 / 442.7 MB, free: 7.363 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.092e-06/0.2224, allocations: 4 kB / 442.7 MB, free: 7.359 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.691e-05/0.2225, allocations: 4 kB / 442.7 MB, free: 7.355 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.853e-06/0.2225, allocations: 4 kB / 442.7 MB, free: 7.352 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.91e-07/0.2225, allocations: 0 / 442.7 MB, free: 7.352 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006473/0.2231, allocations: 0.9199 MB / 443.6 MB, free: 6.406 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.813e-05/0.2232, allocations: 104.7 kB / 443.7 MB, free: 6.285 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.958e-05/0.2232, allocations: 8 kB / 443.8 MB, free: 6.277 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.37e-05/0.2232, allocations: 8 kB / 443.8 MB, free: 6.27 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.447e-05/0.2233, allocations: 7.938 kB / 443.8 MB, free: 6.262 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.624e-05/0.2233, allocations: 15.94 kB / 443.8 MB, free: 6.246 MB / 318.1 MB Notification: Performance of sorting global known variables: time 6.165e-05/0.2234, allocations: 119.2 kB / 443.9 MB, free: 6.129 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.2234, allocations: 0 / 443.9 MB, free: 6.129 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0005814/0.224, allocations: 360 kB / 444.3 MB, free: 5.777 MB / 318.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 1 * 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 Backend phase and start with SimCode phase: time 0.0007376/0.2247, allocations: 373.9 kB / 444.6 MB, free: 5.406 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0008505/0.2256, allocations: 1.593 MB / 446.2 MB, free: 3.801 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.2256, allocations: 0 / 446.2 MB, free: 3.801 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006124/0.2262, allocations: 1.374 MB / 447.6 MB, free: 2.414 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002055/0.2264, allocations: 20.41 kB / 447.6 MB, free: 2.398 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006801/0.2271, allocations: 0.775 MB / 448.4 MB, free: 1.594 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001384/0.2272, allocations: 0.752 MB / 449.1 MB, free: 0.8164 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.155e-06/0.2273, allocations: 7.438 kB / 449.1 MB, free: 0.8086 MB / 318.1 MB Notification: Performance of SimCode: time 2.1e-07/0.2273, allocations: 0 / 449.1 MB, free: 0.8086 MB / 318.1 MB Notification: Performance of Templates: time 0.008545/0.2358, allocations: 7.094 MB / 456.2 MB, free: 9.703 MB / 334.1 MB make -j1 -f PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat3.makefile make -j1 -f PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat3.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.Precalculation.Z_matrixTrDat3CalcHelperMain.o OMCppPowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat3CalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppPowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat3CalcHelperMain.o] Error 1