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.0009151/0.0009151, allocations: 89.16 kB / 16.95 MB, free: 5.66 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.001166/0.001165, allocations: 187 kB / 17.85 MB, free: 5.312 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.614/1.614, 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.1853/0.1853, allocations: 38.04 MB / 310.3 MB, free: 6.023 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.0005141/0.0005141, allocations: 12 kB / 377.1 MB, free: 3.102 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.326/0.3265, allocations: 56.34 MB / 433.5 MB, free: 18.83 MB / 318.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc3): time 0.002056/0.3286, allocations: 1.719 MB / 435.2 MB, free: 17.09 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006325/0.3293, allocations: 0.539 MB / 435.7 MB, free: 16.55 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.237e-05/0.3294, allocations: 0 / 435.7 MB, free: 16.55 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001315/0.3295, allocations: 7.922 kB / 435.7 MB, free: 16.54 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 7.596e-05/0.3296, allocations: 27.89 kB / 435.8 MB, free: 16.51 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002559/0.3298, allocations: 47.88 kB / 435.8 MB, free: 16.46 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001058/0.33, allocations: 87.7 kB / 435.9 MB, free: 16.38 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.32e-05/0.33, allocations: 4 kB / 435.9 MB, free: 16.38 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.115e-05/0.3301, allocations: 27.86 kB / 435.9 MB, free: 16.35 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.201e-05/0.3302, allocations: 39.89 kB / 436 MB, free: 16.31 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.255e-05/0.3302, allocations: 0 / 436 MB, free: 16.31 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001282/0.3303, allocations: 47.88 kB / 436 MB, free: 16.26 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 5.028e-05/0.3304, allocations: 35.91 kB / 436.1 MB, free: 16.23 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 3.349e-05/0.3304, allocations: 45.58 kB / 436.1 MB, free: 16.18 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001331/0.3306, allocations: 89.73 kB / 436.2 MB, free: 16.09 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.648e-06/0.3306, allocations: 0 / 436.2 MB, free: 16.09 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.034e-06/0.3306, allocations: 3.938 kB / 436.2 MB, free: 16.09 MB / 318.1 MB Notification: Performance of Transformations before backend: time 6.412e-06/0.3306, allocations: 0 / 436.2 MB, free: 16.09 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.0003547/0.331, allocations: 472.4 kB / 436.6 MB, free: 15.57 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.684e-05/0.331, allocations: 12.03 kB / 436.7 MB, free: 15.56 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.044e-05/0.3311, allocations: 19.77 kB / 436.7 MB, free: 15.54 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001447/0.3312, allocations: 199.2 kB / 436.9 MB, free: 15.3 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.124e-05/0.3312, allocations: 0 / 436.9 MB, free: 15.3 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.424e-05/0.3313, allocations: 4 kB / 436.9 MB, free: 15.3 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001505/0.3314, allocations: 126.6 kB / 437 MB, free: 15.17 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.644e-06/0.3314, allocations: 0 / 437 MB, free: 15.17 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.127e-06/0.3314, allocations: 0 / 437 MB, free: 15.17 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.548e-06/0.3315, allocations: 0 / 437 MB, free: 15.17 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.885e-05/0.3315, allocations: 96.23 kB / 437.1 MB, free: 15.08 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001406/0.3317, allocations: 206 kB / 437.3 MB, free: 14.83 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001124/0.3318, allocations: 150.9 kB / 437.4 MB, free: 14.67 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.117e-05/0.3319, allocations: 141.2 kB / 437.6 MB, free: 14.53 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.474e-06/0.3319, allocations: 3.984 kB / 437.6 MB, free: 14.53 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.039e-05/0.3319, allocations: 30.56 kB / 437.6 MB, free: 14.49 MB / 318.1 MB Notification: Performance of pre-optimization done (n=40): time 1.032e-06/0.332, allocations: 0 / 437.6 MB, free: 14.49 MB / 318.1 MB Notification: Performance of matching and sorting (n=40): time 0.000469/0.3324, allocations: 479.8 kB / 438.1 MB, free: 14.01 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.769e-05/0.3325, allocations: 109.1 kB / 438.2 MB, free: 13.88 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.469e-05/0.3326, allocations: 147 kB / 438.3 MB, free: 13.72 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 8.146e-06/0.3326, allocations: 25.7 kB / 438.4 MB, free: 13.69 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.124e-05/0.3326, allocations: 96.8 kB / 438.5 MB, free: 13.59 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.124e-05/0.3327, allocations: 130 kB / 438.6 MB, free: 13.46 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.095e-06/0.3327, allocations: 3.938 kB / 438.6 MB, free: 13.46 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 8.68e-05/0.3328, allocations: 338.8 kB / 438.9 MB, free: 13.12 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.506e-05/0.3329, allocations: 91.97 kB / 439 MB, free: 13.03 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.963e-05/0.333, allocations: 91.97 kB / 439.1 MB, free: 12.94 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001324/0.3331, allocations: 186.9 kB / 439.3 MB, free: 12.75 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.854e-06/0.3331, allocations: 0 / 439.3 MB, free: 12.75 MB / 318.1 MB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0002444/0.3334, allocations: 322.9 kB / 439.6 MB, free: 12.42 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.546e-05/0.3334, allocations: 85.62 kB / 439.7 MB, free: 12.33 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.084e-06/0.3334, allocations: 4 kB / 439.7 MB, free: 12.33 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.734e-05/0.3335, allocations: 4 kB / 439.7 MB, free: 12.32 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.71e-07/0.3335, allocations: 0 / 439.7 MB, free: 12.32 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.719e-06/0.3335, allocations: 0 / 439.7 MB, free: 12.32 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.071e-05/0.3335, allocations: 23.69 kB / 439.7 MB, free: 12.3 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.283e-05/0.3336, allocations: 8.062 kB / 439.7 MB, free: 12.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001528/0.3337, allocations: 239.3 kB / 439.9 MB, free: 12.04 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.307e-05/0.3338, allocations: 19.81 kB / 440 MB, free: 12.02 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.408e-05/0.3338, allocations: 9.969 kB / 440 MB, free: 12.02 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.132e-06/0.3338, allocations: 3.938 kB / 440 MB, free: 12.02 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.941e-06/0.3338, allocations: 0 / 440 MB, free: 12.02 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.184e-06/0.3338, allocations: 0 / 440 MB, free: 12.02 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001249/0.3339, allocations: 233.3 kB / 440.2 MB, free: 11.74 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.32e-07/0.3339, allocations: 0 / 440.2 MB, free: 11.74 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.21e-07/0.3339, allocations: 4 kB / 440.2 MB, free: 11.73 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.235e-06/0.3339, allocations: 3.984 kB / 440.2 MB, free: 11.73 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.617e-05/0.334, allocations: 8 kB / 440.2 MB, free: 11.72 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.42e-07/0.334, allocations: 0 / 440.2 MB, free: 11.72 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.71e-07/0.334, allocations: 0 / 440.2 MB, free: 11.72 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007077/0.3347, allocations: 0.8965 MB / 441.1 MB, free: 10.8 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.41e-05/0.3347, allocations: 100.7 kB / 441.2 MB, free: 10.68 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.828e-05/0.3348, allocations: 8 kB / 441.2 MB, free: 10.68 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.965e-05/0.3348, allocations: 8.031 kB / 441.2 MB, free: 10.67 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.452e-05/0.3348, allocations: 8 kB / 441.2 MB, free: 10.66 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.344e-05/0.3349, allocations: 8 kB / 441.3 MB, free: 10.65 MB / 318.1 MB Notification: Performance of sorting global known variables: time 6.154e-05/0.3349, allocations: 112.6 kB / 441.4 MB, free: 10.54 MB / 318.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3349, allocations: 0 / 441.4 MB, free: 10.54 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0002441/0.3352, allocations: 56 kB / 441.4 MB, free: 10.49 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.0001861/0.3354, allocations: 119.2 kB / 441.5 MB, free: 10.36 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.001027/0.3364, allocations: 1.589 MB / 443.1 MB, free: 8.762 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.625e-06/0.3364, allocations: 4.062 kB / 443.1 MB, free: 8.758 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007686/0.3372, allocations: 1.37 MB / 444.5 MB, free: 7.375 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002488/0.3375, allocations: 31.92 kB / 444.5 MB, free: 7.344 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007264/0.3382, allocations: 0.7068 MB / 445.2 MB, free: 6.609 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001842/0.3384, allocations: 0.7442 MB / 446 MB, free: 5.84 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.482e-05/0.3384, allocations: 15.44 kB / 446 MB, free: 5.824 MB / 318.1 MB Notification: Performance of SimCode: time 2e-07/0.3384, allocations: 0 / 446 MB, free: 5.824 MB / 318.1 MB Notification: Performance of Templates: time 0.003731/0.3422, allocations: 2.307 MB / 448.3 MB, free: 3.52 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++ 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_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