Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerGrids_PowerGrids.Controls.Test.TestPIWithNonWindupLimiter.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.TestPIWithNonWindupLimiter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=480,variableFilter="",fileNamePrefix="PowerGrids_PowerGrids.Controls.Test.TestPIWithNonWindupLimiter") translateModel(PowerGrids.Controls.Test.TestPIWithNonWindupLimiter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=480,variableFilter="",fileNamePrefix="PowerGrids_PowerGrids.Controls.Test.TestPIWithNonWindupLimiter") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007942/0.0007943, allocations: 99.28 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.0008483/0.0008484, allocations: 174.8 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.515/1.515, allocations: 205.4 MB / 222.8 MB, free: 5.637 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.2/package.mo): time 0.05774/0.05774, allocations: 14.16 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.000508/0.000508, allocations: 12 kB / 348.8 MB, free: 17.88 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1015/0.102, allocations: 51.12 MB / 399.9 MB, free: 14.71 MB / 302.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Controls.Test.TestPIWithNonWindupLimiter): time 0.002421/0.1045, allocations: 1.794 MB / 401.7 MB, free: 12.91 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001375/0.1059, allocations: 0.8585 MB / 402.6 MB, free: 12.04 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001318/0.106, allocations: 11.94 kB / 402.6 MB, free: 12.03 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002346/0.1062, allocations: 55.67 kB / 402.6 MB, free: 11.97 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001253/0.1064, allocations: 71.61 kB / 402.7 MB, free: 11.9 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006052/0.107, allocations: 203.3 kB / 402.9 MB, free: 11.71 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003268/0.1073, allocations: 303.1 kB / 403.2 MB, free: 11.41 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002222/0.1076, allocations: 82.12 kB / 403.3 MB, free: 11.33 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001252/0.1077, allocations: 111.4 kB / 403.4 MB, free: 11.22 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001944/0.1079, allocations: 115.4 kB / 403.5 MB, free: 11.11 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 3.156e-05/0.1079, allocations: 8 kB / 403.5 MB, free: 11.1 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001374/0.1081, allocations: 79.86 kB / 403.6 MB, free: 11.02 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 6.882e-05/0.1082, allocations: 47.78 kB / 403.6 MB, free: 10.98 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 7.853e-05/0.1082, allocations: 65.52 kB / 403.7 MB, free: 10.91 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002769/0.1085, allocations: 255.4 kB / 404 MB, free: 10.66 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.528e-06/0.1085, allocations: 8 kB / 404 MB, free: 10.65 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.312e-06/0.1085, allocations: 0 / 404 MB, free: 10.65 MB / 302.1 MB Notification: Performance of Transformations before backend: time 5.39e-06/0.1086, allocations: 0 / 404 MB, free: 10.65 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: 46 * Number of variables: 46 Notification: Performance of Generate backend data structure: time 0.0008435/0.1094, allocations: 0.5973 MB / 404.6 MB, free: 9.996 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.913e-05/0.1095, allocations: 12.02 kB / 404.6 MB, free: 9.984 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.135e-05/0.1095, allocations: 39.53 kB / 404.6 MB, free: 9.945 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003876/0.1099, allocations: 322.2 kB / 404.9 MB, free: 9.59 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.307e-05/0.11, allocations: 16 kB / 404.9 MB, free: 9.574 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.179e-05/0.11, allocations: 20 kB / 405 MB, free: 9.555 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006147/0.1106, allocations: 300.4 kB / 405.3 MB, free: 9.23 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.677e-06/0.1106, allocations: 4 kB / 405.3 MB, free: 9.227 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.894e-05/0.1107, allocations: 8 kB / 405.3 MB, free: 9.219 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.656e-06/0.1107, allocations: 4 kB / 405.3 MB, free: 9.215 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005565/0.1113, allocations: 240.4 kB / 405.5 MB, free: 8.98 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001241/0.1125, allocations: 0.8523 MB / 406.4 MB, free: 8.066 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009722/0.1135, allocations: 367.8 kB / 406.7 MB, free: 7.68 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003135/0.1138, allocations: 158.6 kB / 406.9 MB, free: 7.516 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.174e-05/0.1139, allocations: 3.984 kB / 406.9 MB, free: 7.512 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004758/0.1143, allocations: 248 kB / 407.1 MB, free: 7.242 MB / 302.1 MB Notification: Performance of pre-optimization done (n=21): time 1.283e-06/0.1144, allocations: 0 / 407.1 MB, free: 7.242 MB / 302.1 MB Notification: Performance of matching and sorting (n=21): time 0.001074/0.1154, allocations: 499 kB / 407.6 MB, free: 6.742 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001193/0.1156, allocations: 217.5 kB / 407.8 MB, free: 6.48 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000281/0.1159, allocations: 275 kB / 408.1 MB, free: 6.199 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.058e-05/0.1159, allocations: 37.73 kB / 408.1 MB, free: 6.156 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001381/0.116, allocations: 180.2 kB / 408.3 MB, free: 5.977 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.46e-05/0.1161, allocations: 59.11 kB / 408.4 MB, free: 5.918 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.684e-05/0.1161, allocations: 8 kB / 408.4 MB, free: 5.91 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0002009/0.1163, allocations: 334.8 kB / 408.7 MB, free: 5.574 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002819/0.1166, allocations: 127.8 kB / 408.8 MB, free: 5.449 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003282/0.117, allocations: 188.7 kB / 409 MB, free: 5.238 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003089/0.1173, allocations: 158.3 kB / 409.2 MB, free: 5.078 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.375e-06/0.1173, allocations: 0 / 409.2 MB, free: 5.078 MB / 302.1 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0007469/0.118, allocations: 413 kB / 409.6 MB, free: 4.664 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.493e-05/0.1182, allocations: 149.1 kB / 409.7 MB, free: 4.496 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.002e-06/0.1182, allocations: 0 / 409.7 MB, free: 4.496 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.711e-05/0.1182, allocations: 8.062 kB / 409.7 MB, free: 4.488 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002202/0.1184, allocations: 51.91 kB / 409.8 MB, free: 4.438 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.777e-06/0.1184, allocations: 3.984 kB / 409.8 MB, free: 4.434 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002135/0.1187, allocations: 55.77 kB / 409.8 MB, free: 4.379 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.169e-05/0.1187, allocations: 15.92 kB / 409.8 MB, free: 4.363 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.87e-06/0.1187, allocations: 0 / 409.8 MB, free: 4.363 MB / 302.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0004707/0.1192, allocations: 273.6 kB / 410.1 MB, free: 4.09 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.837e-06/0.1192, allocations: 4 kB / 410.1 MB, free: 4.086 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.342e-06/0.1192, allocations: 3.984 kB / 410.1 MB, free: 4.082 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001329/0.1193, allocations: 36.08 kB / 410.1 MB, free: 4.047 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.937e-06/0.1193, allocations: 8 kB / 410.2 MB, free: 4.039 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001448/0.1195, allocations: 31.83 kB / 410.2 MB, free: 4.008 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.223e-05/0.1195, allocations: 4 kB / 410.2 MB, free: 4.004 MB / 302.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition1,inputSignal.a,inputSignal.b,inputSignal.last,$PRE.inputSignal.nextEvent,inputSignal.nextEvent,inputSignal.nextEventScaled) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (20): * Single equations (assignments): 19 * 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 0.0002243/0.1197, allocations: 269.9 kB / 410.5 MB, free: 3.727 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.889e-05/0.1198, allocations: 35.58 kB / 410.5 MB, free: 3.691 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.067e-05/0.1199, allocations: 30.3 kB / 410.5 MB, free: 3.66 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.467e-06/0.1199, allocations: 0 / 410.5 MB, free: 3.66 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.103e-06/0.1199, allocations: 8 kB / 410.5 MB, free: 3.652 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.54e-06/0.1199, allocations: 3.984 kB / 410.5 MB, free: 3.648 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003481/0.1203, allocations: 337.4 kB / 410.9 MB, free: 3.27 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.453e-06/0.1203, allocations: 0 / 410.9 MB, free: 3.27 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002135/0.1205, allocations: 51.91 kB / 410.9 MB, free: 3.219 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.017e-06/0.1205, allocations: 4 kB / 410.9 MB, free: 3.215 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.421e-05/0.1205, allocations: 8 kB / 410.9 MB, free: 3.207 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.693e-06/0.1206, allocations: 7.938 kB / 410.9 MB, free: 3.199 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.663e-06/0.1206, allocations: 0 / 410.9 MB, free: 3.199 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001118/0.1217, allocations: 0.5897 MB / 411.5 MB, free: 2.578 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.284e-05/0.1218, allocations: 104.7 kB / 411.6 MB, free: 2.457 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.968e-05/0.1218, allocations: 11.95 kB / 411.6 MB, free: 2.445 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001877/0.122, allocations: 36.03 kB / 411.7 MB, free: 2.41 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.427e-05/0.1221, allocations: 15.97 kB / 411.7 MB, free: 2.395 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.861e-05/0.1221, allocations: 12 kB / 411.7 MB, free: 2.383 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001989/0.1223, allocations: 205.9 kB / 411.9 MB, free: 2.18 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.1224, allocations: 0 / 411.9 MB, free: 2.18 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0004273/0.1228, allocations: 115.6 kB / 412 MB, free: 2.066 MB / 302.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 2 (PIController.firstOrder.y,PIControllerNegativeKp.firstOrder.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 (16): * Single equations (assignments): 15 * 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.0002171/0.123, allocations: 131.2 kB / 412.1 MB, free: 1.926 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001014/0.124, allocations: 0.5493 MB / 412.7 MB, free: 1.352 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.186e-06/0.1241, allocations: 384 / 412.7 MB, free: 1.352 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003646/0.1244, allocations: 231.2 kB / 412.9 MB, free: 1.113 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004129/0.1249, allocations: 64.56 kB / 413 MB, free: 1.051 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001187/0.1261, allocations: 0.7022 MB / 413.7 MB, free: 324 kB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003634/0.1264, allocations: 0.7715 MB / 414.4 MB, free: 15.52 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.937e-05/0.1265, allocations: 23.44 kB / 414.5 MB, free: 15.49 MB / 318.1 MB Notification: Performance of SimCode: time 1.072e-06/0.1265, allocations: 0 / 414.5 MB, free: 15.49 MB / 318.1 MB Notification: Performance of Templates: time 0.006356/0.1329, allocations: 3.883 MB / 418.4 MB, free: 11.61 MB / 318.1 MB make -j1 -f PowerGrids_PowerGrids.Controls.Test.TestPIWithNonWindupLimiter.makefile make -j1 -f PowerGrids_PowerGrids.Controls.Test.TestPIWithNonWindupLimiter.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.TestPIWithNonWindupLimiterCalcHelperMain.o OMCppPowerGrids_PowerGrids.Controls.Test.TestPIWithNonWindupLimiterCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppPowerGrids_PowerGrids.Controls.Test.TestPIWithNonWindupLimiterCalcHelperMain.o] Error 1