Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerGrids_dev_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 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.Electrical.Test.TestTransformerFixedRatioWithBreaker,tolerance=1e-06,outputFormat="empty",numberOfIntervals=100,variableFilter="",fileNamePrefix="PowerGrids_dev_PowerGrids.Electrical.Test.TestTransformerFixedRatioWithBreaker") translateModel(PowerGrids.Electrical.Test.TestTransformerFixedRatioWithBreaker,tolerance=1e-06,outputFormat="empty",numberOfIntervals=100,variableFilter="",fileNamePrefix="PowerGrids_dev_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.001021/0.001022, allocations: 99.59 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.001343/0.001343, allocations: 175.6 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.763/1.763, allocations: 223.3 MB / 240.6 MB, free: 5.434 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 2.0.0-develop/package.mo): time 0.2996/0.2996, allocations: 14.23 MB / 305.9 MB, free: 1.027 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0005015/0.0005015, allocations: 8 kB / 370.4 MB, free: 6.734 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2143/0.2148, allocations: 53.93 MB / 424.3 MB, free: 0.7578 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Electrical.Test.TestTransformerFixedRatioWithBreaker): time 0.3676/0.5825, allocations: 12.21 MB / 436.5 MB, free: 33.16 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.008916/0.5914, allocations: 5.057 MB / 441.6 MB, free: 29.47 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001748/0.5932, allocations: 40.91 kB / 441.6 MB, free: 29.46 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001534/0.5948, allocations: 0.5336 MB / 442.1 MB, free: 29.21 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005083/0.5999, allocations: 2.029 MB / 444.2 MB, free: 27.88 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001096/0.601, allocations: 0.5258 MB / 444.7 MB, free: 27.54 MB / 350.1 MB [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/NFFrontEnd/NFCeval.mo:1092:9-1092:67:writable] Error: Internal error NFCeval.evalBinaryDiv failed to evaluate ‘loadPQ.UStart / 1.732050807568877‘ [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/NFFrontEnd/NFCeval.mo:1092:9-1092:67:writable] Error: Internal error NFCeval.evalBinaryDiv failed to evaluate ‘transformer.UStartA / 1.732050807568877‘ [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/NFFrontEnd/NFCeval.mo:1092:9-1092:67:writable] Error: Internal error NFCeval.evalBinaryDiv failed to evaluate ‘transformer.UStartB / 1.732050807568877‘ [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/NFFrontEnd/NFCeval.mo:1092:9-1092:67:writable] Error: Internal error NFCeval.evalBinaryDiv failed to evaluate ‘line.UStartA / 1.732050807568877‘ [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/NFFrontEnd/NFCeval.mo:1092:9-1092:67:writable] Error: Internal error NFCeval.evalBinaryDiv failed to evaluate ‘line.UStartB / 1.732050807568877‘ Notification: Performance of NFFlatten.flatten: time 0.00398/0.605, allocations: 3.32 MB / 448 MB, free: 25.88 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001216/0.6062, allocations: 0.723 MB / 448.7 MB, free: 25.46 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001699/0.6079, allocations: 0.9957 MB / 449.7 MB, free: 25.02 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001194/0.6091, allocations: 1.113 MB / 450.8 MB, free: 24.54 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000136/0.6093, allocations: 60.28 kB / 450.9 MB, free: 24.54 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001413/0.6107, allocations: 437 kB / 451.3 MB, free: 24.44 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002241/0.6109, allocations: 254.2 kB / 451.6 MB, free: 24.27 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000512/0.6114, allocations: 417.7 kB / 452 MB, free: 24.05 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001929/0.6134, allocations: 2.02 MB / 454 MB, free: 23.47 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.01e-06/0.6134, allocations: 0 / 454 MB, free: 23.47 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.994e-06/0.6134, allocations: 0 / 454 MB, free: 23.47 MB / 350.1 MB Notification: Performance of Transformations before backend: time 2.125e-05/0.6134, allocations: 7.312 kB / 454 MB, free: 23.47 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: 393 * Number of variables: 393 Notification: Performance of Generate backend data structure: time 0.009758/0.6232, allocations: 3.106 MB / 457.1 MB, free: 22.03 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.362e-05/0.6232, allocations: 9.438 kB / 457.1 MB, free: 22.03 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001341/0.6246, allocations: 311 kB / 457.4 MB, free: 21.9 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001868/0.6265, allocations: 1.16 MB / 458.6 MB, free: 21.16 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001227/0.6266, allocations: 155 kB / 458.7 MB, free: 21.08 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001645/0.6268, allocations: 162.3 kB / 458.9 MB, free: 21.02 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002235/0.629, allocations: 1.522 MB / 460.4 MB, free: 20.28 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.855e-05/0.6291, allocations: 4 kB / 460.4 MB, free: 20.27 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001122/0.6292, allocations: 63.44 kB / 460.5 MB, free: 20.23 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.101e-05/0.6292, allocations: 41.33 kB / 460.5 MB, free: 20.23 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002235/0.6314, allocations: 1.475 MB / 462 MB, free: 19.71 MB / 350.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.01178/0.6432, allocations: 9.536 MB / 471.5 MB, free: 11.79 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003717/0.647, allocations: 2.462 MB / 474 MB, free: 10.08 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001107/0.6481, allocations: 0.6584 MB / 474.7 MB, free: 9.785 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001313/0.6482, allocations: 21.16 kB / 474.7 MB, free: 9.781 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001542/0.6498, allocations: 0.8185 MB / 475.5 MB, free: 9.344 MB / 350.1 MB Notification: Performance of pre-optimization done (n=174): time 4.218e-06/0.6498, allocations: 0 / 475.5 MB, free: 9.344 MB / 350.1 MB Notification: Performance of matching and sorting (n=174): time 0.01126/0.6611, allocations: 3.471 MB / 479 MB, free: 8.242 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001454/0.6613, allocations: 288.1 kB / 479.2 MB, free: 7.922 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00171/0.663, allocations: 1.03 MB / 480.3 MB, free: 7.488 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001331/0.6631, allocations: 61.95 kB / 480.3 MB, free: 7.43 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006988/0.6638, allocations: 0.6873 MB / 481 MB, free: 6.883 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008833/0.6647, allocations: 0.6306 MB / 481.7 MB, free: 6.383 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000134/0.6649, allocations: 55.81 kB / 481.7 MB, free: 6.34 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0002759/0.6651, allocations: 413.8 kB / 482.1 MB, free: 5.988 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001499/0.6666, allocations: 0.7254 MB / 482.8 MB, free: 5.688 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001742/0.6684, allocations: 1.075 MB / 483.9 MB, free: 5.062 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001653/0.6701, allocations: 0.9599 MB / 484.9 MB, free: 4.504 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.054e-05/0.6701, allocations: 2.156 kB / 484.9 MB, free: 4.504 MB / 350.1 MB Notification: Performance of matching and sorting (n=358) (initialization): time 0.00556/0.6756, allocations: 2.77 MB / 487.6 MB, free: 3.258 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.334e-05/0.6757, allocations: 70.42 kB / 487.7 MB, free: 3.188 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.894e-05/0.6758, allocations: 11.69 kB / 487.7 MB, free: 3.184 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001906/0.6777, allocations: 0.501 MB / 488.2 MB, free: 3.07 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002573/0.6803, allocations: 0.5878 MB / 488.8 MB, free: 3.012 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007912/0.6882, allocations: 4.448 MB / 493.3 MB, free: 216 kB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002635/0.6909, allocations: 170.4 kB / 493.4 MB, free: 96 kB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002348/0.6911, allocations: 94.84 kB / 493.5 MB, free: 72 kB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 30 * 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 (313): * Single equations (assignments): 310 * 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.001206/0.6923, allocations: 431.4 kB / 493.9 MB, free: 15.73 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004413/0.6928, allocations: 161.6 kB / 494.1 MB, free: 15.65 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004256/0.697, allocations: 1.806 MB / 495.9 MB, free: 14.77 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.839e-05/0.6971, allocations: 18.09 kB / 495.9 MB, free: 14.77 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.546e-06/0.6971, allocations: 1.344 kB / 495.9 MB, free: 14.77 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.207e-05/0.6971, allocations: 9.219 kB / 495.9 MB, free: 14.77 MB / 366.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 postOpt removeSimpleEquations (simulation): time 0.00723/0.7044, allocations: 4.308 MB / 0.4885 GB, free: 11.09 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.075e-06/0.7044, allocations: 4 kB / 0.4885 GB, free: 11.08 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001123/0.7055, allocations: 299.8 kB / 0.4888 GB, free: 10.79 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001368/0.7069, allocations: 472.3 kB / 0.4893 GB, free: 10.32 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.696e-05/0.707, allocations: 43.92 kB / 0.4893 GB, free: 10.28 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006635/0.7136, allocations: 4.305 MB / 0.4935 GB, free: 5.84 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.527e-06/0.7137, allocations: 1.438 kB / 0.4935 GB, free: 5.84 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00353/0.7172, allocations: 1.899 MB / 0.4954 GB, free: 3.898 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008121/0.718, allocations: 370.8 kB / 0.4957 GB, free: 3.516 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001741/0.7182, allocations: 28 kB / 0.4957 GB, free: 3.488 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007513/0.719, allocations: 55.83 kB / 0.4958 GB, free: 3.434 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002262/0.7192, allocations: 117.6 kB / 0.4959 GB, free: 3.316 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.194e-05/0.7193, allocations: 47.95 kB / 0.496 GB, free: 3.27 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.001062/0.7204, allocations: 0.6517 MB / 0.4966 GB, free: 2.613 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.7204, allocations: 0 / 0.4966 GB, free: 2.613 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.002351/0.7227, allocations: 0.7184 MB / 0.4973 GB, free: 1.895 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * 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 (128): * Single equations (assignments): 126 * 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.0004596/0.7232, allocations: 247 kB / 0.4975 GB, free: 1.656 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.004044/0.7273, allocations: 2.367 MB / 0.4998 GB, free: 15.25 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 5.44e-06/0.7273, allocations: 4 kB / 0.4998 GB, free: 15.25 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001645/0.7289, allocations: 1.102 MB / 0.5009 GB, free: 14.13 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001061/0.73, allocations: 162.7 kB / 0.5011 GB, free: 13.97 MB / 382.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.00514/0.7351, allocations: 3.262 MB / 0.5043 GB, free: 10.68 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009456/0.7361, allocations: 1.266 MB / 0.5055 GB, free: 9.379 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004843/0.7366, allocations: 123.4 kB / 0.5056 GB, free: 9.262 MB / 382.1 MB Notification: Performance of SimCode: time 1.102e-06/0.7366, allocations: 0 / 0.5056 GB, free: 9.262 MB / 382.1 MB Notification: Performance of Templates: time 0.04901/0.7856, allocations: 28.92 MB / 0.5339 GB, free: 12.32 MB / 414.1 MB make -j1 -f PowerGrids_dev_PowerGrids.Electrical.Test.TestTransformerFixedRatioWithBreaker.makefile make -j1 -f PowerGrids_dev_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_dev_PowerGrids.Electrical.Test.TestTransformerFixedRatioWithBreakerCalcHelperMain.o OMCppPowerGrids_dev_PowerGrids.Electrical.Test.TestTransformerFixedRatioWithBreakerCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppPowerGrids_dev_PowerGrids.Electrical.Test.TestTransformerFixedRatioWithBreakerCalcHelperMain.o] Error 1