Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerGrids_PowerGrids.Electrical.Test.TestTransformerFixedRatioWithBreaker.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.Electrical.Test.TestTransformerFixedRatioWithBreaker,tolerance=1e-06,outputFormat="empty",numberOfIntervals=100,variableFilter="",fileNamePrefix="PowerGrids_PowerGrids.Electrical.Test.TestTransformerFixedRatioWithBreaker") translateModel(PowerGrids.Electrical.Test.TestTransformerFixedRatioWithBreaker,tolerance=1e-06,outputFormat="empty",numberOfIntervals=100,variableFilter="",fileNamePrefix="PowerGrids_PowerGrids.Electrical.Test.TestTransformerFixedRatioWithBreaker") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009201/0.0009201, allocations: 102.7 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.0008413/0.0008415, allocations: 176 kB / 16.58 MB, free: 6.863 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.51/1.51, allocations: 205.4 MB / 222.8 MB, free: 5.668 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.2/package.mo): time 0.05661/0.05661, allocations: 14.17 MB / 285.2 MB, free: 7.137 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.0004565/0.0004566, allocations: 12 kB / 346.8 MB, free: 19.88 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08661/0.08708, allocations: 51.13 MB / 397.9 MB, free: 0.7109 MB / 286.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Electrical.Test.TestTransformerFixedRatioWithBreaker): time 0.008891/0.09601, allocations: 10.65 MB / 408.6 MB, free: 6.02 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.007002/0.103, allocations: 4.627 MB / 413.2 MB, free: 1.379 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000957/0.104, allocations: 31.88 kB / 413.2 MB, free: 1.348 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001148/0.1052, allocations: 469.5 kB / 413.7 MB, free: 0.8867 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004548/0.1097, allocations: 1.881 MB / 415.6 MB, free: 15.02 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009266/0.1107, allocations: 450.5 kB / 416 MB, free: 14.58 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.004015/0.1147, allocations: 3.19 MB / 419.2 MB, free: 11.38 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004415/0.1152, allocations: 213 kB / 419.4 MB, free: 11.15 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00139/0.1166, allocations: 0.8514 MB / 420.3 MB, free: 10.3 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009199/0.1175, allocations: 0.8712 MB / 421.1 MB, free: 9.422 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 9.062e-05/0.1176, allocations: 44 kB / 421.2 MB, free: 9.379 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001014/0.1186, allocations: 419.7 kB / 421.6 MB, free: 8.969 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001555/0.1188, allocations: 186.8 kB / 421.8 MB, free: 8.785 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003452/0.1191, allocations: 352.9 kB / 422.1 MB, free: 8.434 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001592/0.1207, allocations: 1.66 MB / 423.8 MB, free: 6.77 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.504e-06/0.1207, allocations: 4 kB / 423.8 MB, free: 6.766 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.512e-06/0.1208, allocations: 4 kB / 423.8 MB, free: 6.762 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.456e-05/0.1208, allocations: 0 / 423.8 MB, free: 6.762 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: 336 * Number of variables: 336 Notification: Performance of Generate backend data structure: time 0.006656/0.1274, allocations: 2.417 MB / 426.2 MB, free: 4.277 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.005e-05/0.1275, allocations: 8.031 kB / 426.2 MB, free: 4.27 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001007/0.1285, allocations: 269.8 kB / 426.5 MB, free: 4.004 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001656/0.1302, allocations: 0.9916 MB / 427.5 MB, free: 2.969 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000128/0.1303, allocations: 136.3 kB / 427.6 MB, free: 2.828 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001382/0.1305, allocations: 124 kB / 427.7 MB, free: 2.707 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002053/0.1325, allocations: 1.344 MB / 429.1 MB, free: 1.273 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.431e-05/0.1325, allocations: 3.938 kB / 429.1 MB, free: 1.27 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.57e-05/0.1327, allocations: 52 kB / 429.1 MB, free: 1.219 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.152e-05/0.1327, allocations: 35.98 kB / 429.2 MB, free: 1.184 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.1935/0.3262, allocations: 1.23 MB / 430.4 MB, free: 35.48 MB / 318.1 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008827/0.3351, allocations: 8.589 MB / 439 MB, free: 29 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002535/0.3377, allocations: 1.536 MB / 440.5 MB, free: 28.25 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007891/0.3385, allocations: 0.5576 MB / 441.1 MB, free: 28.01 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.529e-05/0.3386, allocations: 17.47 kB / 441.1 MB, free: 28.01 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001077/0.3397, allocations: 0.6311 MB / 441.7 MB, free: 27.69 MB / 318.1 MB Notification: Performance of pre-optimization done (n=150): time 3.877e-06/0.3397, allocations: 0 / 441.7 MB, free: 27.69 MB / 318.1 MB Notification: Performance of matching and sorting (n=150): time 0.009963/0.3496, allocations: 3.187 MB / 444.9 MB, free: 26.73 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001135/0.3498, allocations: 147.7 kB / 445 MB, free: 26.57 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001264/0.3511, allocations: 0.7756 MB / 445.8 MB, free: 26.23 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 8.484e-05/0.3512, allocations: 55.52 kB / 445.9 MB, free: 26.18 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004789/0.3517, allocations: 0.5749 MB / 446.4 MB, free: 25.76 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005189/0.3522, allocations: 0.509 MB / 447 MB, free: 25.36 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.261e-05/0.3523, allocations: 29.47 kB / 447 MB, free: 25.34 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001384/0.3524, allocations: 364.5 kB / 447.3 MB, free: 25.01 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007074/0.3531, allocations: 404 kB / 447.7 MB, free: 24.84 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008092/0.3539, allocations: 0.6163 MB / 448.4 MB, free: 24.46 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008487/0.3548, allocations: 0.5345 MB / 448.9 MB, free: 24.14 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.791e-06/0.3548, allocations: 9.312 kB / 448.9 MB, free: 24.13 MB / 318.1 MB Notification: Performance of matching and sorting (n=185) (initialization): time 0.00335/0.3582, allocations: 1.741 MB / 450.6 MB, free: 23.36 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.226e-05/0.3582, allocations: 59.81 kB / 450.7 MB, free: 23.3 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.602e-05/0.3583, allocations: 9.312 kB / 450.7 MB, free: 23.29 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001528/0.3598, allocations: 0.4952 MB / 451.2 MB, free: 23.18 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00116/0.361, allocations: 309.5 kB / 451.5 MB, free: 23.14 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00709/0.3681, allocations: 4.371 MB / 455.9 MB, free: 20 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001397/0.3695, allocations: 102.6 kB / 456 MB, free: 19.93 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.01e-05/0.3696, allocations: 47.44 kB / 456 MB, free: 19.92 MB / 318.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 23 * Number of states: 0 () * Number of discrete variables: 6 (transformer.breakerStatusInInternal,$whenCondition1,$whenCondition2,$PRE.transformer.breakerStatus,transformer.breakerStatus,$PRE.transformer.breakerStatusInInternal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (140): * Single equations (assignments): 137 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {8 37} Notification: Performance of prepare postOptimizeDAE: time 0.0006905/0.3703, allocations: 354.8 kB / 456.4 MB, free: 19.63 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001762/0.3705, allocations: 133.1 kB / 456.5 MB, free: 19.57 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002619/0.3731, allocations: 1.637 MB / 458.1 MB, free: 18.58 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.327e-05/0.3731, allocations: 19.73 kB / 458.2 MB, free: 18.58 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.276e-06/0.3732, allocations: 0 / 458.2 MB, free: 18.58 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.492e-05/0.3732, allocations: 7.969 kB / 458.2 MB, free: 18.57 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004394/0.3776, allocations: 3.076 MB / 461.2 MB, free: 16.51 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.253e-06/0.3776, allocations: 6.641 kB / 461.2 MB, free: 16.51 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009194/0.3785, allocations: 244.8 kB / 461.5 MB, free: 16.46 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00132/0.3799, allocations: 480.5 kB / 462 MB, free: 16.24 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.162e-05/0.3799, allocations: 29.45 kB / 462 MB, free: 16.21 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005015/0.385, allocations: 4.253 MB / 466.2 MB, free: 12.33 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.734e-06/0.385, allocations: 0 / 466.2 MB, free: 12.33 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002639/0.3876, allocations: 1.67 MB / 467.9 MB, free: 10.63 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005878/0.3882, allocations: 307.3 kB / 468.2 MB, free: 10.31 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001314/0.3884, allocations: 20 kB / 468.2 MB, free: 10.29 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006142/0.389, allocations: 75.45 kB / 468.3 MB, free: 10.22 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002015/0.3892, allocations: 101.2 kB / 468.4 MB, free: 10.12 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.616e-05/0.3893, allocations: 36 kB / 468.4 MB, free: 10.09 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0006302/0.3899, allocations: 0.5161 MB / 468.9 MB, free: 9.559 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.3899, allocations: 0.6562 kB / 468.9 MB, free: 9.559 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.001374/0.3913, allocations: 0.527 MB / 469.5 MB, free: 9.031 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: 4 ($whenCondition1,$whenCondition2,transformer.breakerStatus,transformer.breakerStatusInInternal) * Number of discrete states: 4 (transformer.breakerStatus,$whenCondition2,$whenCondition1,transformer.breakerStatusInInternal) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (104): * Single equations (assignments): 102 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {6 39} Notification: Performance of Backend phase and start with SimCode phase: time 0.000352/0.3917, allocations: 218.8 kB / 469.7 MB, free: 8.82 MB / 318.1 MB Warning: The hideResult annotation could not be evaluated, probably due to missing annotation(Evaluate=true). It is set to 'isProtected' (=false) by default. Notification: Performance of simCode: created initialization part: time 0.002377/0.394, allocations: 1.652 MB / 471.3 MB, free: 7.137 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 3.105e-06/0.3941, allocations: 4 kB / 471.3 MB, free: 7.133 MB / 318.1 MB Warning: The hideResult annotation could not be evaluated, probably due to missing annotation(Evaluate=true). It is set to 'isProtected' (=false) by default. Notification: Performance of simCode: created simulation system equations: time 0.001208/0.3953, allocations: 1.009 MB / 472.4 MB, free: 6.098 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008207/0.3961, allocations: 142.2 kB / 472.5 MB, free: 5.957 MB / 318.1 MB Warning: The hideResult annotation could not be evaluated, probably due to missing annotation(Evaluate=true). It is set to 'isProtected' (=false) by default. Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003418/0.3995, allocations: 2.776 MB / 475.3 MB, free: 3.188 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005259/0.4001, allocations: 1.167 MB / 476.4 MB, free: 1.988 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002785/0.4004, allocations: 87.42 kB / 476.5 MB, free: 1.902 MB / 318.1 MB Notification: Performance of SimCode: time 9.02e-07/0.4004, allocations: 0 / 476.5 MB, free: 1.902 MB / 318.1 MB Notification: Performance of Templates: time 0.03039/0.4308, allocations: 22.4 MB / 498.9 MB, free: 11.46 MB / 350.1 MB make -j1 -f PowerGrids_PowerGrids.Electrical.Test.TestTransformerFixedRatioWithBreaker.makefile make -j1 -f PowerGrids_PowerGrids.Electrical.Test.TestTransformerFixedRatioWithBreaker.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_PowerGrids.Electrical.Test.TestTransformerFixedRatioWithBreakerCalcHelperMain.o OMCppPowerGrids_PowerGrids.Electrical.Test.TestTransformerFixedRatioWithBreakerCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppPowerGrids_PowerGrids.Electrical.Test.TestTransformerFixedRatioWithBreakerCalcHelperMain.o] Error 1