Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerGrids_dev_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 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.TestFirstOrderWithNonWindupLimiter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="PowerGrids_dev_PowerGrids.Controls.Test.TestFirstOrderWithNonWindupLimiter") translateModel(PowerGrids.Controls.Test.TestFirstOrderWithNonWindupLimiter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="PowerGrids_dev_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.001082/0.001082, 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.001558/0.001558, allocations: 175.3 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.744/1.744, allocations: 223.3 MB / 240.6 MB, free: 5.406 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 2.0.0-develop/package.mo): time 0.2038/0.2038, allocations: 14.23 MB / 305.9 MB, free: 1.105 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003443/0.0003444, allocations: 11.98 kB / 372.4 MB, free: 4.68 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.405/0.4054, allocations: 53.9 MB / 426.3 MB, free: 38.99 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Controls.Test.TestFirstOrderWithNonWindupLimiter): time 0.002493/0.408, allocations: 1.661 MB / 427.9 MB, free: 38.92 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00131/0.4093, allocations: 0.7805 MB / 428.7 MB, free: 38.83 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001403/0.4095, allocations: 6.875 kB / 428.7 MB, free: 38.83 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002099/0.4097, allocations: 45.41 kB / 428.8 MB, free: 38.81 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001859/0.4099, allocations: 59.36 kB / 428.8 MB, free: 38.8 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004684/0.4104, allocations: 174.5 kB / 429 MB, free: 38.79 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002545/0.4106, allocations: 255.3 kB / 429.2 MB, free: 38.76 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001587/0.4108, allocations: 66.27 kB / 429.3 MB, free: 38.75 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000111/0.4109, allocations: 97.34 kB / 429.4 MB, free: 38.73 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001723/0.4111, allocations: 121.9 kB / 429.5 MB, free: 38.7 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.163e-05/0.4111, allocations: 9.438 kB / 429.5 MB, free: 38.7 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000131/0.4113, allocations: 78.5 kB / 429.6 MB, free: 38.7 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.696e-05/0.4113, allocations: 44.62 kB / 429.7 MB, free: 38.69 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.716e-05/0.4114, allocations: 61.7 kB / 429.7 MB, free: 38.65 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002358/0.4116, allocations: 234.7 kB / 429.9 MB, free: 38.63 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.202e-06/0.4116, allocations: 0 / 429.9 MB, free: 38.63 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.522e-06/0.4117, allocations: 0.8125 kB / 429.9 MB, free: 38.63 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.46e-06/0.4117, allocations: 0 / 429.9 MB, free: 38.63 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: 42 * Number of variables: 42 Notification: Performance of Generate backend data structure: time 0.0007593/0.4124, allocations: 0.5747 MB / 430.5 MB, free: 38.17 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.721e-05/0.4125, allocations: 8.969 kB / 430.5 MB, free: 38.17 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.859e-05/0.4125, allocations: 35.22 kB / 430.6 MB, free: 38.15 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003135/0.4129, allocations: 289.3 kB / 430.8 MB, free: 37.93 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.901e-05/0.4129, allocations: 13.19 kB / 430.9 MB, free: 37.93 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.906e-05/0.4129, allocations: 20.59 kB / 430.9 MB, free: 37.93 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005759/0.4135, allocations: 319 kB / 431.2 MB, free: 37.83 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.061e-05/0.4136, allocations: 0.7031 kB / 431.2 MB, free: 37.83 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.299e-05/0.4136, allocations: 9.922 kB / 431.2 MB, free: 37.82 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.983e-06/0.4136, allocations: 6.219 kB / 431.2 MB, free: 37.82 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005868/0.4142, allocations: 261.7 kB / 431.5 MB, free: 37.81 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001044/0.4153, allocations: 0.9961 MB / 432.5 MB, free: 37.16 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007807/0.4161, allocations: 335.5 kB / 432.8 MB, free: 37.11 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003418/0.4164, allocations: 166.8 kB / 433 MB, free: 37.09 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.704e-05/0.4164, allocations: 3.312 kB / 433 MB, free: 37.09 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005073/0.417, allocations: 260.2 kB / 433.2 MB, free: 36.98 MB / 350.1 MB Notification: Performance of pre-optimization done (n=22): time 1.873e-06/0.417, allocations: 0 / 433.2 MB, free: 36.98 MB / 350.1 MB Notification: Performance of matching and sorting (n=22): time 0.001137/0.4181, allocations: 0.5235 MB / 433.7 MB, free: 36.89 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.646e-05/0.4182, allocations: 164 kB / 433.9 MB, free: 36.7 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002142/0.4184, allocations: 249.2 kB / 434.1 MB, free: 36.6 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.425e-05/0.4184, allocations: 31.98 kB / 434.2 MB, free: 36.57 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001189/0.4186, allocations: 158.3 kB / 434.3 MB, free: 36.46 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.644e-05/0.4186, allocations: 74.42 kB / 434.4 MB, free: 36.41 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.389e-05/0.4186, allocations: 3.312 kB / 434.4 MB, free: 36.41 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 8.032e-05/0.4187, allocations: 336.3 kB / 434.7 MB, free: 36.1 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003149/0.419, allocations: 138.6 kB / 434.9 MB, free: 36.1 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003319/0.4194, allocations: 214.4 kB / 435.1 MB, free: 36.01 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003124/0.4197, allocations: 174.4 kB / 435.2 MB, free: 35.97 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.397e-06/0.4197, allocations: 2.781 kB / 435.2 MB, free: 35.97 MB / 350.1 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.001768/0.4215, allocations: 0.7773 MB / 436 MB, free: 35.84 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001272/0.4216, allocations: 162.8 kB / 436.2 MB, free: 35.68 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.224e-05/0.4217, allocations: 5.703 kB / 436.2 MB, free: 35.68 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005875/0.4222, allocations: 186.4 kB / 436.4 MB, free: 35.65 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002052/0.4225, allocations: 44.52 kB / 436.4 MB, free: 35.65 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0046/0.4271, allocations: 3.819 MB / 440.2 MB, free: 32.75 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003135/0.4274, allocations: 55.52 kB / 440.3 MB, free: 32.73 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.094e-05/0.4275, allocations: 17 kB / 440.3 MB, free: 32.73 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.178e-05/0.4275, allocations: 7 kB / 440.3 MB, free: 32.73 MB / 350.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0005203/0.428, allocations: 295.9 kB / 440.6 MB, free: 32.61 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.725e-06/0.428, allocations: 0 / 440.6 MB, free: 32.61 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.246e-06/0.428, allocations: 3.344 kB / 440.6 MB, free: 32.61 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002632/0.4283, allocations: 65.23 kB / 440.7 MB, free: 32.6 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.715e-06/0.4283, allocations: 3.312 kB / 440.7 MB, free: 32.6 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001514/0.4285, allocations: 32.2 kB / 440.7 MB, free: 32.59 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.692e-05/0.4285, allocations: 10.56 kB / 440.7 MB, free: 32.58 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,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.0002597/0.4288, allocations: 259.2 kB / 441 MB, free: 32.34 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.274e-05/0.4288, allocations: 27.31 kB / 441 MB, free: 32.33 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.272e-05/0.4289, allocations: 31.95 kB / 441 MB, free: 32.32 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.837e-06/0.4289, allocations: 7.5 kB / 441 MB, free: 32.31 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.302e-06/0.4289, allocations: 7.062 kB / 441 MB, free: 32.31 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.202e-06/0.4289, allocations: 3.953 kB / 441 MB, free: 32.3 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003012/0.4292, allocations: 334.2 kB / 441.4 MB, free: 32.05 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.524e-06/0.4292, allocations: 0 / 441.4 MB, free: 32.05 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002909/0.4295, allocations: 60.55 kB / 441.4 MB, free: 32.05 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.298e-06/0.4296, allocations: 3.281 kB / 441.4 MB, free: 32.05 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.398e-05/0.4296, allocations: 10.39 kB / 441.4 MB, free: 32.04 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.446e-06/0.4296, allocations: 3.938 kB / 441.4 MB, free: 32.04 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/0.4296, allocations: 0 / 441.4 MB, free: 32.04 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001106/0.4307, allocations: 0.6201 MB / 442.1 MB, free: 31.79 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.013e-05/0.4308, allocations: 98.95 kB / 442.2 MB, free: 31.68 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.248e-05/0.4308, allocations: 10.36 kB / 442.2 MB, free: 31.68 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001839/0.431, allocations: 36.89 kB / 442.2 MB, free: 31.68 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.854e-05/0.4311, allocations: 34.48 kB / 442.2 MB, free: 31.67 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.723e-05/0.4312, allocations: 6.438 kB / 442.2 MB, free: 31.67 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001617/0.4313, allocations: 183 kB / 442.4 MB, free: 31.56 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.302e-06/0.4313, allocations: 0 / 442.4 MB, free: 31.56 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0005593/0.4319, allocations: 108.5 kB / 442.5 MB, free: 31.54 MB / 350.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.0002212/0.4321, allocations: 140.9 kB / 442.7 MB, free: 31.44 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001625/0.4338, allocations: 0.946 MB / 443.6 MB, free: 30.92 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 4.158e-06/0.4338, allocations: 0 / 443.6 MB, free: 30.92 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003759/0.4342, allocations: 253.7 kB / 443.9 MB, free: 30.8 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003987/0.4346, allocations: 49.72 kB / 443.9 MB, free: 30.78 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001026/0.4356, allocations: 0.6208 MB / 444.5 MB, free: 30.39 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002317/0.4359, allocations: 0.7622 MB / 445.3 MB, free: 29.68 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.469e-05/0.4359, allocations: 23.17 kB / 445.3 MB, free: 29.67 MB / 350.1 MB Notification: Performance of SimCode: time 4.21e-07/0.4359, allocations: 3.938 kB / 445.3 MB, free: 29.67 MB / 350.1 MB Notification: Performance of Templates: time 0.007456/0.4434, allocations: 4.733 MB / 450 MB, free: 29.22 MB / 350.1 MB make -j1 -f PowerGrids_dev_PowerGrids.Controls.Test.TestFirstOrderWithNonWindupLimiter.makefile make -j1 -f PowerGrids_dev_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_dev_PowerGrids.Controls.Test.TestFirstOrderWithNonWindupLimiterCalcHelperMain.o OMCppPowerGrids_dev_PowerGrids.Controls.Test.TestFirstOrderWithNonWindupLimiterCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppPowerGrids_dev_PowerGrids.Controls.Test.TestFirstOrderWithNonWindupLimiterCalcHelperMain.o] Error 1