Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerGrids_dev_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 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.TestPIWithNonWindupLimiter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=480,variableFilter="",fileNamePrefix="PowerGrids_dev_PowerGrids.Controls.Test.TestPIWithNonWindupLimiter") translateModel(PowerGrids.Controls.Test.TestPIWithNonWindupLimiter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=480,variableFilter="",fileNamePrefix="PowerGrids_dev_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.001075/0.001075, allocations: 102.2 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.001522/0.001522, allocations: 172.4 kB / 16.58 MB, free: 6.402 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.625/1.625, allocations: 223.2 MB / 240.6 MB, free: 5.414 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 2.0.0-develop/package.mo): time 0.2613/0.2613, allocations: 14.23 MB / 305.9 MB, free: 1.102 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000491/0.0004915, allocations: 12 kB / 372.4 MB, free: 4.668 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4204/0.4209, allocations: 53.9 MB / 426.3 MB, free: 38.86 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Controls.Test.TestPIWithNonWindupLimiter): time 0.001985/0.4229, allocations: 1.781 MB / 428.1 MB, free: 38.77 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00116/0.4241, allocations: 0.8153 MB / 428.9 MB, free: 38.68 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001171/0.4242, allocations: 7.031 kB / 428.9 MB, free: 38.68 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002054/0.4244, allocations: 61.16 kB / 428.9 MB, free: 38.66 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001098/0.4245, allocations: 59.62 kB / 429 MB, free: 38.64 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000524/0.4251, allocations: 203.4 kB / 429.2 MB, free: 38.63 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002653/0.4253, allocations: 302.1 kB / 429.5 MB, free: 38.59 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001635/0.4255, allocations: 75.94 kB / 429.6 MB, free: 38.59 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001064/0.4256, allocations: 110.5 kB / 429.7 MB, free: 38.56 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001663/0.4258, allocations: 125.4 kB / 429.8 MB, free: 38.53 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.335e-05/0.4258, allocations: 10.38 kB / 429.8 MB, free: 38.53 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001161/0.426, allocations: 75.59 kB / 429.9 MB, free: 38.53 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.03e-05/0.426, allocations: 44.16 kB / 429.9 MB, free: 38.52 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.306e-05/0.4261, allocations: 67.55 kB / 430 MB, free: 38.47 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000212/0.4263, allocations: 249.2 kB / 430.2 MB, free: 38.45 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.152e-06/0.4263, allocations: 0 / 430.2 MB, free: 38.45 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.663e-06/0.4263, allocations: 0 / 430.2 MB, free: 38.45 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.152e-06/0.4263, allocations: 3 kB / 430.2 MB, free: 38.45 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: 46 * Number of variables: 46 Notification: Performance of Generate backend data structure: time 0.0007376/0.4271, allocations: 0.602 MB / 430.8 MB, free: 37.97 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.513e-05/0.4271, allocations: 10.75 kB / 430.8 MB, free: 37.97 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.586e-05/0.4272, allocations: 33.28 kB / 430.9 MB, free: 37.95 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003222/0.4275, allocations: 313.9 kB / 431.2 MB, free: 37.73 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.793e-05/0.4276, allocations: 16.03 kB / 431.2 MB, free: 37.72 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.809e-05/0.4276, allocations: 28.66 kB / 431.2 MB, free: 37.71 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005342/0.4281, allocations: 303.7 kB / 431.5 MB, free: 37.62 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.192e-05/0.4282, allocations: 0 / 431.5 MB, free: 37.62 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.662e-05/0.4282, allocations: 9.953 kB / 431.5 MB, free: 37.62 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.754e-06/0.4282, allocations: 5.625 kB / 431.5 MB, free: 37.62 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005281/0.4287, allocations: 241.2 kB / 431.8 MB, free: 37.61 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001238/0.43, allocations: 0.8522 MB / 432.6 MB, free: 37.18 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009011/0.4309, allocations: 365.5 kB / 433 MB, free: 37.09 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002938/0.4312, allocations: 162.4 kB / 433.1 MB, free: 37.06 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.893e-05/0.4312, allocations: 2.781 kB / 433.1 MB, free: 37.06 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004314/0.4317, allocations: 248.3 kB / 433.4 MB, free: 36.95 MB / 350.1 MB Notification: Performance of pre-optimization done (n=21): time 1.312e-06/0.4317, allocations: 0 / 433.4 MB, free: 36.95 MB / 350.1 MB Notification: Performance of matching and sorting (n=21): time 0.001028/0.4327, allocations: 0.4912 MB / 433.9 MB, free: 36.85 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.721e-05/0.4328, allocations: 215 kB / 434.1 MB, free: 36.6 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002215/0.433, allocations: 271.5 kB / 434.4 MB, free: 36.49 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.428e-05/0.4331, allocations: 31.7 kB / 434.4 MB, free: 36.46 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.555e-05/0.4332, allocations: 174.9 kB / 434.6 MB, free: 36.36 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.829e-05/0.4332, allocations: 63.7 kB / 434.6 MB, free: 36.32 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.292e-05/0.4332, allocations: 2.781 kB / 434.6 MB, free: 36.32 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 7.29e-05/0.4333, allocations: 336.3 kB / 435 MB, free: 36.01 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002583/0.4336, allocations: 126.1 kB / 435.1 MB, free: 36 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003219/0.4339, allocations: 195.9 kB / 435.3 MB, free: 35.92 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003038/0.4342, allocations: 154.3 kB / 435.4 MB, free: 35.88 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.805e-06/0.4342, allocations: 4 kB / 435.4 MB, free: 35.88 MB / 350.1 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0007338/0.435, allocations: 407.6 kB / 435.8 MB, free: 35.79 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.689e-05/0.4351, allocations: 152.7 kB / 436 MB, free: 35.63 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.472e-06/0.4351, allocations: 6.906 kB / 436 MB, free: 35.63 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.539e-05/0.4351, allocations: 3.188 kB / 436 MB, free: 35.63 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002065/0.4353, allocations: 50.44 kB / 436 MB, free: 35.63 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.676e-06/0.4353, allocations: 2.938 kB / 436 MB, free: 35.63 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002068/0.4355, allocations: 51.27 kB / 436.1 MB, free: 35.62 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.158e-05/0.4356, allocations: 10.78 kB / 436.1 MB, free: 35.61 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.74e-06/0.4356, allocations: 5.906 kB / 436.1 MB, free: 35.61 MB / 350.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0004558/0.436, allocations: 287 kB / 436.4 MB, free: 35.52 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.444e-06/0.4361, allocations: 2.031 kB / 436.4 MB, free: 35.52 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.027e-06/0.4361, allocations: 6.031 kB / 436.4 MB, free: 35.52 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001268/0.4362, allocations: 34.16 kB / 436.4 MB, free: 35.52 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.699e-06/0.4362, allocations: 2.875 kB / 436.4 MB, free: 35.52 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001387/0.4364, allocations: 35.77 kB / 436.5 MB, free: 35.5 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.354e-05/0.4364, allocations: 7.25 kB / 436.5 MB, free: 35.5 MB / 350.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.000167/0.4365, allocations: 258.2 kB / 436.7 MB, free: 35.26 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.19e-05/0.4366, allocations: 28.91 kB / 436.7 MB, free: 35.25 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.39e-05/0.4367, allocations: 33.62 kB / 436.8 MB, free: 35.23 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.51e-06/0.4367, allocations: 2.812 kB / 436.8 MB, free: 35.23 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.933e-06/0.4367, allocations: 0 / 436.8 MB, free: 35.23 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.408e-06/0.4367, allocations: 3.953 kB / 436.8 MB, free: 35.22 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000267/0.437, allocations: 341.9 kB / 437.1 MB, free: 34.97 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.703e-06/0.437, allocations: 0 / 437.1 MB, free: 34.97 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002144/0.4372, allocations: 54.58 kB / 437.2 MB, free: 34.96 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.465e-06/0.4372, allocations: 0 / 437.2 MB, free: 34.96 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.501e-05/0.4372, allocations: 9.562 kB / 437.2 MB, free: 34.96 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.665e-06/0.4372, allocations: 3.281 kB / 437.2 MB, free: 34.96 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.425e-06/0.4373, allocations: 2.656 kB / 437.2 MB, free: 34.96 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001019/0.4383, allocations: 0.5892 MB / 437.8 MB, free: 34.7 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.44e-05/0.4383, allocations: 104 kB / 437.9 MB, free: 34.59 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.689e-05/0.4384, allocations: 9.531 kB / 437.9 MB, free: 34.59 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001804/0.4386, allocations: 35.23 kB / 437.9 MB, free: 34.58 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.52e-05/0.4386, allocations: 15.52 kB / 437.9 MB, free: 34.58 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.393e-05/0.4387, allocations: 13.3 kB / 437.9 MB, free: 34.57 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001591/0.4388, allocations: 200.9 kB / 438.1 MB, free: 34.46 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4388, allocations: 0 / 438.1 MB, free: 34.46 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004242/0.4393, allocations: 118.7 kB / 438.3 MB, free: 34.43 MB / 350.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.0001769/0.4395, allocations: 129.8 kB / 438.4 MB, free: 34.34 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0008969/0.4404, allocations: 0.5676 MB / 439 MB, free: 34.06 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.595e-06/0.4404, allocations: 0 / 439 MB, free: 34.06 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003249/0.4407, allocations: 234.4 kB / 439.2 MB, free: 33.95 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004035/0.4411, allocations: 65.25 kB / 439.2 MB, free: 33.93 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001068/0.4422, allocations: 0.6912 MB / 439.9 MB, free: 33.5 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002038/0.4424, allocations: 0.7688 MB / 440.7 MB, free: 32.8 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.96e-05/0.4425, allocations: 23.77 kB / 440.7 MB, free: 32.79 MB / 350.1 MB Notification: Performance of SimCode: time 3.01e-07/0.4425, allocations: 0 / 440.7 MB, free: 32.79 MB / 350.1 MB Notification: Performance of Templates: time 0.005612/0.4481, allocations: 3.81 MB / 444.5 MB, free: 32.41 MB / 350.1 MB make -j1 -f PowerGrids_dev_PowerGrids.Controls.Test.TestPIWithNonWindupLimiter.makefile make -j1 -f PowerGrids_dev_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_dev_PowerGrids.Controls.Test.TestPIWithNonWindupLimiterCalcHelperMain.o OMCppPowerGrids_dev_PowerGrids.Controls.Test.TestPIWithNonWindupLimiterCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppPowerGrids_dev_PowerGrids.Controls.Test.TestPIWithNonWindupLimiterCalcHelperMain.o] Error 1