Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerGrids_symb_jac_PowerGrids.Controls.Test.TestLimiterWithLag.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.TestLimiterWithLag,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="PowerGrids_symb_jac_PowerGrids.Controls.Test.TestLimiterWithLag") translateModel(PowerGrids.Controls.Test.TestLimiterWithLag,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="PowerGrids_symb_jac_PowerGrids.Controls.Test.TestLimiterWithLag") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000806/0.000806, allocations: 90.78 kB / 16.33 MB, free: 6.805 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0007664/0.0007665, allocations: 187.8 kB / 17.23 MB, free: 6.645 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.496/1.496, allocations: 205.4 MB / 223.4 MB, free: 13.17 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.2/package.mo): time 0.05681/0.05681, allocations: 14.16 MB / 285.8 MB, free: 13.99 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.0004723/0.0004723, allocations: 12 kB / 347.4 MB, free: 260 kB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2474/0.2479, allocations: 51.11 MB / 398.6 MB, free: 47.69 MB / 318.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Controls.Test.TestLimiterWithLag): time 0.001593/0.2495, allocations: 1.455 MB / 400 MB, free: 46.54 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008333/0.2504, allocations: 0.5486 MB / 400.6 MB, free: 46.1 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.268e-05/0.2505, allocations: 0 / 400.6 MB, free: 46.1 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 8.352e-05/0.2506, allocations: 3.938 kB / 400.6 MB, free: 46.1 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001399/0.2508, allocations: 32.64 kB / 400.6 MB, free: 46.07 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001853/0.251, allocations: 46.38 kB / 400.6 MB, free: 46.03 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001673/0.2511, allocations: 168.5 kB / 400.8 MB, free: 45.93 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001033/0.2512, allocations: 31.09 kB / 400.8 MB, free: 45.91 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001123/0.2514, allocations: 68.97 kB / 400.9 MB, free: 45.87 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001299/0.2515, allocations: 80.58 kB / 401 MB, free: 45.82 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 4.154e-05/0.2515, allocations: 9.562 kB / 401 MB, free: 45.82 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.967e-05/0.2516, allocations: 9.844 kB / 401 MB, free: 45.82 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 4.235e-05/0.2516, allocations: 33.08 kB / 401 MB, free: 45.79 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 5.418e-05/0.2517, allocations: 49.55 kB / 401.1 MB, free: 45.75 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001133/0.2518, allocations: 115.2 kB / 401.2 MB, free: 45.66 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.587e-06/0.2518, allocations: 0 / 401.2 MB, free: 45.66 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.303e-06/0.2518, allocations: 0 / 401.2 MB, free: 45.66 MB / 318.1 MB Notification: Performance of Transformations before backend: time 4.899e-06/0.2518, allocations: 0 / 401.2 MB, free: 45.66 MB / 318.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 14 * Number of variables: 14 Notification: Performance of Generate backend data structure: time 0.0009147/0.2528, allocations: 0.5707 MB / 401.8 MB, free: 45.12 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.173e-05/0.2528, allocations: 16.34 kB / 401.8 MB, free: 45.11 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.889e-05/0.2529, allocations: 14.25 kB / 401.8 MB, free: 45.11 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000193/0.2531, allocations: 217 kB / 402 MB, free: 44.88 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.773e-05/0.2531, allocations: 15.64 kB / 402 MB, free: 44.86 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.473e-05/0.2531, allocations: 13.06 kB / 402 MB, free: 44.86 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004852/0.2536, allocations: 197.9 kB / 402.2 MB, free: 44.75 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.217e-06/0.2536, allocations: 0 / 402.2 MB, free: 44.75 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.944e-05/0.2537, allocations: 2.344 kB / 402.2 MB, free: 44.75 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.612e-06/0.2537, allocations: 6.062 kB / 402.2 MB, free: 44.75 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006756/0.2543, allocations: 243.1 kB / 402.5 MB, free: 44.65 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007107/0.2551, allocations: 0.495 MB / 403 MB, free: 44.23 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006979/0.2558, allocations: 280.2 kB / 403.2 MB, free: 44.1 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003675/0.2562, allocations: 163.2 kB / 403.4 MB, free: 44.02 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.487e-05/0.2562, allocations: 1.312 kB / 403.4 MB, free: 44.02 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005674/0.2568, allocations: 433.9 kB / 403.8 MB, free: 43.66 MB / 318.1 MB Notification: Performance of pre-optimization done (n=19): time 1.553e-06/0.2568, allocations: 0 / 403.8 MB, free: 43.66 MB / 318.1 MB Notification: Performance of matching and sorting (n=19): time 0.001286/0.2581, allocations: 0.5645 MB / 404.4 MB, free: 43.4 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.132e-05/0.2581, allocations: 250.7 kB / 404.6 MB, free: 43.11 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001291/0.2583, allocations: 176.7 kB / 404.8 MB, free: 42.96 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.15e-05/0.2583, allocations: 33.77 kB / 404.8 MB, free: 42.93 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.297e-05/0.2584, allocations: 110.2 kB / 404.9 MB, free: 42.82 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.838e-05/0.2584, allocations: 43.77 kB / 405 MB, free: 42.79 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.345e-05/0.2584, allocations: 2.312 kB / 405 MB, free: 42.79 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 4.906e-05/0.2585, allocations: 326.8 kB / 405.3 MB, free: 42.46 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003884/0.2589, allocations: 149.4 kB / 405.5 MB, free: 42.4 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003781/0.2593, allocations: 152.7 kB / 405.6 MB, free: 42.34 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003716/0.2596, allocations: 232 kB / 405.8 MB, free: 42.17 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.683e-06/0.2596, allocations: 1.25 kB / 405.8 MB, free: 42.17 MB / 318.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0008929/0.2605, allocations: 479 kB / 406.3 MB, free: 41.9 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.952e-05/0.2606, allocations: 184.3 kB / 406.5 MB, free: 41.71 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.707e-06/0.2606, allocations: 0 / 406.5 MB, free: 41.71 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.065e-05/0.2606, allocations: 0.9375 kB / 406.5 MB, free: 41.71 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002276/0.2609, allocations: 55.41 kB / 406.5 MB, free: 41.69 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.36e-06/0.2609, allocations: 3.953 kB / 406.5 MB, free: 41.68 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000322/0.2612, allocations: 81.3 kB / 406.6 MB, free: 41.65 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.411e-05/0.2613, allocations: 6.469 kB / 406.6 MB, free: 41.65 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.642e-06/0.2613, allocations: 3.281 kB / 406.6 MB, free: 41.65 MB / 318.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0009193/0.2622, allocations: 490.5 kB / 407.1 MB, free: 41.39 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.174e-06/0.2622, allocations: 7.938 kB / 407.1 MB, free: 41.39 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.106e-06/0.2622, allocations: 0.9688 kB / 407.1 MB, free: 41.39 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001973/0.2624, allocations: 45.8 kB / 407.2 MB, free: 41.38 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.905e-06/0.2624, allocations: 5.031 kB / 407.2 MB, free: 41.37 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002972/0.2627, allocations: 81.7 kB / 407.2 MB, free: 41.34 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.879e-05/0.2628, allocations: 9.734 kB / 407.3 MB, free: 41.34 MB / 318.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 22 ($whenCondition2,$whenCondition1,$whenCondition3,$whenCondition4,$whenCondition5,$whenCondition6,$whenCondition7,$whenCondition8,$PRE.limiterWithLag.state,limiterWithLag.state,$PRE.limiterWithLag.saturationLimitReached,limiterWithLag.saturationLimitReached,$PRE.limiterWithLag.satON,limiterWithLag.satON,$PRE.LfSignal.T_start,LfSignal.T_start,$PRE.LfSignal.count,LfSignal.count,$PRE.HfSignal.T_start,HfSignal.T_start,$PRE.HfSignal.count,HfSignal.count) * 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: 3 * 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.0001342/0.2629, allocations: 262.2 kB / 407.5 MB, free: 41.09 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.536e-05/0.2629, allocations: 19.62 kB / 407.5 MB, free: 41.08 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.076e-05/0.263, allocations: 25.16 kB / 407.6 MB, free: 41.05 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.266e-06/0.263, allocations: 1.781 kB / 407.6 MB, free: 41.05 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.779e-06/0.263, allocations: 0 / 407.6 MB, free: 41.05 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.268e-06/0.263, allocations: 1.094 kB / 407.6 MB, free: 41.05 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001712/0.2632, allocations: 264 kB / 407.8 MB, free: 40.78 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.284e-06/0.2632, allocations: 1.375 kB / 407.8 MB, free: 40.78 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001989/0.2634, allocations: 46.98 kB / 407.9 MB, free: 40.77 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.475e-06/0.2634, allocations: 1.062 kB / 407.9 MB, free: 40.77 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.259e-05/0.2634, allocations: 9.312 kB / 407.9 MB, free: 40.76 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.483e-06/0.2635, allocations: 0 / 407.9 MB, free: 40.76 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.2635, allocations: 1.344 kB / 407.9 MB, free: 40.76 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0015/0.265, allocations: 1.232 MB / 409.1 MB, free: 39.82 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.084e-05/0.265, allocations: 93.02 kB / 409.2 MB, free: 39.71 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.49e-05/0.2651, allocations: 14.42 kB / 409.2 MB, free: 39.71 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002876/0.2654, allocations: 73.3 kB / 409.3 MB, free: 39.68 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001187/0.2655, allocations: 42.66 kB / 409.3 MB, free: 39.66 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.451e-05/0.2655, allocations: 14.08 kB / 409.3 MB, free: 39.65 MB / 318.1 MB Notification: Performance of sorting global known variables: time 8.642e-05/0.2656, allocations: 126.7 kB / 409.5 MB, free: 39.55 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.2656, allocations: 0 / 409.5 MB, free: 39.55 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0005711/0.2662, allocations: 86.69 kB / 409.5 MB, free: 39.54 MB / 318.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 15 ($whenCondition2,$whenCondition1,$whenCondition3,$whenCondition4,$whenCondition5,$whenCondition6,$whenCondition7,$whenCondition8,limiterWithLag.state,limiterWithLag.saturationLimitReached,limiterWithLag.satON,LfSignal.T_start,LfSignal.count,HfSignal.T_start,HfSignal.count) * Number of discrete states: 11 (LfSignal.count,HfSignal.count,limiterWithLag.satON,$whenCondition8,$whenCondition7,$whenCondition6,$whenCondition5,$whenCondition4,limiterWithLag.saturationLimitReached,limiterWithLag.state,$whenCondition3) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 4 * 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.0001052/0.2663, allocations: 113.3 kB / 409.7 MB, free: 39.44 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.001259/0.2676, allocations: 0.9387 MB / 410.6 MB, free: 38.44 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.2676, allocations: 3.938 kB / 410.6 MB, free: 38.43 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004506/0.2681, allocations: 371.3 kB / 411 MB, free: 38.06 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002658/0.2683, allocations: 39.97 kB / 411 MB, free: 38.02 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007114/0.269, allocations: 0.5222 MB / 411.5 MB, free: 37.45 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001182/0.2692, allocations: 0.7207 MB / 412.2 MB, free: 36.71 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.878e-05/0.2693, allocations: 19.38 kB / 412.3 MB, free: 36.69 MB / 318.1 MB Notification: Performance of SimCode: time 2.2e-07/0.2693, allocations: 0 / 412.3 MB, free: 36.69 MB / 318.1 MB Notification: Performance of Templates: time 0.003564/0.2728, allocations: 2.624 MB / 414.9 MB, free: 34.08 MB / 318.1 MB make -j1 -f PowerGrids_symb_jac_PowerGrids.Controls.Test.TestLimiterWithLag.makefile make -j1 -f PowerGrids_symb_jac_PowerGrids.Controls.Test.TestLimiterWithLag.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_symb_jac_PowerGrids.Controls.Test.TestLimiterWithLagCalcHelperMain.o OMCppPowerGrids_symb_jac_PowerGrids.Controls.Test.TestLimiterWithLagCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppPowerGrids_symb_jac_PowerGrids.Controls.Test.TestLimiterWithLagCalcHelperMain.o] Error 1