Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat1.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_matrixTrDat1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat1") translateModel(PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001057/0.001057, allocations: 90.42 kB / 16.95 MB, free: 5.953 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.001225/0.001225, allocations: 177.3 kB / 17.84 MB, free: 5.621 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.691/1.691, 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.1783/0.1783, allocations: 38.05 MB / 310.3 MB, free: 6.043 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.0005264/0.0005264, allocations: 16 kB / 377.1 MB, free: 3.113 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3284/0.329, allocations: 56.33 MB / 433.5 MB, free: 18.86 MB / 318.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat1): time 0.001821/0.3308, allocations: 1.77 MB / 435.2 MB, free: 17.07 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002259/0.3331, allocations: 1.944 MB / 437.2 MB, free: 15.11 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.99e-05/0.3332, allocations: 0 / 437.2 MB, free: 15.11 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001378/0.3333, allocations: 15.91 kB / 437.2 MB, free: 15.1 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 7.875e-05/0.3334, allocations: 23.91 kB / 437.2 MB, free: 15.07 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001309/0.3347, allocations: 0.6499 MB / 437.9 MB, free: 14.43 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 9.195e-05/0.3348, allocations: 95.64 kB / 438 MB, free: 14.33 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.476e-05/0.3349, allocations: 8.188 kB / 438 MB, free: 14.32 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.334e-05/0.335, allocations: 31.86 kB / 438 MB, free: 14.29 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.261e-05/0.335, allocations: 35.83 kB / 438 MB, free: 14.26 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.063e-05/0.335, allocations: 4 kB / 438 MB, free: 14.25 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001074/0.3361, allocations: 1.057 MB / 439.1 MB, free: 13.2 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 2.886e-05/0.3362, allocations: 23.84 kB / 439.1 MB, free: 13.17 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 2.977e-05/0.3362, allocations: 33.64 kB / 439.2 MB, free: 13.13 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006657/0.3369, allocations: 0.9103 MB / 440.1 MB, free: 12.22 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.248e-06/0.3369, allocations: 0 / 440.1 MB, free: 12.22 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.402e-06/0.3369, allocations: 0 / 440.1 MB, free: 12.22 MB / 318.1 MB Notification: Performance of Transformations before backend: time 4.619e-06/0.3369, allocations: 0 / 440.1 MB, free: 12.22 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.0004703/0.3374, allocations: 0.5161 MB / 440.6 MB, free: 11.65 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.061e-05/0.3374, allocations: 8.031 kB / 440.6 MB, free: 11.64 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.86e-05/0.3375, allocations: 7.906 kB / 440.6 MB, free: 11.64 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001294/0.3376, allocations: 178.9 kB / 440.8 MB, free: 11.42 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.093e-05/0.3376, allocations: 7.984 kB / 440.8 MB, free: 11.41 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.196e-05/0.3376, allocations: 11.94 kB / 440.8 MB, free: 11.4 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001216/0.3378, allocations: 65.66 kB / 440.9 MB, free: 11.33 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.542e-06/0.3378, allocations: 0 / 440.9 MB, free: 11.33 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.568e-06/0.3378, allocations: 0 / 440.9 MB, free: 11.33 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.999e-06/0.3378, allocations: 7.953 kB / 440.9 MB, free: 11.32 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.66e-05/0.3379, allocations: 35.86 kB / 440.9 MB, free: 11.29 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001159/0.338, allocations: 169.7 kB / 441.1 MB, free: 11.07 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 6.517e-05/0.338, allocations: 54.56 kB / 441.1 MB, free: 11.01 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.519e-05/0.3381, allocations: 56.81 kB / 441.2 MB, free: 10.95 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.322e-06/0.3381, allocations: 0 / 441.2 MB, free: 10.95 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.69e-05/0.3381, allocations: 34.56 kB / 441.2 MB, free: 10.91 MB / 318.1 MB Notification: Performance of pre-optimization done (n=12): time 8.21e-07/0.3381, allocations: 0 / 441.2 MB, free: 10.91 MB / 318.1 MB Notification: Performance of matching and sorting (n=12): time 0.0002391/0.3384, allocations: 187.2 kB / 441.4 MB, free: 10.71 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.414e-05/0.3384, allocations: 93.06 kB / 441.5 MB, free: 10.61 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.629e-05/0.3385, allocations: 141 kB / 441.6 MB, free: 10.46 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 8.346e-06/0.3385, allocations: 25.7 kB / 441.6 MB, free: 10.43 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.429e-05/0.3386, allocations: 92.17 kB / 441.7 MB, free: 10.34 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.401e-05/0.3386, allocations: 39.45 kB / 441.8 MB, free: 10.3 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.717e-06/0.3386, allocations: 0 / 441.8 MB, free: 10.3 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 5.489e-05/0.3387, allocations: 322.8 kB / 442.1 MB, free: 9.973 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.653e-05/0.3387, allocations: 32.14 kB / 442.1 MB, free: 9.941 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.116e-05/0.3387, allocations: 35.92 kB / 442.2 MB, free: 9.906 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.837e-05/0.3388, allocations: 77.67 kB / 442.2 MB, free: 9.824 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.503e-06/0.3388, allocations: 0 / 442.2 MB, free: 9.824 MB / 318.1 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001594/0.339, allocations: 154.7 kB / 442.4 MB, free: 9.664 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.856e-05/0.339, allocations: 53.67 kB / 442.4 MB, free: 9.605 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.448e-06/0.339, allocations: 0 / 442.4 MB, free: 9.605 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.029e-05/0.3391, allocations: 0 / 442.4 MB, free: 9.605 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.32e-07/0.3391, allocations: 0 / 442.4 MB, free: 9.605 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.539e-06/0.3391, allocations: 4 kB / 442.4 MB, free: 9.602 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.252e-05/0.3391, allocations: 7.891 kB / 442.4 MB, free: 9.594 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.064e-05/0.3391, allocations: 4 kB / 442.5 MB, free: 9.59 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 8.595e-05/0.3392, allocations: 175.4 kB / 442.6 MB, free: 9.402 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.451e-05/0.3393, allocations: 11.81 kB / 442.6 MB, free: 9.391 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.266e-05/0.3393, allocations: 12.72 kB / 442.6 MB, free: 9.379 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.61e-07/0.3393, allocations: 0 / 442.6 MB, free: 9.379 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.158e-06/0.3393, allocations: 0 / 442.6 MB, free: 9.379 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.966e-06/0.3393, allocations: 0 / 442.6 MB, free: 9.379 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.682e-05/0.3394, allocations: 185.5 kB / 442.8 MB, free: 9.148 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.61e-07/0.3394, allocations: 0 / 442.8 MB, free: 9.148 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.31e-07/0.3394, allocations: 0 / 442.8 MB, free: 9.148 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.936e-06/0.3394, allocations: 7.984 kB / 442.8 MB, free: 9.141 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.04e-05/0.3394, allocations: 0 / 442.8 MB, free: 9.141 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.603e-06/0.3394, allocations: 3.984 kB / 442.8 MB, free: 9.137 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.393e-06/0.3394, allocations: 8 kB / 442.8 MB, free: 9.129 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002359/0.3397, allocations: 286.6 kB / 443.1 MB, free: 8.824 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.559e-05/0.3397, allocations: 88.95 kB / 443.2 MB, free: 8.719 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.85e-05/0.3397, allocations: 3.938 kB / 443.2 MB, free: 8.715 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.443e-05/0.3398, allocations: 4 kB / 443.2 MB, free: 8.711 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.058e-05/0.3398, allocations: 0 / 443.2 MB, free: 8.711 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.638e-06/0.3398, allocations: 8 kB / 443.2 MB, free: 8.703 MB / 318.1 MB Notification: Performance of sorting global known variables: time 4.342e-05/0.3398, allocations: 107.2 kB / 443.3 MB, free: 8.598 MB / 318.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3398, allocations: 4.031 kB / 443.3 MB, free: 8.594 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0005369/0.3404, allocations: 316 kB / 443.6 MB, free: 8.285 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.0006837/0.3411, allocations: 357.3 kB / 444 MB, free: 7.926 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0002787/0.3414, allocations: 299.2 kB / 444.3 MB, free: 7.621 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 1.764e-06/0.3414, allocations: 64 / 444.3 MB, free: 7.621 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001355/0.3415, allocations: 227.3 kB / 444.5 MB, free: 7.387 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002132/0.3417, allocations: 11.95 kB / 444.5 MB, free: 7.375 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004237/0.3422, allocations: 368.6 kB / 444.9 MB, free: 6.984 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001457/0.3423, allocations: 0.7082 MB / 445.6 MB, free: 6.25 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.062e-05/0.3423, allocations: 7.438 kB / 445.6 MB, free: 6.242 MB / 318.1 MB Notification: Performance of SimCode: time 2.1e-07/0.3424, allocations: 0 / 445.6 MB, free: 6.242 MB / 318.1 MB Notification: Performance of Templates: time 0.006999/0.3494, allocations: 5.965 MB / 451.6 MB, free: 280 kB / 318.1 MB make -j1 -f PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat1.makefile make -j1 -f PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat1.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_matrixTrDat1CalcHelperMain.o OMCppPowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat1CalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppPowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat1CalcHelperMain.o] Error 1