Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerGrids_PowerGrids.Functions.Test.TestTimeConstants.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/PowerGrids 1.0.2/package.mo", uses=false) Using package PowerGrids with version 1.0.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.2/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(PowerGrids.Functions.Test.TestTimeConstants,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerGrids_PowerGrids.Functions.Test.TestTimeConstants") translateModel(PowerGrids.Functions.Test.TestTimeConstants,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerGrids_PowerGrids.Functions.Test.TestTimeConstants") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008274/0.0008274, allocations: 102.7 kB / 15.71 MB, free: 460 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001246/0.001247, allocations: 173.8 kB / 16.58 MB, free: 6.402 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.43/1.43, allocations: 205.4 MB / 222.7 MB, free: 5.648 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.2/package.mo): time 0.0565/0.0565, allocations: 14.17 MB / 285.2 MB, free: 7.133 MB / 238.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.0005953/0.0005953, allocations: 12 kB / 346.8 MB, free: 19.89 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1141/0.1147, allocations: 51.12 MB / 397.9 MB, free: 0.7383 MB / 286.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Functions.Test.TestTimeConstants): time 0.0006232/0.1154, allocations: 213.1 kB / 398.1 MB, free: 0.5352 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003288/0.1157, allocations: 107.8 kB / 398.2 MB, free: 440 kB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.491e-05/0.1157, allocations: 0 / 398.2 MB, free: 440 kB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 1.464e-05/0.1158, allocations: 0 / 398.2 MB, free: 440 kB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002421/0.116, allocations: 19.98 kB / 398.2 MB, free: 420 kB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 3.246e-06/0.116, allocations: 0 / 398.2 MB, free: 420 kB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 4.01e-05/0.1161, allocations: 7.938 kB / 398.3 MB, free: 412 kB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.182e-05/0.1161, allocations: 0 / 398.3 MB, free: 412 kB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.83e-05/0.1162, allocations: 0 / 398.3 MB, free: 412 kB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001491/0.1163, allocations: 15.97 kB / 398.3 MB, free: 396 kB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 8.045e-06/0.1163, allocations: 0 / 398.3 MB, free: 396 kB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.137e-06/0.1163, allocations: 0 / 398.3 MB, free: 396 kB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 8.055e-06/0.1164, allocations: 0 / 398.3 MB, free: 396 kB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 2.657e-05/0.1164, allocations: 25.7 kB / 398.3 MB, free: 364 kB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 3.206e-05/0.1164, allocations: 0 / 398.3 MB, free: 364 kB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.117e-05/0.1164, allocations: 4 kB / 398.3 MB, free: 360 kB / 286.1 MB Notification: Performance of FrontEnd: time 3.376e-06/0.1165, allocations: 4 kB / 398.3 MB, free: 356 kB / 286.1 MB Notification: Performance of Transformations before backend: time 6.642e-06/0.1165, allocations: 0 / 398.3 MB, free: 356 kB / 286.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0002937/0.1168, allocations: 307.4 kB / 398.6 MB, free: 0 / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.662e-05/0.1168, allocations: 12.12 kB / 398.6 MB, free: 15.98 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.571e-05/0.1169, allocations: 4 kB / 398.6 MB, free: 15.98 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001008/0.117, allocations: 167 kB / 398.8 MB, free: 15.78 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.423e-05/0.117, allocations: 7.938 kB / 398.8 MB, free: 15.77 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.588e-06/0.117, allocations: 0 / 398.8 MB, free: 15.77 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001216/0.1171, allocations: 47.38 kB / 398.8 MB, free: 15.71 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.967e-06/0.1171, allocations: 0 / 398.8 MB, free: 15.71 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.248e-06/0.1172, allocations: 0 / 398.8 MB, free: 15.71 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.779e-06/0.1172, allocations: 3.938 kB / 398.8 MB, free: 15.71 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.633e-05/0.1172, allocations: 7.938 kB / 398.8 MB, free: 15.7 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003693/0.1176, allocations: 467.6 kB / 399.3 MB, free: 15.19 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.76e-05/0.1177, allocations: 173.1 kB / 399.5 MB, free: 15.01 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.96e-05/0.1177, allocations: 80.14 kB / 399.6 MB, free: 14.93 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.285e-05/0.1178, allocations: 75.28 kB / 399.6 MB, free: 14.86 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.652e-05/0.1178, allocations: 113.8 kB / 399.7 MB, free: 14.73 MB / 302.1 MB Notification: Performance of pre-optimization done (n=0): time 9.51e-07/0.1178, allocations: 0 / 399.7 MB, free: 14.73 MB / 302.1 MB Notification: Performance of matching and sorting (n=0): time 7.49e-05/0.1179, allocations: 29.7 kB / 399.8 MB, free: 14.7 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.163e-05/0.118, allocations: 130.7 kB / 399.9 MB, free: 14.56 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.712e-05/0.1181, allocations: 101.8 kB / 400 MB, free: 14.45 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.357e-05/0.1181, allocations: 25.7 kB / 400 MB, free: 14.42 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.676e-05/0.1182, allocations: 84.36 kB / 400.1 MB, free: 14.33 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.615e-06/0.1182, allocations: 0 / 400.1 MB, free: 14.33 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.364e-06/0.1182, allocations: 0 / 400.1 MB, free: 14.33 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001458/0.1183, allocations: 319 kB / 400.4 MB, free: 14.01 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.045e-06/0.1183, allocations: 0 / 400.4 MB, free: 14.01 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.893e-05/0.1184, allocations: 17.7 kB / 400.4 MB, free: 13.99 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.773e-05/0.1184, allocations: 7.938 kB / 400.4 MB, free: 13.98 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.49e-06/0.1184, allocations: 3.953 kB / 400.4 MB, free: 13.98 MB / 302.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001199/0.1185, allocations: 37.61 kB / 400.5 MB, free: 13.93 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.576e-05/0.1186, allocations: 4 kB / 400.5 MB, free: 13.93 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.346e-06/0.1186, allocations: 12.11 kB / 400.5 MB, free: 13.92 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.505e-05/0.1186, allocations: 0 / 400.5 MB, free: 13.92 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.852e-05/0.1187, allocations: 4 kB / 400.5 MB, free: 13.91 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.208e-05/0.1187, allocations: 7.922 kB / 400.5 MB, free: 13.91 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.623e-05/0.1187, allocations: 4 kB / 400.5 MB, free: 13.9 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.582e-06/0.1187, allocations: 0 / 400.5 MB, free: 13.9 MB / 302.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (2): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * 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.0001242/0.1189, allocations: 186.2 kB / 400.7 MB, free: 13.71 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.894e-05/0.1189, allocations: 104.9 kB / 400.8 MB, free: 13.6 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.367e-05/0.119, allocations: 108.1 kB / 400.9 MB, free: 13.49 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.761e-05/0.1191, allocations: 188.1 kB / 401.1 MB, free: 13.3 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.41e-05/0.1192, allocations: 188.2 kB / 401.3 MB, free: 13.11 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.786e-05/0.1192, allocations: 180.2 kB / 401.4 MB, free: 12.92 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002212/0.1195, allocations: 397.2 kB / 401.8 MB, free: 12.48 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.424e-05/0.1195, allocations: 109 kB / 401.9 MB, free: 12.36 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.229e-05/0.1196, allocations: 108.9 kB / 402 MB, free: 12.25 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.807e-05/0.1196, allocations: 180.3 kB / 402.2 MB, free: 12.07 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.48e-05/0.1197, allocations: 184.2 kB / 402.4 MB, free: 11.88 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.219e-05/0.1198, allocations: 180.3 kB / 402.6 MB, free: 11.7 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.714e-05/0.1199, allocations: 180.2 kB / 402.7 MB, free: 11.51 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001317/0.12, allocations: 308.1 kB / 403.1 MB, free: 11.19 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.71e-05/0.1201, allocations: 186 kB / 403.2 MB, free: 10.98 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.054e-05/0.1202, allocations: 188.2 kB / 403.4 MB, free: 10.79 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.832e-05/0.1203, allocations: 108.9 kB / 403.5 MB, free: 10.68 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.522e-05/0.1204, allocations: 180.3 kB / 403.7 MB, free: 10.49 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.847e-05/0.1204, allocations: 101 kB / 403.8 MB, free: 10.39 MB / 302.1 MB Notification: Performance of sorting global known variables: time 4.531e-05/0.1205, allocations: 83.28 kB / 403.9 MB, free: 10.3 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1205, allocations: 0 / 403.9 MB, free: 10.3 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002123/0.1207, allocations: 0 / 403.9 MB, free: 10.3 MB / 302.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 (0): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 0 * 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.0001228/0.1208, allocations: 170.5 kB / 404 MB, free: 10.13 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 7.809e-05/0.1209, allocations: 8.156 kB / 404.1 MB, free: 10.12 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.156e-06/0.1209, allocations: 0 / 404.1 MB, free: 10.12 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 4.659e-06/0.1209, allocations: 3.984 kB / 404.1 MB, free: 10.12 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004163/0.1214, allocations: 0.5185 MB / 404.6 MB, free: 9.594 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002236/0.1216, allocations: 179.6 kB / 404.8 MB, free: 9.383 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002574/0.1219, allocations: 0.6771 MB / 405.4 MB, free: 8.68 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.792e-05/0.1219, allocations: 11.38 kB / 405.4 MB, free: 8.668 MB / 302.1 MB Notification: Performance of SimCode: time 2.21e-07/0.1219, allocations: 0 / 405.4 MB, free: 8.668 MB / 302.1 MB Notification: Performance of Templates: time 0.00174/0.1236, allocations: 335.8 kB / 405.8 MB, free: 8.34 MB / 302.1 MB make -j1 -f PowerGrids_PowerGrids.Functions.Test.TestTimeConstants.makefile make -j1 -f PowerGrids_PowerGrids.Functions.Test.TestTimeConstants.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 OMCppPowerGrids_PowerGrids.Functions.Test.TestTimeConstantsCalcHelperMain.o OMCppPowerGrids_PowerGrids.Functions.Test.TestTimeConstantsCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppPowerGrids_PowerGrids.Functions.Test.TestTimeConstantsCalcHelperMain.o] Error 1