Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerGrids_PowerGrids.Controls.Test.TestFirstOrderWithNonWindupLimiter.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.TestFirstOrderWithNonWindupLimiter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="PowerGrids_PowerGrids.Controls.Test.TestFirstOrderWithNonWindupLimiter") translateModel(PowerGrids.Controls.Test.TestFirstOrderWithNonWindupLimiter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="PowerGrids_PowerGrids.Controls.Test.TestFirstOrderWithNonWindupLimiter") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007764/0.0007763, allocations: 100.5 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.0008551/0.0008552, allocations: 178.1 kB / 16.58 MB, free: 6.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.536/1.536, allocations: 205.4 MB / 222.8 MB, free: 5.652 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.2/package.mo): time 0.05708/0.05708, allocations: 14.18 MB / 285.2 MB, free: 7.125 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.0004964/0.0004965, allocations: 15.98 kB / 348.8 MB, free: 17.88 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09848/0.09898, allocations: 51.12 MB / 399.9 MB, free: 14.72 MB / 302.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Controls.Test.TestFirstOrderWithNonWindupLimiter): time 0.002082/0.1011, allocations: 1.681 MB / 401.6 MB, free: 13.03 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001244/0.1024, allocations: 0.8156 MB / 402.4 MB, free: 12.2 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001212/0.1025, allocations: 4 kB / 402.4 MB, free: 12.2 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001843/0.1027, allocations: 51.73 kB / 402.5 MB, free: 12.15 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001712/0.1029, allocations: 55.67 kB / 402.5 MB, free: 12.09 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004642/0.1033, allocations: 179.6 kB / 402.7 MB, free: 11.92 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002762/0.1036, allocations: 259.2 kB / 403 MB, free: 11.67 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001521/0.1038, allocations: 64.64 kB / 403 MB, free: 11.61 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001141/0.1039, allocations: 95.59 kB / 403.1 MB, free: 11.52 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001774/0.1041, allocations: 123.4 kB / 403.2 MB, free: 11.39 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 3.193e-05/0.1041, allocations: 8 kB / 403.2 MB, free: 11.39 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001299/0.1043, allocations: 75.94 kB / 403.3 MB, free: 11.31 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 6.304e-05/0.1044, allocations: 39.78 kB / 403.4 MB, free: 11.27 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 6.593e-05/0.1044, allocations: 69.56 kB / 403.4 MB, free: 11.2 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002732/0.1047, allocations: 223.6 kB / 403.6 MB, free: 10.98 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.531e-06/0.1047, allocations: 0 / 403.6 MB, free: 10.98 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.433e-06/0.1047, allocations: 0 / 403.6 MB, free: 10.98 MB / 302.1 MB Notification: Performance of Transformations before backend: time 6.712e-06/0.1047, allocations: 0 / 403.6 MB, free: 10.98 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: 42 * Number of variables: 42 Notification: Performance of Generate backend data structure: time 0.0008147/0.1056, allocations: 0.5896 MB / 404.2 MB, free: 10.34 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.549e-05/0.1056, allocations: 8.031 kB / 404.2 MB, free: 10.33 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.532e-05/0.1057, allocations: 31.62 kB / 404.3 MB, free: 10.3 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003454/0.106, allocations: 298.4 kB / 404.6 MB, free: 9.965 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.129e-05/0.1061, allocations: 19.94 kB / 404.6 MB, free: 9.945 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.866e-05/0.1061, allocations: 16 kB / 404.6 MB, free: 9.93 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005879/0.1067, allocations: 313.3 kB / 404.9 MB, free: 9.594 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.044e-05/0.1067, allocations: 3.938 kB / 404.9 MB, free: 9.59 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.419e-05/0.1067, allocations: 8 kB / 404.9 MB, free: 9.582 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.04e-05/0.1068, allocations: 8 kB / 404.9 MB, free: 9.574 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005893/0.1074, allocations: 260.3 kB / 405.2 MB, free: 9.32 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001067/0.1084, allocations: 0.9943 MB / 406.2 MB, free: 8.258 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007501/0.1092, allocations: 333 kB / 406.5 MB, free: 7.914 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003258/0.1095, allocations: 173.7 kB / 406.7 MB, free: 7.738 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.568e-05/0.1096, allocations: 4 kB / 406.7 MB, free: 7.734 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004599/0.11, allocations: 251.2 kB / 406.9 MB, free: 7.465 MB / 302.1 MB Notification: Performance of pre-optimization done (n=22): time 1.313e-06/0.11, allocations: 0 / 406.9 MB, free: 7.465 MB / 302.1 MB Notification: Performance of matching and sorting (n=22): time 0.001158/0.1112, allocations: 0.525 MB / 407.4 MB, free: 6.934 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.098e-05/0.1113, allocations: 166.2 kB / 407.6 MB, free: 6.734 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000228/0.1115, allocations: 250.7 kB / 407.8 MB, free: 6.477 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.016e-05/0.1116, allocations: 33.7 kB / 407.9 MB, free: 6.438 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001136/0.1117, allocations: 168.2 kB / 408 MB, free: 6.27 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.056e-05/0.1118, allocations: 74.98 kB / 408.1 MB, free: 6.195 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.642e-05/0.1118, allocations: 8 kB / 408.1 MB, free: 6.188 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001232/0.1119, allocations: 346.9 kB / 408.5 MB, free: 5.84 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003192/0.1122, allocations: 135.9 kB / 408.6 MB, free: 5.707 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003653/0.1126, allocations: 217.4 kB / 408.8 MB, free: 5.465 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003243/0.113, allocations: 169.6 kB / 409 MB, free: 5.293 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.355e-06/0.113, allocations: 4 kB / 409 MB, free: 5.289 MB / 302.1 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.001701/0.1147, allocations: 0.7813 MB / 409.8 MB, free: 4.488 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.000113/0.1148, allocations: 163 kB / 409.9 MB, free: 4.301 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.186e-06/0.1148, allocations: 4 kB / 409.9 MB, free: 4.297 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000547/0.1154, allocations: 189.6 kB / 410.1 MB, free: 4.105 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001859/0.1156, allocations: 35.97 kB / 410.1 MB, free: 4.07 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00462/0.1202, allocations: 3.815 MB / 414 MB, free: 15.98 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002293/0.1204, allocations: 51.84 kB / 414 MB, free: 15.93 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.359e-05/0.1205, allocations: 12 kB / 414 MB, free: 15.92 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.983e-06/0.1205, allocations: 8.062 kB / 414 MB, free: 15.91 MB / 318.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0004782/0.121, allocations: 301.2 kB / 414.3 MB, free: 15.61 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.865e-06/0.121, allocations: 0 / 414.3 MB, free: 15.61 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.857e-06/0.121, allocations: 8 kB / 414.3 MB, free: 15.61 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002287/0.1212, allocations: 59.94 kB / 414.4 MB, free: 15.55 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.867e-06/0.1212, allocations: 8.094 kB / 414.4 MB, free: 15.54 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001338/0.1214, allocations: 27.75 kB / 414.4 MB, free: 15.51 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.889e-05/0.1214, allocations: 11.98 kB / 414.4 MB, free: 15.5 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,firstOrderNegativeGain.I.local_reset,firstOrderPositiveGain.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): 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: 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 3,1 3} Notification: Performance of prepare postOptimizeDAE: time 0.0002143/0.1216, allocations: 262.6 kB / 414.7 MB, free: 15.23 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.138e-05/0.1217, allocations: 27.67 kB / 414.7 MB, free: 15.2 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.893e-05/0.1217, allocations: 34.17 kB / 414.8 MB, free: 15.17 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.707e-06/0.1218, allocations: 4 kB / 414.8 MB, free: 15.16 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.326e-06/0.1218, allocations: 4 kB / 414.8 MB, free: 15.16 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.898e-06/0.1218, allocations: 0 / 414.8 MB, free: 15.16 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002979/0.1221, allocations: 333.2 kB / 415.1 MB, free: 14.79 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.272e-06/0.1221, allocations: 0 / 415.1 MB, free: 14.79 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002788/0.1224, allocations: 63.88 kB / 415.2 MB, free: 14.72 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.366e-06/0.1224, allocations: 11.95 kB / 415.2 MB, free: 14.71 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.801e-05/0.1224, allocations: 7.938 kB / 415.2 MB, free: 14.7 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.764e-06/0.1224, allocations: 7.938 kB / 415.2 MB, free: 14.7 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.312e-06/0.1224, allocations: 0 / 415.2 MB, free: 14.7 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001153/0.1236, allocations: 0.6168 MB / 415.8 MB, free: 14.05 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.436e-05/0.1237, allocations: 96.81 kB / 415.9 MB, free: 13.94 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.999e-05/0.1237, allocations: 11.95 kB / 415.9 MB, free: 13.93 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001859/0.1239, allocations: 35.97 kB / 415.9 MB, free: 13.89 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.853e-05/0.124, allocations: 43.94 kB / 416 MB, free: 13.85 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.351e-05/0.124, allocations: 7.984 kB / 416 MB, free: 13.84 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0001612/0.1242, allocations: 186 kB / 416.2 MB, free: 13.66 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1242, allocations: 0 / 416.2 MB, free: 13.66 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0004989/0.1247, allocations: 107.8 kB / 416.3 MB, free: 13.55 MB / 318.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 2 (firstOrderPositiveGain.I.y,firstOrderNegativeGain.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 (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.0001759/0.1249, allocations: 123.2 kB / 416.4 MB, free: 13.43 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.001541/0.1265, allocations: 0.9373 MB / 417.3 MB, free: 12.44 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.735e-06/0.1265, allocations: 0 / 417.3 MB, free: 12.44 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003863/0.1269, allocations: 255.6 kB / 417.6 MB, free: 12.18 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003345/0.1272, allocations: 59.38 kB / 417.6 MB, free: 12.12 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000966/0.1282, allocations: 0.6323 MB / 418.3 MB, free: 11.45 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003228/0.1285, allocations: 0.7597 MB / 419 MB, free: 10.66 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.56e-05/0.1286, allocations: 31.36 kB / 419.1 MB, free: 10.63 MB / 318.1 MB Notification: Performance of SimCode: time 2.21e-07/0.1286, allocations: 0 / 419.1 MB, free: 10.63 MB / 318.1 MB Notification: Performance of Templates: time 0.006415/0.135, allocations: 4.778 MB / 423.8 MB, free: 5.848 MB / 318.1 MB make -j1 -f PowerGrids_PowerGrids.Controls.Test.TestFirstOrderWithNonWindupLimiter.makefile make -j1 -f PowerGrids_PowerGrids.Controls.Test.TestFirstOrderWithNonWindupLimiter.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.TestFirstOrderWithNonWindupLimiterCalcHelperMain.o OMCppPowerGrids_PowerGrids.Controls.Test.TestFirstOrderWithNonWindupLimiterCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppPowerGrids_PowerGrids.Controls.Test.TestFirstOrderWithNonWindupLimiterCalcHelperMain.o] Error 1