Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerGrids_PowerGrids.Controls.Test.TestLimiterWithLag.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.Controls.Test.TestLimiterWithLag,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="PowerGrids_PowerGrids.Controls.Test.TestLimiterWithLag") translateModel(PowerGrids.Controls.Test.TestLimiterWithLag,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="PowerGrids_PowerGrids.Controls.Test.TestLimiterWithLag") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008078/0.0008075, allocations: 99.98 kB / 15.71 MB, free: 452 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.0009222/0.0009223, allocations: 178.2 kB / 16.58 MB, free: 6.422 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.507/1.507, allocations: 205.4 MB / 222.8 MB, free: 5.645 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.2/package.mo): time 0.05786/0.05786, allocations: 14.17 MB / 285.2 MB, free: 7.137 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.0006808/0.0006809, allocations: 16 kB / 346.8 MB, free: 19.9 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09321/0.0939, allocations: 51.11 MB / 397.9 MB, free: 0.7422 MB / 286.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Controls.Test.TestLimiterWithLag): time 0.001833/0.09579, allocations: 1.464 MB / 399.4 MB, free: 15.27 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007739/0.09658, allocations: 0.5351 MB / 399.9 MB, free: 14.72 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.42e-05/0.09665, allocations: 4 kB / 399.9 MB, free: 14.72 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 7.704e-05/0.09673, allocations: 7.922 kB / 399.9 MB, free: 14.71 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001179/0.09686, allocations: 35.7 kB / 400 MB, free: 14.68 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001536/0.09702, allocations: 43.94 kB / 400 MB, free: 14.63 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001673/0.0972, allocations: 167.5 kB / 400.2 MB, free: 14.47 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001021/0.09731, allocations: 21.09 kB / 400.2 MB, free: 14.45 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.201e-05/0.09741, allocations: 71.73 kB / 400.3 MB, free: 14.38 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000137/0.09755, allocations: 87.7 kB / 400.3 MB, free: 14.29 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 3.007e-05/0.09759, allocations: 8 kB / 400.3 MB, free: 14.29 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.366e-05/0.09762, allocations: 8 kB / 400.4 MB, free: 14.28 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 4.673e-05/0.09767, allocations: 31.91 kB / 400.4 MB, free: 14.25 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 5.368e-05/0.09773, allocations: 49.58 kB / 400.4 MB, free: 14.19 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001421/0.09788, allocations: 120 kB / 400.6 MB, free: 14.07 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.419e-06/0.09789, allocations: 0 / 400.6 MB, free: 14.07 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.743e-06/0.0979, allocations: 0 / 400.6 MB, free: 14.07 MB / 302.1 MB Notification: Performance of Transformations before backend: time 3.997e-06/0.09791, allocations: 0 / 400.6 MB, free: 14.07 MB / 302.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 14 * Number of variables: 14 Notification: Performance of Generate backend data structure: time 0.0009614/0.09888, allocations: 0.5661 MB / 401.1 MB, free: 13.44 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.402e-05/0.09893, allocations: 16.02 kB / 401.1 MB, free: 13.43 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.463e-05/0.09899, allocations: 15.81 kB / 401.2 MB, free: 13.41 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002301/0.09922, allocations: 218.8 kB / 401.4 MB, free: 13.16 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.907e-05/0.09925, allocations: 15.95 kB / 401.4 MB, free: 13.14 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.512e-05/0.09928, allocations: 8 kB / 401.4 MB, free: 13.13 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005141/0.0998, allocations: 205.4 kB / 401.6 MB, free: 12.93 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.913e-06/0.09982, allocations: 0 / 401.6 MB, free: 12.93 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.831e-05/0.09985, allocations: 0 / 401.6 MB, free: 12.93 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.338e-06/0.09986, allocations: 4 kB / 401.6 MB, free: 12.92 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006943/0.1006, allocations: 243.8 kB / 401.8 MB, free: 12.68 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008299/0.1014, allocations: 0.5004 MB / 402.3 MB, free: 12.13 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007364/0.1022, allocations: 282.3 kB / 402.6 MB, free: 11.85 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003764/0.1025, allocations: 152.8 kB / 402.8 MB, free: 11.7 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.34e-05/0.1026, allocations: 4 kB / 402.8 MB, free: 11.69 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006323/0.1032, allocations: 425.3 kB / 403.2 MB, free: 11.23 MB / 302.1 MB Notification: Performance of pre-optimization done (n=19): time 1.643e-06/0.1032, allocations: 0 / 403.2 MB, free: 11.23 MB / 302.1 MB Notification: Performance of matching and sorting (n=19): time 0.001385/0.1046, allocations: 0.5614 MB / 403.7 MB, free: 10.65 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001261/0.1048, allocations: 251.3 kB / 404 MB, free: 10.35 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000162/0.1049, allocations: 178.3 kB / 404.2 MB, free: 10.17 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.855e-05/0.105, allocations: 37.64 kB / 404.2 MB, free: 10.12 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.812e-05/0.105, allocations: 116.4 kB / 404.3 MB, free: 10 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.65e-05/0.1051, allocations: 39.45 kB / 404.3 MB, free: 9.965 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.54e-05/0.1051, allocations: 8 kB / 404.4 MB, free: 9.957 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001222/0.1052, allocations: 326.8 kB / 404.7 MB, free: 9.629 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004057/0.1057, allocations: 151.9 kB / 404.8 MB, free: 9.48 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003721/0.106, allocations: 149 kB / 405 MB, free: 9.336 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004089/0.1065, allocations: 229 kB / 405.2 MB, free: 9.094 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.794e-06/0.1065, allocations: 0 / 405.2 MB, free: 9.094 MB / 302.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0009681/0.1075, allocations: 486.2 kB / 405.7 MB, free: 8.594 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001473/0.1076, allocations: 182.8 kB / 405.8 MB, free: 8.391 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.594e-06/0.1076, allocations: 0 / 405.8 MB, free: 8.391 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.485e-05/0.1076, allocations: 0 / 405.8 MB, free: 8.391 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002691/0.1079, allocations: 55.95 kB / 405.9 MB, free: 8.336 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.805e-06/0.1079, allocations: 3.953 kB / 405.9 MB, free: 8.332 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003234/0.1083, allocations: 83.86 kB / 406 MB, free: 8.25 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.506e-05/0.1083, allocations: 8 kB / 406 MB, free: 8.242 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.043e-06/0.1083, allocations: 6.812 kB / 406 MB, free: 8.238 MB / 302.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0009772/0.1093, allocations: 488.6 kB / 406.5 MB, free: 7.742 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.513e-06/0.1093, allocations: 0 / 406.5 MB, free: 7.742 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.276e-06/0.1093, allocations: 8 kB / 406.5 MB, free: 7.734 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001995/0.1095, allocations: 47.94 kB / 406.5 MB, free: 7.688 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.348e-06/0.1095, allocations: 4 kB / 406.5 MB, free: 7.684 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003031/0.1099, allocations: 75.92 kB / 406.6 MB, free: 7.609 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.859e-05/0.1099, allocations: 8 kB / 406.6 MB, free: 7.602 MB / 302.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: 22 ($whenCondition2,$whenCondition1,$whenCondition3,$whenCondition4,$whenCondition5,$whenCondition6,$whenCondition7,$whenCondition8,$PRE.limiterWithLag.state,limiterWithLag.state,$PRE.limiterWithLag.saturationLimitReached,limiterWithLag.saturationLimitReached,$PRE.limiterWithLag.satON,limiterWithLag.satON,$PRE.LfSignal.T_start,LfSignal.T_start,$PRE.LfSignal.count,LfSignal.count,$PRE.HfSignal.T_start,HfSignal.T_start,$PRE.HfSignal.count,HfSignal.count) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (18): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 3 * 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.0002022/0.1101, allocations: 258 kB / 406.9 MB, free: 7.336 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.118e-05/0.1101, allocations: 19.81 kB / 406.9 MB, free: 7.316 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.741e-05/0.1102, allocations: 21.86 kB / 406.9 MB, free: 7.293 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.253e-06/0.1102, allocations: 11.92 kB / 406.9 MB, free: 7.281 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.761e-06/0.1102, allocations: 0 / 406.9 MB, free: 7.281 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.146e-06/0.1102, allocations: 0 / 406.9 MB, free: 7.281 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002309/0.1104, allocations: 265.3 kB / 407.2 MB, free: 6.973 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.322e-06/0.1105, allocations: 0 / 407.2 MB, free: 6.973 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002039/0.1107, allocations: 51.95 kB / 407.2 MB, free: 6.922 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.883e-06/0.1107, allocations: 0 / 407.2 MB, free: 6.922 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.379e-05/0.1107, allocations: 4 kB / 407.2 MB, free: 6.918 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.322e-06/0.1107, allocations: 0 / 407.2 MB, free: 6.918 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.836e-06/0.1107, allocations: 3.984 kB / 407.2 MB, free: 6.914 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009834/0.1117, allocations: 0.4937 MB / 407.7 MB, free: 6.398 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.542e-05/0.1118, allocations: 88.92 kB / 407.8 MB, free: 6.293 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.616e-05/0.1118, allocations: 12 kB / 407.8 MB, free: 6.281 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003106/0.1121, allocations: 79.86 kB / 407.9 MB, free: 6.203 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001262/0.1123, allocations: 47.88 kB / 408 MB, free: 6.156 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.151e-05/0.1123, allocations: 4 kB / 408 MB, free: 6.152 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001071/0.1124, allocations: 135.2 kB / 408.1 MB, free: 6.02 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1124, allocations: 0 / 408.1 MB, free: 6.02 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0003254/0.1128, allocations: 84 kB / 408.2 MB, free: 5.938 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: 15 ($whenCondition2,$whenCondition1,$whenCondition3,$whenCondition4,$whenCondition5,$whenCondition6,$whenCondition7,$whenCondition8,limiterWithLag.state,limiterWithLag.saturationLimitReached,limiterWithLag.satON,LfSignal.T_start,LfSignal.count,HfSignal.T_start,HfSignal.count) * Number of discrete states: 11 (LfSignal.count,HfSignal.count,limiterWithLag.satON,$whenCondition8,$whenCondition7,$whenCondition6,$whenCondition5,$whenCondition4,limiterWithLag.saturationLimitReached,limiterWithLag.state,$whenCondition3) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 4 * 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.0001258/0.1129, allocations: 107.2 kB / 408.3 MB, free: 5.824 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001611/0.1145, allocations: 0.9452 MB / 409.2 MB, free: 4.805 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.245e-06/0.1145, allocations: 3.938 kB / 409.2 MB, free: 4.801 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005453/0.1151, allocations: 363.3 kB / 409.6 MB, free: 4.434 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003097/0.1154, allocations: 39.91 kB / 409.6 MB, free: 4.395 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007446/0.1162, allocations: 379.8 kB / 410 MB, free: 3.988 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002713/0.1164, allocations: 0.7168 MB / 410.7 MB, free: 3.246 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.49e-05/0.1165, allocations: 11.44 kB / 410.7 MB, free: 3.234 MB / 302.1 MB Notification: Performance of SimCode: time 3.21e-07/0.1165, allocations: 0 / 410.7 MB, free: 3.234 MB / 302.1 MB Notification: Performance of Templates: time 0.004442/0.121, allocations: 2.628 MB / 413.3 MB, free: 0.6172 MB / 302.1 MB make -j1 -f PowerGrids_PowerGrids.Controls.Test.TestLimiterWithLag.makefile make -j1 -f PowerGrids_PowerGrids.Controls.Test.TestLimiterWithLag.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.Controls.Test.TestLimiterWithLagCalcHelperMain.o OMCppPowerGrids_PowerGrids.Controls.Test.TestLimiterWithLagCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppPowerGrids_PowerGrids.Controls.Test.TestLimiterWithLagCalcHelperMain.o] Error 1