Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerGrids_dev_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 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.TestIntegratorWithNonWindupLimiter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=480,variableFilter="",fileNamePrefix="PowerGrids_dev_PowerGrids.Controls.Test.TestIntegratorWithNonWindupLimiter") translateModel(PowerGrids.Controls.Test.TestIntegratorWithNonWindupLimiter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=480,variableFilter="",fileNamePrefix="PowerGrids_dev_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.00161/0.00161, allocations: 100.1 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.00189/0.001891, allocations: 176.7 kB / 16.58 MB, free: 6.422 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.608/1.608, allocations: 223.3 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.2187/0.2187, allocations: 14.23 MB / 305.9 MB, free: 1.027 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003445/0.0003449, allocations: 12 kB / 372.4 MB, free: 4.703 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4115/0.4119, allocations: 53.9 MB / 426.3 MB, free: 38.95 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Controls.Test.TestIntegratorWithNonWindupLimiter): time 0.002121/0.4141, allocations: 1.522 MB / 427.8 MB, free: 38.89 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001181/0.4153, allocations: 0.728 MB / 428.5 MB, free: 38.8 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001092/0.4154, allocations: 7.531 kB / 428.5 MB, free: 38.8 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001863/0.4156, allocations: 43.38 kB / 428.6 MB, free: 38.79 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 9.878e-05/0.4157, allocations: 50.08 kB / 428.6 MB, free: 38.77 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005237/0.4162, allocations: 163 kB / 428.8 MB, free: 38.77 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000253/0.4165, allocations: 211.8 kB / 429 MB, free: 38.74 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001133/0.4166, allocations: 37.72 kB / 429 MB, free: 38.74 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001127/0.4167, allocations: 83.22 kB / 429.1 MB, free: 38.72 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001383/0.4169, allocations: 100.7 kB / 429.2 MB, free: 38.7 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.596e-05/0.4169, allocations: 6.094 kB / 429.2 MB, free: 38.7 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001205/0.417, allocations: 73.75 kB / 429.3 MB, free: 38.7 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.262e-05/0.4171, allocations: 38.48 kB / 429.3 MB, free: 38.7 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.551e-05/0.4172, allocations: 59.3 kB / 429.4 MB, free: 38.66 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001896/0.4174, allocations: 176.5 kB / 429.5 MB, free: 38.64 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.208e-06/0.4174, allocations: 1.344 kB / 429.5 MB, free: 38.64 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.493e-06/0.4174, allocations: 3.938 kB / 429.5 MB, free: 38.64 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.609e-06/0.4174, allocations: 0 / 429.5 MB, free: 38.64 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: 28 * Number of variables: 28 Notification: Performance of Generate backend data structure: time 0.0007197/0.4181, allocations: 0.5521 MB / 430.1 MB, free: 38.19 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.99e-05/0.4182, allocations: 15.03 kB / 430.1 MB, free: 38.18 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.526e-05/0.4182, allocations: 29.41 kB / 430.1 MB, free: 38.17 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002751/0.4185, allocations: 275.5 kB / 430.4 MB, free: 37.95 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.819e-05/0.4185, allocations: 11.02 kB / 430.4 MB, free: 37.95 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.493e-05/0.4186, allocations: 12.42 kB / 430.4 MB, free: 37.95 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005514/0.4191, allocations: 283.8 kB / 430.7 MB, free: 37.84 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.137e-06/0.4192, allocations: 0 / 430.7 MB, free: 37.84 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.246e-05/0.4192, allocations: 6.984 kB / 430.7 MB, free: 37.84 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.562e-06/0.4192, allocations: 2.969 kB / 430.7 MB, free: 37.84 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006272/0.4198, allocations: 253.8 kB / 431 MB, free: 37.82 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009137/0.4208, allocations: 0.8869 MB / 431.9 MB, free: 37.19 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007598/0.4215, allocations: 318 kB / 432.2 MB, free: 37.13 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003274/0.4219, allocations: 157.9 kB / 432.3 MB, free: 37.11 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.939e-05/0.4219, allocations: 9.672 kB / 432.3 MB, free: 37.11 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004895/0.4224, allocations: 242.8 kB / 432.6 MB, free: 37.01 MB / 350.1 MB Notification: Performance of pre-optimization done (n=16): time 2.164e-06/0.4224, allocations: 4.5 kB / 432.6 MB, free: 37.01 MB / 350.1 MB Notification: Performance of matching and sorting (n=16): time 0.001188/0.4236, allocations: 0.5185 MB / 433.1 MB, free: 36.91 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.227e-05/0.4237, allocations: 161.8 kB / 433.2 MB, free: 36.72 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002251/0.4239, allocations: 242.3 kB / 433.5 MB, free: 36.61 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.39e-05/0.4239, allocations: 30.48 kB / 433.5 MB, free: 36.58 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001082/0.4241, allocations: 142.5 kB / 433.7 MB, free: 36.48 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.805e-05/0.4241, allocations: 50.41 kB / 433.7 MB, free: 36.45 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.512e-05/0.4241, allocations: 9.469 kB / 433.7 MB, free: 36.45 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 8.245e-05/0.4242, allocations: 336.7 kB / 434 MB, free: 36.13 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003564/0.4246, allocations: 134.9 kB / 434.2 MB, free: 36.13 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004039/0.425, allocations: 201.1 kB / 434.4 MB, free: 36.06 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00038/0.4254, allocations: 173.4 kB / 434.5 MB, free: 36.02 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.368e-06/0.4254, allocations: 2.969 kB / 434.5 MB, free: 36.02 MB / 350.1 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0008565/0.4263, allocations: 434.2 kB / 435 MB, free: 35.93 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.727e-05/0.4264, allocations: 163.1 kB / 435.1 MB, free: 35.76 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.844e-06/0.4264, allocations: 2.844 kB / 435.1 MB, free: 35.76 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.094e-05/0.4264, allocations: 2.875 kB / 435.1 MB, free: 35.76 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000299/0.4267, allocations: 72.5 kB / 435.2 MB, free: 35.75 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.855e-06/0.4267, allocations: 3.938 kB / 435.2 MB, free: 35.75 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002173/0.427, allocations: 52.25 kB / 435.3 MB, free: 35.74 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.249e-05/0.427, allocations: 10.53 kB / 435.3 MB, free: 35.74 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.394e-06/0.427, allocations: 5.625 kB / 435.3 MB, free: 35.74 MB / 350.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.000396/0.4274, allocations: 259.6 kB / 435.5 MB, free: 35.7 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.709e-06/0.4274, allocations: 8.047 kB / 435.5 MB, free: 35.7 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.755e-06/0.4274, allocations: 0 / 435.5 MB, free: 35.7 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001385/0.4276, allocations: 36.44 kB / 435.6 MB, free: 35.7 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.627e-06/0.4276, allocations: 3.938 kB / 435.6 MB, free: 35.7 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001104/0.4277, allocations: 24.64 kB / 435.6 MB, free: 35.69 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.444e-05/0.4277, allocations: 6 kB / 435.6 MB, free: 35.69 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,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.0001844/0.4279, allocations: 266.4 kB / 435.9 MB, free: 35.46 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.854e-05/0.428, allocations: 24.16 kB / 435.9 MB, free: 35.45 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.707e-05/0.428, allocations: 28.42 kB / 435.9 MB, free: 35.44 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.939e-06/0.428, allocations: 0 / 435.9 MB, free: 35.44 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.875e-06/0.4281, allocations: 0 / 435.9 MB, free: 35.44 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.908e-06/0.4281, allocations: 4.141 kB / 435.9 MB, free: 35.44 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00026/0.4283, allocations: 300.2 kB / 436.2 MB, free: 35.24 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.946e-06/0.4283, allocations: 0 / 436.2 MB, free: 35.24 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00026/0.4286, allocations: 65.06 kB / 436.3 MB, free: 35.23 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.475e-06/0.4286, allocations: 0 / 436.3 MB, free: 35.23 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.397e-05/0.4286, allocations: 8.438 kB / 436.3 MB, free: 35.23 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.825e-06/0.4287, allocations: 3 kB / 436.3 MB, free: 35.23 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.054e-06/0.4287, allocations: 0 / 436.3 MB, free: 35.23 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001204/0.4299, allocations: 0.5965 MB / 436.9 MB, free: 35.09 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.058e-05/0.43, allocations: 105.8 kB / 437 MB, free: 34.98 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.843e-05/0.43, allocations: 8.219 kB / 437 MB, free: 34.98 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002079/0.4302, allocations: 45.75 kB / 437 MB, free: 34.98 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000105/0.4303, allocations: 28.05 kB / 437.1 MB, free: 34.98 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.63e-05/0.4304, allocations: 5.938 kB / 437.1 MB, free: 34.98 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001525/0.4305, allocations: 170.8 kB / 437.2 MB, free: 34.9 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4305, allocations: 3.938 kB / 437.2 MB, free: 34.89 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004665/0.431, allocations: 84.53 kB / 437.3 MB, free: 34.89 MB / 350.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.0002362/0.4313, allocations: 128.4 kB / 437.5 MB, free: 34.8 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001172/0.4324, allocations: 0.5751 MB / 438 MB, free: 34.65 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.935e-06/0.4324, allocations: 3.938 kB / 438 MB, free: 34.64 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004345/0.4329, allocations: 249.6 kB / 438.3 MB, free: 34.56 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003589/0.4333, allocations: 52.84 kB / 438.3 MB, free: 34.55 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009907/0.4343, allocations: 0.5663 MB / 438.9 MB, free: 34.21 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001843/0.4345, allocations: 0.7402 MB / 439.6 MB, free: 33.51 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.376e-05/0.4345, allocations: 16.5 kB / 439.6 MB, free: 33.5 MB / 350.1 MB Notification: Performance of SimCode: time 2.9e-07/0.4345, allocations: 0 / 439.6 MB, free: 33.5 MB / 350.1 MB Notification: Performance of Templates: time 0.005064/0.4396, allocations: 3.171 MB / 442.8 MB, free: 33.24 MB / 350.1 MB make -j1 -f PowerGrids_dev_PowerGrids.Controls.Test.TestIntegratorWithNonWindupLimiter.makefile make -j1 -f PowerGrids_dev_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_dev_PowerGrids.Controls.Test.TestIntegratorWithNonWindupLimiterCalcHelperMain.o OMCppPowerGrids_dev_PowerGrids.Controls.Test.TestIntegratorWithNonWindupLimiterCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppPowerGrids_dev_PowerGrids.Controls.Test.TestIntegratorWithNonWindupLimiterCalcHelperMain.o] Error 1