Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat2.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_matrixTrDat2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat2") translateModel(PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009742/0.0009745, allocations: 93.89 kB / 16.95 MB, free: 5.566 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.001134/0.001133, allocations: 191.5 kB / 17.85 MB, free: 5.25 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.654/1.654, allocations: 205.4 MB / 224 MB, free: 13.16 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo): time 0.1817/0.1817, allocations: 38.04 MB / 310.3 MB, free: 6.039 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.0004965/0.0004967, allocations: 23.11 kB / 377.1 MB, free: 3.098 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2662/0.2667, allocations: 56.33 MB / 433.5 MB, free: 18.84 MB / 318.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat2): time 0.001912/0.2686, allocations: 1.777 MB / 435.3 MB, free: 17.04 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002349/0.271, allocations: 1.94 MB / 437.2 MB, free: 15.09 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.789e-05/0.2711, allocations: 4 kB / 437.2 MB, free: 15.09 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001361/0.2712, allocations: 7.922 kB / 437.2 MB, free: 15.08 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 7.825e-05/0.2713, allocations: 35.83 kB / 437.2 MB, free: 15.04 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001314/0.2726, allocations: 0.6373 MB / 437.9 MB, free: 14.41 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.000105/0.2727, allocations: 103.7 kB / 438 MB, free: 14.3 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.241e-05/0.2728, allocations: 4.188 kB / 438 MB, free: 14.3 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.14e-05/0.2729, allocations: 31.84 kB / 438 MB, free: 14.27 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.725e-05/0.273, allocations: 47.83 kB / 438.1 MB, free: 14.22 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.244e-05/0.273, allocations: 0 / 438.1 MB, free: 14.22 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001236/0.2743, allocations: 1.064 MB / 439.1 MB, free: 13.16 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 3.923e-05/0.2743, allocations: 27.91 kB / 439.2 MB, free: 13.13 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 3.331e-05/0.2744, allocations: 41.58 kB / 439.2 MB, free: 13.08 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007629/0.2751, allocations: 0.9258 MB / 440.1 MB, free: 12.16 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.491e-06/0.2751, allocations: 0 / 440.1 MB, free: 12.16 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.184e-06/0.2751, allocations: 0 / 440.1 MB, free: 12.16 MB / 318.1 MB Notification: Performance of Transformations before backend: time 4.959e-06/0.2751, allocations: 0 / 440.1 MB, free: 12.16 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: 24 * Number of variables: 24 Notification: Performance of Generate backend data structure: time 0.0005/0.2757, allocations: 0.5511 MB / 440.7 MB, free: 11.55 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.717e-05/0.2757, allocations: 12.03 kB / 440.7 MB, free: 11.54 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.899e-05/0.2757, allocations: 11.81 kB / 440.7 MB, free: 11.53 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001495/0.2759, allocations: 198.8 kB / 440.9 MB, free: 11.29 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.256e-05/0.2759, allocations: 7.938 kB / 440.9 MB, free: 11.29 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.363e-05/0.2759, allocations: 0 / 440.9 MB, free: 11.29 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001516/0.2761, allocations: 101.5 kB / 441 MB, free: 11.18 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.265e-06/0.2761, allocations: 0 / 441 MB, free: 11.18 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.153e-05/0.2761, allocations: 0 / 441 MB, free: 11.18 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.272e-06/0.2761, allocations: 3.953 kB / 441 MB, free: 11.18 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.946e-05/0.2762, allocations: 59.97 kB / 441.1 MB, free: 11.12 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001359/0.2764, allocations: 189.3 kB / 441.2 MB, free: 10.88 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001052/0.2765, allocations: 110.5 kB / 441.3 MB, free: 10.77 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.712e-05/0.2766, allocations: 92.86 kB / 441.4 MB, free: 10.67 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.206e-06/0.2766, allocations: 4 kB / 441.4 MB, free: 10.67 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.253e-05/0.2766, allocations: 30.56 kB / 441.5 MB, free: 10.63 MB / 318.1 MB Notification: Performance of pre-optimization done (n=24): time 9.61e-07/0.2766, allocations: 0 / 441.5 MB, free: 10.63 MB / 318.1 MB Notification: Performance of matching and sorting (n=24): time 0.0004056/0.277, allocations: 311.1 kB / 441.8 MB, free: 10.31 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.765e-05/0.2771, allocations: 97.05 kB / 441.9 MB, free: 10.2 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001114/0.2772, allocations: 155.1 kB / 442 MB, free: 10.04 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.363e-05/0.2772, allocations: 29.73 kB / 442.1 MB, free: 10 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.556e-05/0.2773, allocations: 96.58 kB / 442.1 MB, free: 9.906 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.114e-05/0.2773, allocations: 78.84 kB / 442.2 MB, free: 9.828 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.42e-06/0.2773, allocations: 0 / 442.2 MB, free: 9.828 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 6.842e-05/0.2774, allocations: 330.8 kB / 442.5 MB, free: 9.496 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.729e-05/0.2775, allocations: 67.91 kB / 442.6 MB, free: 9.43 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.055e-05/0.2775, allocations: 60.78 kB / 442.7 MB, free: 9.371 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.436e-05/0.2776, allocations: 129.7 kB / 442.8 MB, free: 9.238 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.743e-06/0.2776, allocations: 0 / 442.8 MB, free: 9.238 MB / 318.1 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0002007/0.2778, allocations: 235 kB / 443 MB, free: 8.996 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.243e-05/0.2779, allocations: 61.66 kB / 443.1 MB, free: 8.93 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.989e-06/0.2779, allocations: 0 / 443.1 MB, free: 8.93 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.621e-05/0.2779, allocations: 4 kB / 443.1 MB, free: 8.926 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.212e-06/0.2779, allocations: 0 / 443.1 MB, free: 8.926 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.29e-06/0.2779, allocations: 0 / 443.1 MB, free: 8.926 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.39e-05/0.278, allocations: 15.8 kB / 443.1 MB, free: 8.91 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.355e-05/0.278, allocations: 11.98 kB / 443.1 MB, free: 8.898 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001173/0.2782, allocations: 191.4 kB / 443.3 MB, free: 8.695 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.236e-05/0.2782, allocations: 27.84 kB / 443.3 MB, free: 8.668 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.415e-05/0.2782, allocations: 9.188 kB / 443.3 MB, free: 8.664 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.583e-06/0.2782, allocations: 0 / 443.3 MB, free: 8.664 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.537e-06/0.2782, allocations: 3.938 kB / 443.3 MB, free: 8.66 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.194e-06/0.2782, allocations: 0 / 443.3 MB, free: 8.66 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001054/0.2784, allocations: 209.4 kB / 443.6 MB, free: 8.406 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.51e-07/0.2784, allocations: 0 / 443.6 MB, free: 8.406 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.124e-06/0.2784, allocations: 4 kB / 443.6 MB, free: 8.402 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.163e-06/0.2784, allocations: 0 / 443.6 MB, free: 8.402 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.528e-05/0.2784, allocations: 7.984 kB / 443.6 MB, free: 8.395 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.92e-07/0.2784, allocations: 0 / 443.6 MB, free: 8.395 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.824e-06/0.2784, allocations: 8 kB / 443.6 MB, free: 8.387 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004384/0.2789, allocations: 0.514 MB / 444.1 MB, free: 7.848 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.333e-05/0.2789, allocations: 96.86 kB / 444.2 MB, free: 7.734 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.638e-05/0.2789, allocations: 4 kB / 444.2 MB, free: 7.73 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.253e-05/0.279, allocations: 3.938 kB / 444.2 MB, free: 7.727 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.306e-05/0.279, allocations: 4 kB / 444.2 MB, free: 7.723 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.428e-05/0.279, allocations: 11.98 kB / 444.2 MB, free: 7.711 MB / 318.1 MB Notification: Performance of sorting global known variables: time 6.532e-05/0.2791, allocations: 119.1 kB / 444.3 MB, free: 7.594 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.2791, allocations: 0 / 444.3 MB, free: 7.594 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0006609/0.2798, allocations: 327.9 kB / 444.6 MB, free: 7.273 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0007856/0.2806, allocations: 365.5 kB / 445 MB, free: 6.906 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0005433/0.2811, allocations: 0.7061 MB / 445.7 MB, free: 6.188 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.815e-06/0.2811, allocations: 4.062 kB / 445.7 MB, free: 6.184 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003378/0.2815, allocations: 0.5735 MB / 446.3 MB, free: 5.598 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002094/0.2817, allocations: 15.95 kB / 446.3 MB, free: 5.582 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006161/0.2823, allocations: 0.5405 MB / 446.8 MB, free: 5.012 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001786/0.2825, allocations: 0.7202 MB / 447.6 MB, free: 4.266 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.045e-05/0.2825, allocations: 11.44 kB / 447.6 MB, free: 4.254 MB / 318.1 MB Notification: Performance of SimCode: time 2.31e-07/0.2825, allocations: 0 / 447.6 MB, free: 4.254 MB / 318.1 MB Notification: Performance of Templates: time 0.00832/0.2909, allocations: 6.473 MB / 454 MB, free: 13.77 MB / 334.1 MB make -j1 -f PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat2.makefile make -j1 -f PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat2.makefile clang++ NOTFOUND -Winvalid-pch -O0 -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/c/sundials" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppPowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat2CalcHelperMain.o OMCppPowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat2CalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppPowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat2CalcHelperMain.o] Error 1