Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat3.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_matrixTrDat3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat3") translateModel(PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat3") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008279/0.0008274, allocations: 92.66 kB / 17.31 MB, free: 6.531 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.0008628/0.0008631, allocations: 176.2 kB / 18.21 MB, free: 5.684 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.758/1.758, allocations: 205.4 MB / 224.4 MB, free: 13.07 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo): time 0.18/0.18, allocations: 38.05 MB / 310.7 MB, free: 5.922 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.0005126/0.0005126, allocations: 12.56 kB / 377.8 MB, free: 2.734 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3126/0.3131, allocations: 56.34 MB / 434.2 MB, free: 18.69 MB / 318.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat3): time 0.002108/0.3153, allocations: 1.805 MB / 436 MB, free: 16.86 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002748/0.3181, allocations: 2.157 MB / 438.1 MB, free: 14.7 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.078e-05/0.3181, allocations: 0 / 438.1 MB, free: 14.7 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001455/0.3183, allocations: 15.91 kB / 438.1 MB, free: 14.68 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 9.312e-05/0.3184, allocations: 27.91 kB / 438.2 MB, free: 14.65 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001589/0.32, allocations: 0.6865 MB / 438.8 MB, free: 13.96 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001237/0.3201, allocations: 115.7 kB / 439 MB, free: 13.85 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.093e-05/0.3202, allocations: 16.09 kB / 439 MB, free: 13.84 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.478e-05/0.3202, allocations: 39.8 kB / 439 MB, free: 13.8 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.425e-05/0.3203, allocations: 51.81 kB / 439.1 MB, free: 13.75 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.4e-05/0.3204, allocations: 4 kB / 439.1 MB, free: 13.74 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001314/0.3217, allocations: 1.236 MB / 440.3 MB, free: 12.5 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 5.915e-05/0.3218, allocations: 43.84 kB / 440.3 MB, free: 12.46 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 6.56e-05/0.3218, allocations: 77.25 kB / 440.4 MB, free: 12.38 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008827/0.3227, allocations: 1.012 MB / 441.4 MB, free: 11.37 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.029e-06/0.3227, allocations: 0 / 441.4 MB, free: 11.37 MB / 318.1 MB Notification: Performance of FrontEnd: time 3.557e-06/0.3227, allocations: 3.984 kB / 441.4 MB, free: 11.36 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.157e-05/0.3228, allocations: 0 / 441.4 MB, free: 11.36 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.000731/0.3235, allocations: 0.5863 MB / 442 MB, free: 10.72 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.289e-05/0.3235, allocations: 8.031 kB / 442 MB, free: 10.71 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.449e-05/0.3236, allocations: 20.66 kB / 442 MB, free: 10.7 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002391/0.3238, allocations: 223.4 kB / 442.3 MB, free: 10.44 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.676e-05/0.3239, allocations: 3.938 kB / 442.3 MB, free: 10.43 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.919e-05/0.3239, allocations: 0 / 442.3 MB, free: 10.43 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002552/0.3242, allocations: 138.6 kB / 442.4 MB, free: 10.29 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.021e-05/0.3242, allocations: 0 / 442.4 MB, free: 10.29 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.493e-05/0.3242, allocations: 0 / 442.4 MB, free: 10.29 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.011e-06/0.3242, allocations: 4 kB / 442.4 MB, free: 10.29 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001093/0.3243, allocations: 100.3 kB / 442.5 MB, free: 10.19 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002002/0.3245, allocations: 206.1 kB / 442.7 MB, free: 9.941 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001497/0.3247, allocations: 158.8 kB / 442.9 MB, free: 9.777 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001238/0.3248, allocations: 145.2 kB / 443 MB, free: 9.633 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.144e-05/0.3249, allocations: 4 kB / 443 MB, free: 9.629 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.774e-05/0.3249, allocations: 34.55 kB / 443 MB, free: 9.586 MB / 318.1 MB Notification: Performance of pre-optimization done (n=40): time 1.303e-06/0.3249, allocations: 4 kB / 443 MB, free: 9.582 MB / 318.1 MB Notification: Performance of matching and sorting (n=40): time 0.0006376/0.3255, allocations: 495.8 kB / 443.5 MB, free: 9.086 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.701e-05/0.3256, allocations: 113 kB / 443.6 MB, free: 8.957 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001462/0.3258, allocations: 170.9 kB / 443.8 MB, free: 8.781 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.176e-05/0.3258, allocations: 25.7 kB / 443.8 MB, free: 8.75 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.219e-05/0.3258, allocations: 112.8 kB / 443.9 MB, free: 8.633 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.636e-05/0.3259, allocations: 134 kB / 444.1 MB, free: 8.5 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.44e-05/0.326, allocations: 25.7 kB / 444.1 MB, free: 8.469 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 9.738e-05/0.3261, allocations: 342.7 kB / 444.4 MB, free: 8.125 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.423e-05/0.3262, allocations: 99.95 kB / 444.5 MB, free: 8.027 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.723e-05/0.3263, allocations: 91.97 kB / 444.6 MB, free: 7.938 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002748/0.3266, allocations: 377.4 kB / 445 MB, free: 7.555 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.074e-06/0.3266, allocations: 0 / 445 MB, free: 7.555 MB / 318.1 MB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0002846/0.3269, allocations: 335 kB / 445.3 MB, free: 7.215 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.47e-05/0.3269, allocations: 89.69 kB / 445.4 MB, free: 7.121 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.292e-06/0.3269, allocations: 11.94 kB / 445.4 MB, free: 7.109 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.274e-05/0.327, allocations: 0 / 445.4 MB, free: 7.109 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.052e-06/0.327, allocations: 0 / 445.4 MB, free: 7.109 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.9e-06/0.327, allocations: 0 / 445.4 MB, free: 7.109 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.269e-05/0.3271, allocations: 23.69 kB / 445.4 MB, free: 7.086 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.849e-05/0.3271, allocations: 11.94 kB / 445.5 MB, free: 7.074 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.000173/0.3273, allocations: 239.3 kB / 445.7 MB, free: 6.824 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.044e-05/0.3273, allocations: 23.72 kB / 445.7 MB, free: 6.801 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.254e-05/0.3273, allocations: 22.64 kB / 445.7 MB, free: 6.781 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.653e-06/0.3273, allocations: 0 / 445.7 MB, free: 6.781 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.871e-06/0.3274, allocations: 4 kB / 445.7 MB, free: 6.777 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.817e-06/0.3274, allocations: 0 / 445.7 MB, free: 6.777 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001485/0.3275, allocations: 237.3 kB / 446 MB, free: 6.496 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.31e-07/0.3275, allocations: 0 / 446 MB, free: 6.496 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.51e-07/0.3275, allocations: 0 / 446 MB, free: 6.496 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.082e-06/0.3275, allocations: 0 / 446 MB, free: 6.496 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.892e-05/0.3276, allocations: 8 kB / 446 MB, free: 6.488 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.72e-07/0.3276, allocations: 0 / 446 MB, free: 6.488 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.12e-07/0.3276, allocations: 0 / 446 MB, free: 6.488 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007703/0.3283, allocations: 0.9197 MB / 446.9 MB, free: 5.543 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.477e-05/0.3284, allocations: 108.7 kB / 447 MB, free: 5.418 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.231e-05/0.3285, allocations: 8 kB / 447 MB, free: 5.41 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.806e-05/0.3285, allocations: 4 kB / 447 MB, free: 5.406 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.691e-05/0.3285, allocations: 19.86 kB / 447 MB, free: 5.387 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.822e-05/0.3286, allocations: 8 kB / 447 MB, free: 5.379 MB / 318.1 MB Notification: Performance of sorting global known variables: time 7.764e-05/0.3287, allocations: 127.2 kB / 447.2 MB, free: 5.254 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.3287, allocations: 4.031 kB / 447.2 MB, free: 5.25 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0008307/0.3295, allocations: 351.9 kB / 447.5 MB, free: 4.906 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.0008442/0.3304, allocations: 361.4 kB / 447.9 MB, free: 4.547 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.001008/0.3314, allocations: 1.597 MB / 449.5 MB, free: 2.938 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.775e-06/0.3314, allocations: 0 / 449.5 MB, free: 2.938 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006998/0.3321, allocations: 1.374 MB / 450.8 MB, free: 1.551 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002652/0.3324, allocations: 16 kB / 450.8 MB, free: 1.535 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008377/0.3332, allocations: 0.7872 MB / 451.6 MB, free: 0.7188 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002651/0.3335, allocations: 0.752 MB / 452.4 MB, free: 15.94 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.052e-05/0.3335, allocations: 7.438 kB / 452.4 MB, free: 15.93 MB / 334.1 MB Notification: Performance of SimCode: time 2.41e-07/0.3335, allocations: 7.938 kB / 452.4 MB, free: 15.93 MB / 334.1 MB Notification: Performance of Templates: time 0.01198/0.3455, allocations: 7.089 MB / 459.5 MB, free: 8.832 MB / 334.1 MB make -j1 -f PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat3.makefile make -j1 -f PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat3.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_matrixTrDat3CalcHelperMain.o OMCppPowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat3CalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppPowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat3CalcHelperMain.o] Error 1