Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc2.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_matrixEqCirc2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc2") translateModel(PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009585/0.0009582, allocations: 91.42 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.001206/0.001206, allocations: 174.3 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.768/1.768, allocations: 205.4 MB / 224.4 MB, free: 13.06 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo): time 0.1793/0.1793, allocations: 38.06 MB / 310.7 MB, free: 5.898 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.0005535/0.0005537, allocations: 12 kB / 377.8 MB, free: 2.715 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3005/0.301, allocations: 56.33 MB / 434.1 MB, free: 18.68 MB / 318.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc2): time 0.002244/0.3033, allocations: 1.742 MB / 435.9 MB, free: 16.92 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008075/0.3042, allocations: 0.5737 MB / 436.5 MB, free: 16.34 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.631e-05/0.3042, allocations: 0 / 436.5 MB, free: 16.34 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002236/0.3045, allocations: 3.984 kB / 436.5 MB, free: 16.34 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001289/0.3046, allocations: 27.83 kB / 436.5 MB, free: 16.31 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003939/0.305, allocations: 63.84 kB / 436.6 MB, free: 16.25 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001613/0.3052, allocations: 111.8 kB / 436.7 MB, free: 16.14 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.862e-05/0.3053, allocations: 0 / 436.7 MB, free: 16.14 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000106/0.3054, allocations: 27.84 kB / 436.7 MB, free: 16.11 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.029e-05/0.3055, allocations: 35.86 kB / 436.7 MB, free: 16.07 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.99e-05/0.3055, allocations: 7.984 kB / 436.7 MB, free: 16.07 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001854/0.3057, allocations: 71.84 kB / 436.8 MB, free: 16 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 8.267e-05/0.3058, allocations: 31.91 kB / 436.8 MB, free: 15.96 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 6.985e-05/0.3059, allocations: 57.39 kB / 436.9 MB, free: 15.9 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001691/0.306, allocations: 93.81 kB / 437 MB, free: 15.81 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.096e-05/0.3061, allocations: 0 / 437 MB, free: 15.81 MB / 318.1 MB Notification: Performance of FrontEnd: time 4.528e-06/0.3061, allocations: 0 / 437 MB, free: 15.81 MB / 318.1 MB Notification: Performance of Transformations before backend: time 7.625e-06/0.3061, allocations: 0 / 437 MB, free: 15.81 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.0005725/0.3067, allocations: 424.8 kB / 437.4 MB, free: 15.34 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.462e-05/0.3067, allocations: 12.03 kB / 437.4 MB, free: 15.33 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.83e-05/0.3068, allocations: 16.73 kB / 437.4 MB, free: 15.32 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002035/0.307, allocations: 184.2 kB / 437.6 MB, free: 15.1 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.708e-05/0.307, allocations: 4.375 kB / 437.6 MB, free: 15.09 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.618e-05/0.3071, allocations: 4.125 kB / 437.6 MB, free: 15.09 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002087/0.3073, allocations: 85.67 kB / 437.7 MB, free: 15 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.314e-05/0.3073, allocations: 3.938 kB / 437.7 MB, free: 15 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.655e-05/0.3073, allocations: 4 kB / 437.7 MB, free: 14.99 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.534e-06/0.3073, allocations: 0 / 437.7 MB, free: 14.99 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.506e-05/0.3074, allocations: 51.98 kB / 437.8 MB, free: 14.94 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002188/0.3076, allocations: 185.5 kB / 437.9 MB, free: 14.71 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000144/0.3078, allocations: 102.5 kB / 438 MB, free: 14.6 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.353e-05/0.3079, allocations: 88.81 kB / 438.1 MB, free: 14.51 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.071e-06/0.3079, allocations: 0 / 438.1 MB, free: 14.51 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.548e-05/0.308, allocations: 30.56 kB / 438.2 MB, free: 14.47 MB / 318.1 MB Notification: Performance of pre-optimization done (n=24): time 2.976e-06/0.308, allocations: 0 / 438.2 MB, free: 14.47 MB / 318.1 MB Notification: Performance of matching and sorting (n=24): time 0.0005006/0.3085, allocations: 315.2 kB / 438.5 MB, free: 14.15 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.544e-05/0.3086, allocations: 101.1 kB / 438.6 MB, free: 14.04 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001271/0.3087, allocations: 133.1 kB / 438.7 MB, free: 13.9 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.473e-05/0.3087, allocations: 25.7 kB / 438.7 MB, free: 13.87 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.488e-05/0.3088, allocations: 92.58 kB / 438.8 MB, free: 13.77 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.65e-05/0.3089, allocations: 82.73 kB / 438.9 MB, free: 13.69 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.258e-05/0.3089, allocations: 25.7 kB / 438.9 MB, free: 13.66 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 9.025e-05/0.309, allocations: 322.8 kB / 439.2 MB, free: 13.34 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.292e-05/0.3091, allocations: 59.91 kB / 439.3 MB, free: 13.28 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.583e-05/0.3091, allocations: 60.02 kB / 439.3 MB, free: 13.22 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001824/0.3093, allocations: 252.8 kB / 439.6 MB, free: 12.96 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.225e-06/0.3093, allocations: 0 / 439.6 MB, free: 12.96 MB / 318.1 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0001788/0.3095, allocations: 223 kB / 439.8 MB, free: 12.73 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.92e-05/0.3096, allocations: 65.66 kB / 439.9 MB, free: 12.66 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.162e-06/0.3096, allocations: 0 / 439.9 MB, free: 12.66 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.638e-05/0.3096, allocations: 0 / 439.9 MB, free: 12.66 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.193e-06/0.3096, allocations: 0 / 439.9 MB, free: 12.66 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.613e-06/0.3096, allocations: 0 / 439.9 MB, free: 12.66 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.861e-05/0.3097, allocations: 15.84 kB / 439.9 MB, free: 12.64 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.496e-05/0.3097, allocations: 8.062 kB / 439.9 MB, free: 12.63 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.0001405/0.3098, allocations: 195.4 kB / 440.1 MB, free: 12.43 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.282e-05/0.3099, allocations: 19.81 kB / 440.1 MB, free: 12.41 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.877e-05/0.3099, allocations: 13.17 kB / 440.1 MB, free: 12.4 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.085e-06/0.3099, allocations: 4 kB / 440.1 MB, free: 12.39 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.721e-06/0.3099, allocations: 0 / 440.1 MB, free: 12.39 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.677e-06/0.3099, allocations: 4 kB / 440.1 MB, free: 12.39 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001366/0.3101, allocations: 193.4 kB / 440.3 MB, free: 12.15 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.91e-07/0.3101, allocations: 0 / 440.3 MB, free: 12.15 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.809e-06/0.3101, allocations: 11.98 kB / 440.3 MB, free: 12.14 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.242e-06/0.3101, allocations: 3.938 kB / 440.3 MB, free: 12.14 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.564e-05/0.3101, allocations: 4 kB / 440.3 MB, free: 12.13 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.182e-06/0.3101, allocations: 3.938 kB / 440.3 MB, free: 12.13 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.62e-07/0.3101, allocations: 0 / 440.3 MB, free: 12.13 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004669/0.3106, allocations: 0.5061 MB / 440.8 MB, free: 11.6 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.415e-05/0.3107, allocations: 92.94 kB / 440.9 MB, free: 11.49 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.537e-05/0.3107, allocations: 4 kB / 440.9 MB, free: 11.48 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.252e-05/0.3107, allocations: 8.031 kB / 440.9 MB, free: 11.48 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.157e-05/0.3108, allocations: 0 / 440.9 MB, free: 11.48 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.957e-06/0.3108, allocations: 4 kB / 441 MB, free: 11.47 MB / 318.1 MB Notification: Performance of sorting global known variables: time 5.437e-05/0.3108, allocations: 103.3 kB / 441.1 MB, free: 11.37 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.3108, allocations: 0 / 441.1 MB, free: 11.37 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0002375/0.3111, allocations: 47.98 kB / 441.1 MB, free: 11.32 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.0002045/0.3113, allocations: 115.2 kB / 441.2 MB, free: 11.2 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0005331/0.3118, allocations: 0.7023 MB / 441.9 MB, free: 10.48 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.766e-06/0.3118, allocations: 4.062 kB / 441.9 MB, free: 10.48 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003485/0.3122, allocations: 0.5657 MB / 442.5 MB, free: 9.902 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002447/0.3124, allocations: 23.92 kB / 442.5 MB, free: 9.879 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005669/0.313, allocations: 0.4997 MB / 443 MB, free: 9.348 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001823/0.3132, allocations: 0.7241 MB / 443.7 MB, free: 8.598 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.199e-05/0.3132, allocations: 7.438 kB / 443.7 MB, free: 8.59 MB / 318.1 MB Notification: Performance of SimCode: time 2.1e-07/0.3132, allocations: 4 kB / 443.7 MB, free: 8.586 MB / 318.1 MB Notification: Performance of Templates: time 0.003198/0.3164, allocations: 1.694 MB / 445.4 MB, free: 6.898 MB / 318.1 MB make -j1 -f PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc2.makefile make -j1 -f PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc2.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_matrixEqCirc2CalcHelperMain.o OMCppPowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc2CalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppPowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc2CalcHelperMain.o] Error 1