Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc3.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_matrixEqCirc3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc3") translateModel(PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc3") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009447/0.0009448, allocations: 90.5 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.001656/0.001656, allocations: 176.2 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.812/1.812, allocations: 205.4 MB / 224.4 MB, free: 13.04 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo): time 0.1748/0.1748, allocations: 38.06 MB / 310.7 MB, free: 5.961 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.000529/0.000529, allocations: 20 kB / 377.8 MB, free: 2.777 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3306/0.3311, allocations: 56.34 MB / 434.1 MB, free: 18.68 MB / 318.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc3): time 0.002138/0.3333, allocations: 1.746 MB / 435.9 MB, free: 16.91 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006671/0.334, allocations: 0.5699 MB / 436.5 MB, free: 16.34 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.894e-05/0.3341, allocations: 0 / 436.5 MB, free: 16.34 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001711/0.3342, allocations: 7.984 kB / 436.5 MB, free: 16.33 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 9.617e-05/0.3343, allocations: 27.83 kB / 436.5 MB, free: 16.3 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003624/0.3347, allocations: 55.86 kB / 436.6 MB, free: 16.25 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.000147/0.3349, allocations: 115.7 kB / 436.7 MB, free: 16.14 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.772e-05/0.3349, allocations: 4 kB / 436.7 MB, free: 16.13 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001024/0.3351, allocations: 27.86 kB / 436.7 MB, free: 16.11 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.269e-05/0.3351, allocations: 39.83 kB / 436.7 MB, free: 16.07 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.036e-05/0.3351, allocations: 0 / 436.7 MB, free: 16.07 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001599/0.3353, allocations: 79.83 kB / 436.8 MB, free: 15.99 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 6.91e-05/0.3354, allocations: 39.84 kB / 436.9 MB, free: 15.95 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 5.694e-05/0.3355, allocations: 69.27 kB / 436.9 MB, free: 15.88 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001607/0.3356, allocations: 113.8 kB / 437 MB, free: 15.77 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.272e-06/0.3356, allocations: 0 / 437 MB, free: 15.77 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.094e-06/0.3356, allocations: 0 / 437 MB, free: 15.77 MB / 318.1 MB Notification: Performance of Transformations before backend: time 4.959e-06/0.3357, allocations: 0 / 437 MB, free: 15.77 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.000463/0.3361, allocations: 472.6 kB / 437.5 MB, free: 15.25 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.346e-05/0.3362, allocations: 12.03 kB / 437.5 MB, free: 15.24 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.641e-05/0.3362, allocations: 12.75 kB / 437.5 MB, free: 15.23 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001909/0.3364, allocations: 200.4 kB / 437.7 MB, free: 14.99 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.633e-05/0.3365, allocations: 7.938 kB / 437.7 MB, free: 14.98 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.191e-05/0.3365, allocations: 3.938 kB / 437.7 MB, free: 14.98 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001828/0.3367, allocations: 126.6 kB / 437.8 MB, free: 14.85 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.223e-05/0.3367, allocations: 0 / 437.8 MB, free: 14.85 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.324e-05/0.3367, allocations: 0 / 437.8 MB, free: 14.85 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.843e-06/0.3367, allocations: 0 / 437.8 MB, free: 14.85 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.065e-05/0.3368, allocations: 96.3 kB / 437.9 MB, free: 14.76 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001552/0.337, allocations: 198.1 kB / 438.1 MB, free: 14.52 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000127/0.3371, allocations: 150.9 kB / 438.3 MB, free: 14.36 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.453e-05/0.3372, allocations: 141.1 kB / 438.4 MB, free: 14.22 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.178e-05/0.3372, allocations: 0 / 438.4 MB, free: 14.22 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.439e-05/0.3373, allocations: 38.55 kB / 438.5 MB, free: 14.17 MB / 318.1 MB Notification: Performance of pre-optimization done (n=40): time 7.92e-07/0.3373, allocations: 11.94 kB / 438.5 MB, free: 14.16 MB / 318.1 MB Notification: Performance of matching and sorting (n=40): time 0.0005556/0.3379, allocations: 475.8 kB / 438.9 MB, free: 13.68 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.4e-05/0.3379, allocations: 109.1 kB / 439 MB, free: 13.56 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001276/0.3381, allocations: 146.4 kB / 439.2 MB, free: 13.4 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.564e-05/0.3381, allocations: 25.7 kB / 439.2 MB, free: 13.37 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.914e-05/0.3381, allocations: 100.7 kB / 439.3 MB, free: 13.26 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001065/0.3383, allocations: 126.1 kB / 439.4 MB, free: 13.14 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.562e-05/0.3383, allocations: 29.7 kB / 439.5 MB, free: 13.1 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001264/0.3384, allocations: 338.8 kB / 439.8 MB, free: 12.76 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.845e-05/0.3385, allocations: 95.91 kB / 439.9 MB, free: 12.67 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.296e-05/0.3386, allocations: 91.95 kB / 440 MB, free: 12.58 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002522/0.3388, allocations: 365.4 kB / 440.3 MB, free: 12.21 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.715e-06/0.3389, allocations: 0 / 440.3 MB, free: 12.21 MB / 318.1 MB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0002819/0.3391, allocations: 323 kB / 440.6 MB, free: 11.88 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.06e-05/0.3392, allocations: 85.62 kB / 440.7 MB, free: 11.79 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.072e-06/0.3392, allocations: 0 / 440.7 MB, free: 11.79 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.429e-05/0.3393, allocations: 0 / 440.7 MB, free: 11.79 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.012e-06/0.3393, allocations: 0 / 440.7 MB, free: 11.79 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.041e-06/0.3393, allocations: 4.062 kB / 440.7 MB, free: 11.79 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.701e-05/0.3393, allocations: 23.69 kB / 440.8 MB, free: 11.76 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.501e-05/0.3394, allocations: 8 kB / 440.8 MB, free: 11.75 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.0001616/0.3395, allocations: 243.2 kB / 441 MB, free: 11.5 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.662e-05/0.3396, allocations: 23.8 kB / 441 MB, free: 11.48 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.926e-05/0.3396, allocations: 17.95 kB / 441 MB, free: 11.46 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.72e-07/0.3396, allocations: 0 / 441 MB, free: 11.46 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.15e-06/0.3396, allocations: 0 / 441 MB, free: 11.46 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.935e-06/0.3396, allocations: 0 / 441 MB, free: 11.46 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000143/0.3398, allocations: 233.3 kB / 441.3 MB, free: 11.19 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.72e-07/0.3398, allocations: 0 / 441.3 MB, free: 11.19 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.673e-06/0.3398, allocations: 4 kB / 441.3 MB, free: 11.18 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.045e-06/0.3398, allocations: 4 kB / 441.3 MB, free: 11.18 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.59e-05/0.3398, allocations: 4 kB / 441.3 MB, free: 11.18 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.964e-06/0.3398, allocations: 3.984 kB / 441.3 MB, free: 11.17 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.31e-07/0.3398, allocations: 0 / 441.3 MB, free: 11.17 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007409/0.3406, allocations: 0.9042 MB / 442.2 MB, free: 10.24 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.486e-05/0.3406, allocations: 104.7 kB / 442.3 MB, free: 10.12 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.611e-05/0.3406, allocations: 11.97 kB / 442.3 MB, free: 10.11 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.066e-05/0.3407, allocations: 8 kB / 442.3 MB, free: 10.1 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.51e-05/0.3407, allocations: 0 / 442.3 MB, free: 10.1 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.313e-05/0.3407, allocations: 11.94 kB / 442.3 MB, free: 10.09 MB / 318.1 MB Notification: Performance of sorting global known variables: time 6.436e-05/0.3408, allocations: 119.9 kB / 442.4 MB, free: 9.973 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.3408, allocations: 0 / 442.4 MB, free: 9.973 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0002536/0.3411, allocations: 60 kB / 442.5 MB, free: 9.914 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.000197/0.3413, allocations: 119.2 kB / 442.6 MB, free: 9.789 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.001069/0.3424, allocations: 1.585 MB / 444.2 MB, free: 8.191 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.575e-06/0.3424, allocations: 0 / 444.2 MB, free: 8.191 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008053/0.3432, allocations: 1.362 MB / 445.6 MB, free: 6.816 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002806/0.3435, allocations: 27.92 kB / 445.6 MB, free: 6.789 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008499/0.3443, allocations: 0.727 MB / 446.3 MB, free: 6.031 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002076/0.3445, allocations: 0.7481 MB / 447.1 MB, free: 5.258 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.508e-05/0.3446, allocations: 11.44 kB / 447.1 MB, free: 5.246 MB / 318.1 MB Notification: Performance of SimCode: time 2.1e-07/0.3446, allocations: 0 / 447.1 MB, free: 5.246 MB / 318.1 MB Notification: Performance of Templates: time 0.004179/0.3488, allocations: 2.292 MB / 449.4 MB, free: 2.961 MB / 318.1 MB make -j1 -f PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc3.makefile make -j1 -f PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc3.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_matrixEqCirc3CalcHelperMain.o OMCppPowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc3CalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppPowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc3CalcHelperMain.o] Error 1