Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerGrids_PowerGrids.Controls.Test.TestLeadLagWithNonWindupLimiter.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.TestLeadLagWithNonWindupLimiter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="PowerGrids_PowerGrids.Controls.Test.TestLeadLagWithNonWindupLimiter") translateModel(PowerGrids.Controls.Test.TestLeadLagWithNonWindupLimiter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="PowerGrids_PowerGrids.Controls.Test.TestLeadLagWithNonWindupLimiter") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007622/0.0007621, 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.0009596/0.0009603, allocations: 172.9 kB / 16.58 MB, free: 6.863 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.52/1.52, allocations: 205.4 MB / 222.8 MB, free: 5.879 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.2/package.mo): time 0.05964/0.05964, allocations: 14.17 MB / 285.2 MB, free: 7.348 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.0004937/0.0004937, allocations: 12 kB / 348.8 MB, free: 17.91 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1002/0.1007, allocations: 51.12 MB / 399.9 MB, free: 14.75 MB / 302.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Controls.Test.TestLeadLagWithNonWindupLimiter): time 0.00218/0.1029, allocations: 1.744 MB / 401.7 MB, free: 13 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001244/0.1041, allocations: 0.8156 MB / 402.5 MB, free: 12.17 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001165/0.1043, allocations: 7.938 kB / 402.5 MB, free: 12.16 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001757/0.1045, allocations: 51.73 kB / 402.5 MB, free: 12.11 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001754/0.1046, allocations: 59.67 kB / 402.6 MB, free: 12.05 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004598/0.1051, allocations: 182.5 kB / 402.8 MB, free: 11.88 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002699/0.1054, allocations: 263.3 kB / 403 MB, free: 11.62 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001596/0.1056, allocations: 78.12 kB / 403.1 MB, free: 11.55 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001096/0.1057, allocations: 99.55 kB / 403.2 MB, free: 11.45 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001633/0.1058, allocations: 111.4 kB / 403.3 MB, free: 11.34 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 2.697e-05/0.1059, allocations: 12 kB / 403.3 MB, free: 11.33 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001274/0.106, allocations: 75.92 kB / 403.4 MB, free: 11.25 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 6.146e-05/0.1061, allocations: 43.78 kB / 403.5 MB, free: 11.21 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 6.42e-05/0.1062, allocations: 65.58 kB / 403.5 MB, free: 11.14 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000248/0.1064, allocations: 243.4 kB / 403.8 MB, free: 10.9 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.827e-06/0.1064, allocations: 0 / 403.8 MB, free: 10.9 MB / 302.1 MB Notification: Performance of FrontEnd: time 3.436e-06/0.1064, allocations: 4 kB / 403.8 MB, free: 10.9 MB / 302.1 MB Notification: Performance of Transformations before backend: time 4.91e-06/0.1064, allocations: 0 / 403.8 MB, free: 10.9 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: 48 * Number of variables: 48 Notification: Performance of Generate backend data structure: time 0.0007612/0.1072, allocations: 0.5858 MB / 404.3 MB, free: 10.26 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.606e-05/0.1073, allocations: 12.02 kB / 404.4 MB, free: 10.25 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.604e-05/0.1073, allocations: 39.56 kB / 404.4 MB, free: 10.21 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003544/0.1077, allocations: 306.3 kB / 404.7 MB, free: 9.867 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.019e-05/0.1077, allocations: 19.95 kB / 404.7 MB, free: 9.848 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.136e-05/0.1078, allocations: 24 kB / 404.7 MB, free: 9.824 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004848/0.1083, allocations: 296 kB / 405 MB, free: 9.5 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.748e-06/0.1083, allocations: 0 / 405 MB, free: 9.5 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.527e-05/0.1083, allocations: 15.98 kB / 405 MB, free: 9.484 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.544e-06/0.1083, allocations: 4 kB / 405 MB, free: 9.48 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004263/0.1087, allocations: 204.5 kB / 405.2 MB, free: 9.281 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001113/0.1099, allocations: 0.9983 MB / 406.2 MB, free: 8.215 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006111/0.1105, allocations: 285 kB / 406.5 MB, free: 7.918 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002605/0.1108, allocations: 137.7 kB / 406.7 MB, free: 7.777 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.108e-05/0.1108, allocations: 7.984 kB / 406.7 MB, free: 7.77 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003836/0.1112, allocations: 219.2 kB / 406.9 MB, free: 7.531 MB / 302.1 MB Notification: Performance of pre-optimization done (n=22): time 1.292e-06/0.1112, allocations: 0 / 406.9 MB, free: 7.531 MB / 302.1 MB Notification: Performance of matching and sorting (n=22): time 0.0008783/0.1121, allocations: 441.9 kB / 407.3 MB, free: 7.09 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.022e-05/0.1122, allocations: 170.2 kB / 407.5 MB, free: 6.887 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002474/0.1124, allocations: 270.9 kB / 407.7 MB, free: 6.609 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.425e-05/0.1125, allocations: 29.7 kB / 407.8 MB, free: 6.574 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001065/0.1126, allocations: 164.4 kB / 407.9 MB, free: 6.41 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.573e-05/0.1127, allocations: 74.92 kB / 408 MB, free: 6.336 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.59e-05/0.1127, allocations: 8 kB / 408 MB, free: 6.328 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001264/0.1128, allocations: 350.7 kB / 408.4 MB, free: 5.977 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002148/0.113, allocations: 99.94 kB / 408.4 MB, free: 5.879 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002785/0.1133, allocations: 195.2 kB / 408.6 MB, free: 5.652 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002553/0.1136, allocations: 145.7 kB / 408.8 MB, free: 5.504 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.234e-06/0.1136, allocations: 0 / 408.8 MB, free: 5.504 MB / 302.1 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.001167/0.1148, allocations: 0.5939 MB / 409.4 MB, free: 4.891 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.585e-05/0.1149, allocations: 171 kB / 409.5 MB, free: 4.695 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.091e-06/0.1149, allocations: 0 / 409.5 MB, free: 4.695 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004223/0.1153, allocations: 141.6 kB / 409.7 MB, free: 4.551 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000137/0.1155, allocations: 27.98 kB / 409.7 MB, free: 4.523 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003829/0.1193, allocations: 3.601 MB / 413.3 MB, free: 0.6523 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001898/0.1195, allocations: 39.73 kB / 413.3 MB, free: 0.6133 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.641e-05/0.1195, allocations: 15.98 kB / 413.4 MB, free: 0.5977 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.055e-06/0.1196, allocations: 4 kB / 413.4 MB, free: 0.5938 MB / 302.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0005896/0.1201, allocations: 358.9 kB / 413.7 MB, free: 236 kB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.865e-06/0.1202, allocations: 0 / 413.7 MB, free: 236 kB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001575/0.1203, allocations: 73.81 kB / 413.8 MB, free: 156 kB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001343/0.1205, allocations: 36.12 kB / 413.8 MB, free: 120 kB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002294/0.1228, allocations: 2.993 MB / 416.8 MB, free: 12.86 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001548/0.123, allocations: 27.94 kB / 416.8 MB, free: 12.83 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.638e-05/0.123, allocations: 15.98 kB / 416.9 MB, free: 12.81 MB / 318.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 9 ($whenCondition1,inputSignal.a,inputSignal.b,inputSignal.last,$PRE.inputSignal.nextEvent,inputSignal.nextEvent,inputSignal.nextEventScaled,leadLagNegativeGain.integ_fb.local_reset,leadLagPositiveGain.integ_fb.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (16): * Single equations (assignments): 13 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 4,1 4} Notification: Performance of prepare postOptimizeDAE: time 0.0002451/0.1232, allocations: 262.8 kB / 417.1 MB, free: 12.54 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.597e-05/0.1233, allocations: 35.58 kB / 417.2 MB, free: 12.5 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.408e-05/0.1234, allocations: 30.17 kB / 417.2 MB, free: 12.48 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.773e-06/0.1234, allocations: 0 / 417.2 MB, free: 12.48 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.384e-06/0.1234, allocations: 0 / 417.2 MB, free: 12.48 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.3e-06/0.1234, allocations: 8 kB / 417.2 MB, free: 12.47 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003156/0.1237, allocations: 329.3 kB / 417.5 MB, free: 12.1 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.174e-06/0.1237, allocations: 0 / 417.5 MB, free: 12.1 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002124/0.1239, allocations: 47.86 kB / 417.6 MB, free: 12.05 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.483e-06/0.1239, allocations: 11.92 kB / 417.6 MB, free: 12.04 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.412e-05/0.124, allocations: 8 kB / 417.6 MB, free: 12.04 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.713e-06/0.124, allocations: 3.938 kB / 417.6 MB, free: 12.03 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.001e-06/0.124, allocations: 0 / 417.6 MB, free: 12.03 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008842/0.1249, allocations: 0.5308 MB / 418.1 MB, free: 11.47 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.327e-05/0.125, allocations: 96.95 kB / 418.2 MB, free: 11.36 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.202e-05/0.125, allocations: 19.88 kB / 418.2 MB, free: 11.34 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001584/0.1252, allocations: 28.03 kB / 418.3 MB, free: 11.31 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.621e-05/0.1252, allocations: 11.98 kB / 418.3 MB, free: 11.3 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.403e-05/0.1253, allocations: 12 kB / 418.3 MB, free: 11.29 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0001872/0.1255, allocations: 194 kB / 418.5 MB, free: 11.1 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.1255, allocations: 0 / 418.5 MB, free: 11.1 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.000593/0.1261, allocations: 123.7 kB / 418.6 MB, free: 10.98 MB / 318.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 2 (leadLagPositiveGain.integ_fb.y,leadLagNegativeGain.integ_fb.y) * Number of discrete variables: 6 ($whenCondition1,inputSignal.a,inputSignal.b,inputSignal.last,inputSignal.nextEvent,inputSignal.nextEventScaled) * Number of discrete states: 6 (inputSignal.nextEvent,inputSignal.last,inputSignal.nextEventScaled,inputSignal.b,inputSignal.a,$whenCondition1) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (17): * Single equations (assignments): 16 * 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.0001919/0.1263, allocations: 127.1 kB / 418.7 MB, free: 10.85 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.001558/0.1278, allocations: 1.138 MB / 419.8 MB, free: 9.633 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 5.07e-06/0.1278, allocations: 4 kB / 419.9 MB, free: 9.629 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002957/0.1282, allocations: 219.4 kB / 420.1 MB, free: 9.406 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003432/0.1285, allocations: 49.58 kB / 420.1 MB, free: 9.355 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001385/0.1299, allocations: 0.8056 MB / 420.9 MB, free: 8.52 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003229/0.1302, allocations: 0.7717 MB / 421.7 MB, free: 7.723 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.621e-05/0.1303, allocations: 19.44 kB / 421.7 MB, free: 7.703 MB / 318.1 MB Notification: Performance of SimCode: time 2.91e-07/0.1303, allocations: 0 / 421.7 MB, free: 7.703 MB / 318.1 MB Notification: Performance of Templates: time 0.007081/0.1374, allocations: 4.826 MB / 426.5 MB, free: 2.871 MB / 318.1 MB make -j1 -f PowerGrids_PowerGrids.Controls.Test.TestLeadLagWithNonWindupLimiter.makefile make -j1 -f PowerGrids_PowerGrids.Controls.Test.TestLeadLagWithNonWindupLimiter.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.TestLeadLagWithNonWindupLimiterCalcHelperMain.o OMCppPowerGrids_PowerGrids.Controls.Test.TestLeadLagWithNonWindupLimiterCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppPowerGrids_PowerGrids.Controls.Test.TestLeadLagWithNonWindupLimiterCalcHelperMain.o] Error 1