Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerGrids_symb_jac_PowerGrids.Controls.Test.TestIntegratorWithNonWindupLimiter.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.TestIntegratorWithNonWindupLimiter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=480,variableFilter="",fileNamePrefix="PowerGrids_symb_jac_PowerGrids.Controls.Test.TestIntegratorWithNonWindupLimiter") translateModel(PowerGrids.Controls.Test.TestIntegratorWithNonWindupLimiter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=480,variableFilter="",fileNamePrefix="PowerGrids_symb_jac_PowerGrids.Controls.Test.TestIntegratorWithNonWindupLimiter") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000815/0.0008152, allocations: 95.3 kB / 16.34 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.0009754/0.0009756, allocations: 189.4 kB / 17.23 MB, free: 5.879 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.459/1.459, allocations: 205.4 MB / 223.4 MB, free: 5.234 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.2/package.mo): time 0.05715/0.05715, allocations: 14.18 MB / 285.8 MB, free: 6.973 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.000549/0.000549, allocations: 12 kB / 349.5 MB, free: 17.84 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1078/0.1083, allocations: 51.11 MB / 400.6 MB, free: 14.68 MB / 302.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Controls.Test.TestIntegratorWithNonWindupLimiter): time 0.00226/0.1107, allocations: 1.538 MB / 402.1 MB, free: 13.13 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001234/0.1119, allocations: 0.7572 MB / 402.9 MB, free: 12.36 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001052/0.112, allocations: 7.938 kB / 402.9 MB, free: 12.36 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001806/0.1122, allocations: 39.83 kB / 402.9 MB, free: 12.32 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 9.872e-05/0.1123, allocations: 55.73 kB / 403 MB, free: 12.26 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005116/0.1129, allocations: 171 kB / 403.1 MB, free: 12.1 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002436/0.1131, allocations: 211.4 kB / 403.3 MB, free: 11.89 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001068/0.1132, allocations: 36.17 kB / 403.4 MB, free: 11.86 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001171/0.1133, allocations: 87.61 kB / 403.5 MB, free: 11.77 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001622/0.1135, allocations: 99.58 kB / 403.6 MB, free: 11.68 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 2.859e-05/0.1136, allocations: 8 kB / 403.6 MB, free: 11.67 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001262/0.1137, allocations: 79.92 kB / 403.6 MB, free: 11.59 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 5.832e-05/0.1138, allocations: 35.84 kB / 403.7 MB, free: 11.55 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 6.441e-05/0.1138, allocations: 57.58 kB / 403.7 MB, free: 11.49 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002082/0.114, allocations: 183.6 kB / 403.9 MB, free: 11.31 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.771e-06/0.1141, allocations: 0 / 403.9 MB, free: 11.31 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.415e-06/0.1141, allocations: 0 / 403.9 MB, free: 11.31 MB / 302.1 MB Notification: Performance of Transformations before backend: time 4.458e-06/0.1141, allocations: 0 / 403.9 MB, free: 11.31 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: 28 * Number of variables: 28 Notification: Performance of Generate backend data structure: time 0.0008021/0.1149, allocations: 0.5508 MB / 404.5 MB, free: 10.71 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.575e-05/0.1149, allocations: 8.031 kB / 404.5 MB, free: 10.7 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.736e-05/0.115, allocations: 27.72 kB / 404.5 MB, free: 10.67 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003231/0.1153, allocations: 289.5 kB / 404.8 MB, free: 10.34 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.076e-05/0.1153, allocations: 11.95 kB / 404.8 MB, free: 10.33 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.259e-05/0.1154, allocations: 15.94 kB / 404.8 MB, free: 10.32 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005634/0.116, allocations: 281 kB / 405.1 MB, free: 10.01 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.388e-06/0.116, allocations: 0 / 405.1 MB, free: 10.01 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.241e-05/0.116, allocations: 8 kB / 405.1 MB, free: 10 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.39e-06/0.116, allocations: 0 / 405.1 MB, free: 10 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006622/0.1167, allocations: 259.7 kB / 405.3 MB, free: 9.75 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001064/0.1178, allocations: 0.8922 MB / 406.2 MB, free: 8.789 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007967/0.1186, allocations: 325 kB / 406.6 MB, free: 8.453 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003438/0.1189, allocations: 157.7 kB / 406.7 MB, free: 8.293 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.766e-05/0.119, allocations: 4 kB / 406.7 MB, free: 8.289 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000517/0.1195, allocations: 246.7 kB / 407 MB, free: 8.023 MB / 302.1 MB Notification: Performance of pre-optimization done (n=16): time 1.332e-06/0.1195, allocations: 0 / 407 MB, free: 8.023 MB / 302.1 MB Notification: Performance of matching and sorting (n=16): time 0.001221/0.1207, allocations: 0.5145 MB / 407.5 MB, free: 7.496 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.77e-05/0.1208, allocations: 166.1 kB / 407.6 MB, free: 7.297 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002231/0.1211, allocations: 241 kB / 407.9 MB, free: 7.051 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.352e-05/0.1211, allocations: 25.7 kB / 407.9 MB, free: 7.02 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001034/0.1212, allocations: 148.2 kB / 408 MB, free: 6.871 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.437e-05/0.1212, allocations: 47.34 kB / 408.1 MB, free: 6.824 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.291e-05/0.1213, allocations: 8 kB / 408.1 MB, free: 6.816 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001195/0.1214, allocations: 330.8 kB / 408.4 MB, free: 6.484 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003628/0.1218, allocations: 144.1 kB / 408.6 MB, free: 6.344 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003806/0.1221, allocations: 206.5 kB / 408.8 MB, free: 6.117 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000352/0.1225, allocations: 173.6 kB / 408.9 MB, free: 5.941 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.987e-06/0.1225, allocations: 3.953 kB / 408.9 MB, free: 5.938 MB / 302.1 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0008404/0.1234, allocations: 434.7 kB / 409.4 MB, free: 5.5 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.95e-05/0.1235, allocations: 165.3 kB / 409.5 MB, free: 5.312 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.542e-06/0.1235, allocations: 0 / 409.5 MB, free: 5.312 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.499e-05/0.1235, allocations: 4 kB / 409.5 MB, free: 5.309 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002775/0.1238, allocations: 67.94 kB / 409.6 MB, free: 5.242 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.014e-05/0.1238, allocations: 11.88 kB / 409.6 MB, free: 5.23 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002153/0.124, allocations: 55.81 kB / 409.6 MB, free: 5.176 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.055e-05/0.1241, allocations: 8 kB / 409.7 MB, free: 5.168 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.763e-06/0.1241, allocations: 4 kB / 409.7 MB, free: 5.164 MB / 302.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0004059/0.1245, allocations: 269.6 kB / 409.9 MB, free: 4.895 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.136e-06/0.1245, allocations: 3.953 kB / 409.9 MB, free: 4.891 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.808e-06/0.1245, allocations: 8.156 kB / 409.9 MB, free: 4.883 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001367/0.1247, allocations: 27.98 kB / 410 MB, free: 4.855 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.159e-06/0.1247, allocations: 7.922 kB / 410 MB, free: 4.848 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001085/0.1248, allocations: 23.84 kB / 410 MB, free: 4.824 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.281e-05/0.1248, allocations: 8 kB / 410 MB, free: 4.816 MB / 302.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,integrator2.I.local_reset,integrator1.I.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (18): * Single equations (assignments): 17 * 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.0001893/0.125, allocations: 252 kB / 410.2 MB, free: 4.555 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.653e-05/0.1251, allocations: 31.66 kB / 410.3 MB, free: 4.523 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.079e-05/0.1251, allocations: 25.8 kB / 410.3 MB, free: 4.496 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.269e-06/0.1251, allocations: 4 kB / 410.3 MB, free: 4.492 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.354e-06/0.1251, allocations: 3.984 kB / 410.3 MB, free: 4.488 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.018e-06/0.1252, allocations: 0 / 410.3 MB, free: 4.488 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000256/0.1254, allocations: 289.4 kB / 410.6 MB, free: 4.156 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.303e-06/0.1254, allocations: 0 / 410.6 MB, free: 4.156 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002728/0.1257, allocations: 63.89 kB / 410.7 MB, free: 4.094 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.627e-06/0.1257, allocations: 3.984 kB / 410.7 MB, free: 4.09 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.919e-05/0.1257, allocations: 4 kB / 410.7 MB, free: 4.086 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.758e-06/0.1258, allocations: 3.953 kB / 410.7 MB, free: 4.082 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.615e-06/0.1258, allocations: 4 kB / 410.7 MB, free: 4.078 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004997/0.1308, allocations: 3.103 MB / 413.8 MB, free: 0.8047 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.327e-05/0.1308, allocations: 92.95 kB / 413.9 MB, free: 0.6953 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.633e-05/0.1309, allocations: 8 kB / 413.9 MB, free: 0.6875 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001949/0.1311, allocations: 43.97 kB / 413.9 MB, free: 0.6445 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.138e-05/0.1312, allocations: 39.89 kB / 414 MB, free: 0.6055 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.504e-05/0.1312, allocations: 8 kB / 414 MB, free: 0.5977 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001459/0.1314, allocations: 176.5 kB / 414.1 MB, free: 436 kB / 302.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1314, allocations: 0 / 414.1 MB, free: 436 kB / 302.1 MB Notification: Performance of remove unused functions: time 0.0006099/0.132, allocations: 128 kB / 414.3 MB, free: 308 kB / 302.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 2 (integrator1.I.y,integrator2.I.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 (11): * Single equations (assignments): 10 * 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.0001923/0.1322, allocations: 127.2 kB / 414.4 MB, free: 172 kB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001059/0.1333, allocations: 0.569 MB / 415 MB, free: 15.57 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.475e-06/0.1333, allocations: 0 / 415 MB, free: 15.57 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004287/0.1337, allocations: 247.6 kB / 415.2 MB, free: 15.32 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003306/0.134, allocations: 44.5 kB / 415.2 MB, free: 15.28 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001121/0.1352, allocations: 0.7923 MB / 416 MB, free: 14.42 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002721/0.1355, allocations: 0.7404 MB / 416.8 MB, free: 13.65 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.126e-05/0.1355, allocations: 23.44 kB / 416.8 MB, free: 13.63 MB / 318.1 MB Notification: Performance of SimCode: time 2.1e-07/0.1355, allocations: 0 / 416.8 MB, free: 13.63 MB / 318.1 MB Notification: Performance of Templates: time 0.005081/0.1406, allocations: 3.319 MB / 420.1 MB, free: 10.31 MB / 318.1 MB make -j1 -f PowerGrids_symb_jac_PowerGrids.Controls.Test.TestIntegratorWithNonWindupLimiter.makefile make -j1 -f PowerGrids_symb_jac_PowerGrids.Controls.Test.TestIntegratorWithNonWindupLimiter.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_symb_jac_PowerGrids.Controls.Test.TestIntegratorWithNonWindupLimiterCalcHelperMain.o OMCppPowerGrids_symb_jac_PowerGrids.Controls.Test.TestIntegratorWithNonWindupLimiterCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppPowerGrids_symb_jac_PowerGrids.Controls.Test.TestIntegratorWithNonWindupLimiterCalcHelperMain.o] Error 1