Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerGrids_symb_jac_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_symb_jac_PowerGrids.Electrical.Test.TestTransformerFixedRatioWithBreaker") translateModel(PowerGrids.Electrical.Test.TestTransformerFixedRatioWithBreaker,tolerance=1e-06,outputFormat="empty",numberOfIntervals=100,variableFilter="",fileNamePrefix="PowerGrids_symb_jac_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.0008222/0.0008222, allocations: 95.02 kB / 16.34 MB, free: 5.688 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.001153/0.001153, allocations: 183.2 kB / 17.23 MB, free: 5.59 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.53/1.53, allocations: 205.4 MB / 223.4 MB, free: 5.531 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.2/package.mo): time 0.05605/0.05605, allocations: 14.18 MB / 285.8 MB, free: 7.129 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.0004682/0.0004682, allocations: 12 kB / 347.4 MB, free: 19.88 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1074/0.1079, allocations: 51.13 MB / 398.6 MB, free: 0.7031 MB / 286.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Electrical.Test.TestTransformerFixedRatioWithBreaker): time 0.009268/0.1172, allocations: 10.63 MB / 409.2 MB, free: 6.023 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.007373/0.1246, allocations: 4.635 MB / 413.8 MB, free: 1.371 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001179/0.1258, allocations: 31.88 kB / 413.9 MB, free: 1.34 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001213/0.127, allocations: 477.5 kB / 414.3 MB, free: 0.8711 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004788/0.1318, allocations: 1.882 MB / 416.2 MB, free: 15 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001007/0.1328, allocations: 449.9 kB / 416.7 MB, free: 14.56 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.004886/0.1377, allocations: 3.19 MB / 419.9 MB, free: 11.36 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005051/0.1383, allocations: 209 kB / 420.1 MB, free: 11.14 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001853/0.1401, allocations: 0.8553 MB / 420.9 MB, free: 10.28 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001421/0.1416, allocations: 0.8751 MB / 421.8 MB, free: 9.402 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001115/0.1417, allocations: 44 kB / 421.8 MB, free: 9.359 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001377/0.1431, allocations: 419.6 kB / 422.2 MB, free: 8.949 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002067/0.1433, allocations: 190.9 kB / 422.4 MB, free: 8.762 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006057/0.1439, allocations: 344.9 kB / 422.8 MB, free: 8.418 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001996/0.1459, allocations: 1.664 MB / 424.4 MB, free: 6.75 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.71e-06/0.1459, allocations: 0 / 424.4 MB, free: 6.75 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.833e-06/0.1459, allocations: 0 / 424.4 MB, free: 6.75 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.244e-05/0.146, allocations: 0 / 424.4 MB, free: 6.75 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.006513/0.1525, allocations: 2.424 MB / 426.9 MB, free: 4.258 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.019e-05/0.1525, allocations: 8.031 kB / 426.9 MB, free: 4.25 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009199/0.1535, allocations: 273.7 kB / 427.1 MB, free: 3.98 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0016/0.1551, allocations: 0.9799 MB / 428.1 MB, free: 2.957 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001177/0.1552, allocations: 140.3 kB / 428.2 MB, free: 2.812 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001364/0.1554, allocations: 131.9 kB / 428.4 MB, free: 2.684 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001929/0.1573, allocations: 1.34 MB / 429.7 MB, free: 1.254 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.343e-05/0.1573, allocations: 3.938 kB / 429.7 MB, free: 1.25 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.066e-05/0.1574, allocations: 56 kB / 429.8 MB, free: 1.195 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.432e-05/0.1574, allocations: 36 kB / 429.8 MB, free: 1.16 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.1846/0.3421, allocations: 1.224 MB / 431 MB, free: 35.78 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.008574/0.3507, allocations: 8.598 MB / 439.6 MB, free: 29.37 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002355/0.3531, allocations: 1.53 MB / 441.2 MB, free: 28.62 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007777/0.3539, allocations: 0.5585 MB / 441.7 MB, free: 28.38 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.898e-05/0.354, allocations: 20.39 kB / 441.7 MB, free: 28.37 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009663/0.3549, allocations: 0.6271 MB / 442.4 MB, free: 28.06 MB / 318.1 MB Notification: Performance of pre-optimization done (n=150): time 3.266e-06/0.355, allocations: 1 kB / 442.4 MB, free: 28.06 MB / 318.1 MB Notification: Performance of matching and sorting (n=150): time 0.00962/0.3646, allocations: 3.183 MB / 445.6 MB, free: 27.1 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.94e-05/0.3647, allocations: 155.4 kB / 445.7 MB, free: 26.93 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001098/0.3658, allocations: 0.7747 MB / 446.5 MB, free: 26.6 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 7.642e-05/0.3659, allocations: 52.17 kB / 446.5 MB, free: 26.55 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003896/0.3663, allocations: 0.5705 MB / 447.1 MB, free: 26.14 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.00041/0.3667, allocations: 0.5107 MB / 447.6 MB, free: 25.73 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.777e-05/0.3668, allocations: 29.69 kB / 447.6 MB, free: 25.71 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 8.985e-05/0.3669, allocations: 365.7 kB / 448 MB, free: 25.38 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006345/0.3675, allocations: 396.5 kB / 448.4 MB, free: 25.22 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007216/0.3682, allocations: 0.6226 MB / 449 MB, free: 24.82 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007744/0.369, allocations: 0.5341 MB / 449.5 MB, free: 24.51 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.582e-06/0.369, allocations: 1.031 kB / 449.5 MB, free: 24.51 MB / 318.1 MB Notification: Performance of matching and sorting (n=185) (initialization): time 0.003089/0.3721, allocations: 1.748 MB / 451.3 MB, free: 23.73 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.33e-05/0.3722, allocations: 61.66 kB / 451.3 MB, free: 23.66 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.575e-05/0.3722, allocations: 5.656 kB / 451.4 MB, free: 23.66 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001463/0.3737, allocations: 0.4952 MB / 451.8 MB, free: 23.55 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001134/0.3748, allocations: 313.1 kB / 452.2 MB, free: 23.52 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005757/0.3806, allocations: 4.36 MB / 456.5 MB, free: 20.54 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001093/0.3817, allocations: 102.6 kB / 456.6 MB, free: 20.47 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.957e-05/0.3818, allocations: 47.53 kB / 456.7 MB, free: 20.46 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.0005305/0.3823, allocations: 363 kB / 457 MB, free: 20.16 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001486/0.3825, allocations: 137.6 kB / 457.2 MB, free: 20.1 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002488/0.385, allocations: 1.629 MB / 458.8 MB, free: 19.12 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.418e-06/0.385, allocations: 19.58 kB / 458.8 MB, free: 19.12 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.447e-06/0.385, allocations: 0 / 458.8 MB, free: 19.12 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.117e-05/0.385, allocations: 15.91 kB / 458.8 MB, free: 19.1 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003838/0.3889, allocations: 3.067 MB / 461.9 MB, free: 17.05 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.293e-06/0.3889, allocations: 4 kB / 461.9 MB, free: 17.05 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009406/0.3898, allocations: 249.1 kB / 462.1 MB, free: 16.99 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001205/0.3911, allocations: 485.1 kB / 462.6 MB, free: 16.77 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.164e-05/0.3911, allocations: 23.94 kB / 462.6 MB, free: 16.75 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004963/0.3961, allocations: 4.249 MB / 466.9 MB, free: 12.92 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.643e-06/0.3961, allocations: 4 kB / 466.9 MB, free: 12.92 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003407/0.3995, allocations: 2.946 MB / 469.8 MB, free: 9.906 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000428/0.4, allocations: 315.2 kB / 470.1 MB, free: 9.578 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001311/0.4001, allocations: 27.95 kB / 470.2 MB, free: 9.551 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006044/0.4007, allocations: 55.69 kB / 470.2 MB, free: 9.496 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001631/0.4009, allocations: 105.2 kB / 470.3 MB, free: 9.395 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.455e-05/0.401, allocations: 32 kB / 470.3 MB, free: 9.363 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0005269/0.4015, allocations: 0.5238 MB / 470.9 MB, free: 8.828 MB / 318.1 MB Notification: Performance of sort global known variables: time 2.3e-07/0.4015, allocations: 4.656 kB / 470.9 MB, free: 8.824 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.001371/0.4029, allocations: 0.5269 MB / 471.4 MB, free: 8.297 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.0003207/0.4032, allocations: 214.9 kB / 471.6 MB, free: 8.09 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.002229/0.4055, allocations: 1.647 MB / 473.3 MB, free: 6.406 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 3.196e-06/0.4055, allocations: 4 kB / 473.3 MB, free: 6.402 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.001197/0.4067, allocations: 1.009 MB / 474.3 MB, free: 5.371 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007451/0.4074, allocations: 139.4 kB / 474.4 MB, free: 5.23 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.003779/0.4112, allocations: 3.513 MB / 477.9 MB, free: 1.715 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004893/0.4117, allocations: 1.199 MB / 479.1 MB, free: 500 kB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002313/0.412, allocations: 91.42 kB / 479.2 MB, free: 408 kB / 318.1 MB Notification: Performance of SimCode: time 3.8e-07/0.412, allocations: 0 / 479.2 MB, free: 408 kB / 318.1 MB Notification: Performance of Templates: time 0.02975/0.4417, allocations: 22.4 MB / 0.4899 GB, free: 9.953 MB / 350.1 MB make -j1 -f PowerGrids_symb_jac_PowerGrids.Electrical.Test.TestTransformerFixedRatioWithBreaker.makefile make -j1 -f PowerGrids_symb_jac_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_symb_jac_PowerGrids.Electrical.Test.TestTransformerFixedRatioWithBreakerCalcHelperMain.o OMCppPowerGrids_symb_jac_PowerGrids.Electrical.Test.TestTransformerFixedRatioWithBreakerCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppPowerGrids_symb_jac_PowerGrids.Electrical.Test.TestTransformerFixedRatioWithBreakerCalcHelperMain.o] Error 1