Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerGrids_dev_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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 2.0.0-develop/package.mo", uses=false) Using package PowerGrids with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 2.0.0-develop/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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_dev_PowerGrids.Controls.Test.TestLeadLagWithNonWindupLimiter") translateModel(PowerGrids.Controls.Test.TestLeadLagWithNonWindupLimiter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="PowerGrids_dev_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.001159/0.001159, allocations: 103 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.001662/0.001662, allocations: 175 kB / 16.58 MB, free: 6.074 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.651/1.651, allocations: 223.2 MB / 240.6 MB, free: 5.281 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 2.0.0-develop/package.mo): time 0.2118/0.2118, allocations: 14.23 MB / 305.9 MB, free: 1.047 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000355/0.0003552, allocations: 8 kB / 372.4 MB, free: 4.652 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4053/0.4057, allocations: 53.9 MB / 426.3 MB, free: 38.86 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Controls.Test.TestLeadLagWithNonWindupLimiter): time 0.002119/0.4079, allocations: 1.74 MB / 428 MB, free: 38.78 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001165/0.409, allocations: 0.7668 MB / 428.8 MB, free: 38.7 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000127/0.4092, allocations: 8.531 kB / 428.8 MB, free: 38.69 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001836/0.4094, allocations: 45.45 kB / 428.8 MB, free: 38.68 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001818/0.4096, allocations: 68.23 kB / 428.9 MB, free: 38.66 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004446/0.41, allocations: 175.8 kB / 429.1 MB, free: 38.65 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002483/0.4103, allocations: 265.2 kB / 429.3 MB, free: 38.62 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001751/0.4104, allocations: 89.95 kB / 429.4 MB, free: 38.61 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.582e-05/0.4105, allocations: 89.34 kB / 429.5 MB, free: 38.59 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001633/0.4107, allocations: 112.9 kB / 429.6 MB, free: 38.56 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.787e-05/0.4108, allocations: 11.31 kB / 429.6 MB, free: 38.56 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001474/0.4109, allocations: 73.89 kB / 429.7 MB, free: 38.56 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.237e-05/0.411, allocations: 43.11 kB / 429.7 MB, free: 38.55 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.548e-05/0.411, allocations: 71.58 kB / 429.8 MB, free: 38.5 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002206/0.4113, allocations: 242.9 kB / 430 MB, free: 38.48 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.21e-06/0.4113, allocations: 0.6562 kB / 430 MB, free: 38.48 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.164e-06/0.4113, allocations: 0.9375 kB / 430 MB, free: 38.48 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.892e-06/0.4113, allocations: 0 / 430 MB, free: 38.48 MB / 350.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.0007122/0.412, allocations: 0.5845 MB / 430.6 MB, free: 38.01 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.952e-05/0.4121, allocations: 11.12 kB / 430.6 MB, free: 38.01 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.66e-05/0.4121, allocations: 35.58 kB / 430.7 MB, free: 37.99 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003173/0.4125, allocations: 299.2 kB / 431 MB, free: 37.77 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.886e-05/0.4125, allocations: 16.75 kB / 431 MB, free: 37.77 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.193e-05/0.4125, allocations: 21.78 kB / 431 MB, free: 37.77 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004648/0.413, allocations: 296.5 kB / 431.3 MB, free: 37.66 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.147e-05/0.413, allocations: 2.875 kB / 431.3 MB, free: 37.66 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.513e-05/0.4131, allocations: 10.03 kB / 431.3 MB, free: 37.66 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.907e-06/0.4131, allocations: 2.938 kB / 431.3 MB, free: 37.66 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004215/0.4135, allocations: 207.7 kB / 431.5 MB, free: 37.65 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001036/0.4145, allocations: 0.9922 MB / 432.5 MB, free: 37 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006136/0.4152, allocations: 294.2 kB / 432.8 MB, free: 36.94 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002261/0.4154, allocations: 144.6 kB / 432.9 MB, free: 36.92 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.743e-05/0.4154, allocations: 6.922 kB / 432.9 MB, free: 36.92 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003654/0.4158, allocations: 215.6 kB / 433.1 MB, free: 36.82 MB / 350.1 MB Notification: Performance of pre-optimization done (n=22): time 1.302e-06/0.4158, allocations: 0 / 433.1 MB, free: 36.82 MB / 350.1 MB Notification: Performance of matching and sorting (n=22): time 0.0008097/0.4166, allocations: 445.1 kB / 433.6 MB, free: 36.73 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.758e-05/0.4167, allocations: 166.9 kB / 433.7 MB, free: 36.54 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002363/0.417, allocations: 264 kB / 434 MB, free: 36.43 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.27e-05/0.417, allocations: 31.08 kB / 434 MB, free: 36.4 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.188e-05/0.4171, allocations: 169.1 kB / 434.2 MB, free: 36.29 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.095e-05/0.4171, allocations: 69.39 kB / 434.3 MB, free: 36.25 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.315e-05/0.4172, allocations: 7.375 kB / 434.3 MB, free: 36.24 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 8.07e-05/0.4172, allocations: 335.6 kB / 434.6 MB, free: 35.93 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002038/0.4175, allocations: 101.2 kB / 434.7 MB, free: 35.93 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000244/0.4177, allocations: 195.7 kB / 434.9 MB, free: 35.83 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002418/0.418, allocations: 147.1 kB / 435 MB, free: 35.79 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.234e-06/0.418, allocations: 0 / 435 MB, free: 35.79 MB / 350.1 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.001203/0.4192, allocations: 0.5993 MB / 435.6 MB, free: 35.66 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.865e-05/0.4193, allocations: 160.2 kB / 435.8 MB, free: 35.5 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.702e-06/0.4193, allocations: 0 / 435.8 MB, free: 35.5 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004375/0.4197, allocations: 150 kB / 435.9 MB, free: 35.48 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001408/0.4199, allocations: 31.58 kB / 436 MB, free: 35.47 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003353/0.4232, allocations: 3.61 MB / 439.6 MB, free: 32.49 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002069/0.4235, allocations: 35.69 kB / 439.6 MB, free: 32.48 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.481e-05/0.4235, allocations: 16.23 kB / 439.6 MB, free: 32.47 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.625e-06/0.4235, allocations: 3 kB / 439.6 MB, free: 32.47 MB / 350.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0005183/0.424, allocations: 358 kB / 440 MB, free: 32.32 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.507e-06/0.424, allocations: 2.906 kB / 440 MB, free: 32.32 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001426/0.4242, allocations: 82.12 kB / 440.1 MB, free: 32.28 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001266/0.4243, allocations: 31.28 kB / 440.1 MB, free: 32.27 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001525/0.4259, allocations: 3.002 MB / 443.1 MB, free: 29.35 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001556/0.426, allocations: 29.45 kB / 443.1 MB, free: 29.33 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.72e-05/0.4261, allocations: 12.7 kB / 443.1 MB, free: 29.33 MB / 350.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.0002047/0.4263, allocations: 258.8 kB / 443.4 MB, free: 29.09 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.373e-05/0.4263, allocations: 31.62 kB / 443.4 MB, free: 29.08 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.714e-05/0.4264, allocations: 28.05 kB / 443.5 MB, free: 29.06 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.637e-06/0.4264, allocations: 11.17 kB / 443.5 MB, free: 29.05 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.518e-06/0.4264, allocations: 3.234 kB / 443.5 MB, free: 29.05 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.29e-06/0.4264, allocations: 3.953 kB / 443.5 MB, free: 29.05 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002911/0.4267, allocations: 335.3 kB / 443.8 MB, free: 28.79 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.154e-06/0.4267, allocations: 0 / 443.8 MB, free: 28.79 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002256/0.427, allocations: 44.02 kB / 443.8 MB, free: 28.79 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.825e-06/0.427, allocations: 4 kB / 443.8 MB, free: 28.79 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.153e-05/0.427, allocations: 11.28 kB / 443.9 MB, free: 28.78 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.078e-06/0.427, allocations: 6.469 kB / 443.9 MB, free: 28.78 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.493e-06/0.427, allocations: 0 / 443.9 MB, free: 28.78 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008062/0.4278, allocations: 0.5306 MB / 444.4 MB, free: 28.54 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.852e-05/0.4279, allocations: 102.2 kB / 444.5 MB, free: 28.43 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.816e-05/0.4279, allocations: 7.031 kB / 444.5 MB, free: 28.43 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001585/0.4281, allocations: 25.44 kB / 444.5 MB, free: 28.42 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.039e-05/0.4282, allocations: 16.73 kB / 444.5 MB, free: 28.42 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.287e-05/0.4282, allocations: 6.5 kB / 444.5 MB, free: 28.42 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001843/0.4284, allocations: 195.7 kB / 444.7 MB, free: 28.31 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4284, allocations: 0 / 444.7 MB, free: 28.31 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.000663/0.4291, allocations: 131.8 kB / 444.9 MB, free: 28.28 MB / 350.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.0002317/0.4293, allocations: 128.5 kB / 445 MB, free: 28.18 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001699/0.431, allocations: 1.129 MB / 446.1 MB, free: 27.43 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.046e-06/0.431, allocations: 384 / 446.1 MB, free: 27.43 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002795/0.4313, allocations: 220.9 kB / 446.3 MB, free: 27.31 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003804/0.4317, allocations: 51.17 kB / 446.4 MB, free: 27.3 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001377/0.4331, allocations: 0.8042 MB / 447.2 MB, free: 26.86 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000223/0.4333, allocations: 0.7738 MB / 448 MB, free: 26.16 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.63e-05/0.4334, allocations: 23.44 kB / 448 MB, free: 26.14 MB / 350.1 MB Notification: Performance of SimCode: time 7.71e-07/0.4334, allocations: 3.062 kB / 448 MB, free: 26.14 MB / 350.1 MB Notification: Performance of Templates: time 0.00684/0.4402, allocations: 4.764 MB / 452.8 MB, free: 25.68 MB / 350.1 MB make -j1 -f PowerGrids_dev_PowerGrids.Controls.Test.TestLeadLagWithNonWindupLimiter.makefile make -j1 -f PowerGrids_dev_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_dev_PowerGrids.Controls.Test.TestLeadLagWithNonWindupLimiterCalcHelperMain.o OMCppPowerGrids_dev_PowerGrids.Controls.Test.TestLeadLagWithNonWindupLimiterCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppPowerGrids_dev_PowerGrids.Controls.Test.TestLeadLagWithNonWindupLimiterCalcHelperMain.o] Error 1