Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc1.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_matrixEqCirc1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc1") translateModel(PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008856/0.0008858, allocations: 91.19 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.001064/0.001064, allocations: 177.5 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.752/1.752, allocations: 205.4 MB / 224.4 MB, free: 13.05 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo): time 0.1784/0.1784, allocations: 38.05 MB / 310.7 MB, free: 5.895 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.0005245/0.0005245, allocations: 12 kB / 377.8 MB, free: 2.703 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3014/0.302, allocations: 56.33 MB / 434.1 MB, free: 18.68 MB / 318.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc1): time 0.002142/0.3042, allocations: 1.746 MB / 435.9 MB, free: 16.91 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006587/0.3049, allocations: 0.5777 MB / 436.5 MB, free: 16.33 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.404e-05/0.3049, allocations: 0 / 436.5 MB, free: 16.33 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001433/0.3051, allocations: 7.984 kB / 436.5 MB, free: 16.32 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001261/0.3052, allocations: 31.83 kB / 436.5 MB, free: 16.29 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002449/0.3055, allocations: 51.86 kB / 436.5 MB, free: 16.24 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001096/0.3056, allocations: 107.8 kB / 436.7 MB, free: 16.13 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.892e-05/0.3056, allocations: 12 kB / 436.7 MB, free: 16.12 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.288e-05/0.3057, allocations: 31.84 kB / 436.7 MB, free: 16.09 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.763e-05/0.3058, allocations: 27.84 kB / 436.7 MB, free: 16.06 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 9.689e-06/0.3058, allocations: 4 kB / 436.7 MB, free: 16.06 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001412/0.3059, allocations: 71.84 kB / 436.8 MB, free: 15.99 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 4.801e-05/0.306, allocations: 19.92 kB / 436.8 MB, free: 15.97 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 5.278e-05/0.306, allocations: 45.56 kB / 436.9 MB, free: 15.92 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001182/0.3062, allocations: 77.84 kB / 436.9 MB, free: 15.84 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.008e-06/0.3062, allocations: 3.938 kB / 436.9 MB, free: 15.84 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.603e-06/0.3062, allocations: 0 / 436.9 MB, free: 15.84 MB / 318.1 MB Notification: Performance of Transformations before backend: time 4.438e-06/0.3062, allocations: 4 kB / 436.9 MB, free: 15.84 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: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.000315/0.3065, allocations: 396.9 kB / 437.3 MB, free: 15.39 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.711e-05/0.3066, allocations: 8.031 kB / 437.3 MB, free: 15.39 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.057e-05/0.3066, allocations: 12.83 kB / 437.4 MB, free: 15.38 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001303/0.3067, allocations: 180.2 kB / 437.5 MB, free: 15.16 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.249e-05/0.3068, allocations: 4.375 kB / 437.5 MB, free: 15.16 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.117e-06/0.3068, allocations: 4.125 kB / 437.5 MB, free: 15.15 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000124/0.3069, allocations: 57.69 kB / 437.6 MB, free: 15.09 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.488e-06/0.3069, allocations: 7.984 kB / 437.6 MB, free: 15.08 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.888e-06/0.3069, allocations: 4 kB / 437.6 MB, free: 15.08 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.668e-06/0.307, allocations: 0 / 437.6 MB, free: 15.08 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.237e-05/0.307, allocations: 31.92 kB / 437.6 MB, free: 15.05 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001271/0.3071, allocations: 169.6 kB / 437.8 MB, free: 14.83 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 6.254e-05/0.3072, allocations: 54.56 kB / 437.9 MB, free: 14.77 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.191e-05/0.3073, allocations: 49.03 kB / 437.9 MB, free: 14.72 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.05e-05/0.3073, allocations: 0 / 437.9 MB, free: 14.72 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.155e-05/0.3073, allocations: 38.5 kB / 437.9 MB, free: 14.67 MB / 318.1 MB Notification: Performance of pre-optimization done (n=12): time 9.61e-07/0.3073, allocations: 0 / 437.9 MB, free: 14.67 MB / 318.1 MB Notification: Performance of matching and sorting (n=12): time 0.00026/0.3076, allocations: 179.2 kB / 438.1 MB, free: 14.48 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.667e-05/0.3076, allocations: 89.11 kB / 438.2 MB, free: 14.38 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.136e-05/0.3077, allocations: 117.8 kB / 438.3 MB, free: 14.25 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.007e-05/0.3077, allocations: 25.7 kB / 438.3 MB, free: 14.22 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.79e-05/0.3078, allocations: 96.08 kB / 438.4 MB, free: 14.12 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.022e-05/0.3078, allocations: 35.45 kB / 438.5 MB, free: 14.09 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.21e-05/0.3078, allocations: 13.72 kB / 438.5 MB, free: 14.07 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 5.768e-05/0.3079, allocations: 326.9 kB / 438.8 MB, free: 13.74 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.064e-05/0.3079, allocations: 27.98 kB / 438.8 MB, free: 13.71 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.678e-05/0.308, allocations: 27.98 kB / 438.9 MB, free: 13.69 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.512e-05/0.3081, allocations: 159.7 kB / 439 MB, free: 13.52 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.643e-06/0.3081, allocations: 0 / 439 MB, free: 13.52 MB / 318.1 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001208/0.3082, allocations: 155.1 kB / 439.2 MB, free: 13.36 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.834e-05/0.3083, allocations: 45.69 kB / 439.2 MB, free: 13.3 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.781e-06/0.3083, allocations: 4 kB / 439.2 MB, free: 13.3 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.316e-05/0.3083, allocations: 64 / 439.2 MB, free: 13.3 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.873e-06/0.3083, allocations: 7.984 kB / 439.2 MB, free: 13.29 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.681e-06/0.3083, allocations: 0 / 439.2 MB, free: 13.29 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.584e-05/0.3083, allocations: 7.938 kB / 439.2 MB, free: 13.29 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.672e-05/0.3084, allocations: 0 / 439.2 MB, free: 13.29 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 9.583e-05/0.3085, allocations: 163.5 kB / 439.4 MB, free: 13.11 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.56e-05/0.3085, allocations: 15.84 kB / 439.4 MB, free: 13.09 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.267e-05/0.3085, allocations: 8.375 kB / 439.4 MB, free: 13.09 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.12e-07/0.3085, allocations: 0 / 439.4 MB, free: 13.09 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.598e-06/0.3085, allocations: 0 / 439.4 MB, free: 13.09 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.196e-06/0.3085, allocations: 8 kB / 439.4 MB, free: 13.08 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.341e-05/0.3086, allocations: 173.5 kB / 439.6 MB, free: 12.86 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.084e-06/0.3086, allocations: 0 / 439.6 MB, free: 12.86 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.513e-06/0.3086, allocations: 7.938 kB / 439.6 MB, free: 12.85 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.52e-07/0.3086, allocations: 0 / 439.6 MB, free: 12.85 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.698e-06/0.3087, allocations: 0 / 439.6 MB, free: 12.85 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.773e-06/0.3087, allocations: 3.984 kB / 439.6 MB, free: 12.85 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.603e-06/0.3087, allocations: 7.984 kB / 439.6 MB, free: 12.84 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000244/0.3089, allocations: 286.5 kB / 439.9 MB, free: 12.54 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.419e-05/0.309, allocations: 84.95 kB / 440 MB, free: 12.43 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.921e-05/0.309, allocations: 4 kB / 440 MB, free: 12.43 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.58e-05/0.309, allocations: 0 / 440 MB, free: 12.43 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.592e-05/0.309, allocations: 4 kB / 440 MB, free: 12.43 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.454e-06/0.309, allocations: 4 kB / 440 MB, free: 12.42 MB / 318.1 MB Notification: Performance of sorting global known variables: time 3.885e-05/0.3091, allocations: 91.27 kB / 440.1 MB, free: 12.33 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3091, allocations: 0 / 440.1 MB, free: 12.33 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.000206/0.3093, allocations: 35.98 kB / 440.1 MB, free: 12.3 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.0001509/0.3095, allocations: 119.2 kB / 440.2 MB, free: 12.17 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0002692/0.3097, allocations: 291.2 kB / 440.5 MB, free: 11.87 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 3.907e-06/0.3097, allocations: 0 / 440.5 MB, free: 11.87 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001418/0.3099, allocations: 223.3 kB / 440.7 MB, free: 11.64 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002839/0.3102, allocations: 23.14 kB / 440.8 MB, free: 11.62 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004254/0.3106, allocations: 322.8 kB / 441.1 MB, free: 11.28 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001689/0.3108, allocations: 0.6965 MB / 441.8 MB, free: 10.55 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.22e-05/0.3108, allocations: 11.44 kB / 441.8 MB, free: 10.54 MB / 318.1 MB Notification: Performance of SimCode: time 2.3e-07/0.3108, allocations: 0 / 441.8 MB, free: 10.54 MB / 318.1 MB Notification: Performance of Templates: time 0.002524/0.3134, allocations: 1.244 MB / 443 MB, free: 9.301 MB / 318.1 MB make -j1 -f PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc1.makefile make -j1 -f PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc1.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_matrixEqCirc1CalcHelperMain.o OMCppPowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc1CalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppPowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc1CalcHelperMain.o] Error 1