Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerGrids_dev_PowerGrids.Electrical.Test.TestTransformerFixedRatio.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.TestTransformerFixedRatio,tolerance=1e-06,outputFormat="empty",numberOfIntervals=100,variableFilter="",fileNamePrefix="PowerGrids_dev_PowerGrids.Electrical.Test.TestTransformerFixedRatio") translateModel(PowerGrids.Electrical.Test.TestTransformerFixedRatio,tolerance=1e-06,outputFormat="empty",numberOfIntervals=100,variableFilter="",fileNamePrefix="PowerGrids_dev_PowerGrids.Electrical.Test.TestTransformerFixedRatio") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001271/0.001278, allocations: 100.1 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.002659/0.00266, allocations: 175.9 kB / 16.58 MB, free: 6.418 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.673/1.673, allocations: 223.2 MB / 240.6 MB, free: 5.395 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 2.0.0-develop/package.mo): time 0.3399/0.3399, allocations: 14.23 MB / 305.9 MB, free: 1.082 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004107/0.0004107, allocations: 8 kB / 370.4 MB, free: 6.68 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1696/0.17, allocations: 53.92 MB / 424.3 MB, free: 0.7109 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Electrical.Test.TestTransformerFixedRatio): time 0.399/0.5691, allocations: 7.722 MB / 432 MB, free: 35.93 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.008495/0.5777, allocations: 3.683 MB / 435.7 MB, free: 33.61 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001667/0.5794, allocations: 25.94 kB / 435.7 MB, free: 33.61 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001647/0.5811, allocations: 371 kB / 436.1 MB, free: 33.43 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004691/0.5858, allocations: 1.387 MB / 437.5 MB, free: 32.53 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001198/0.587, allocations: 0.5577 MB / 438 MB, free: 32.16 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‘ Notification: Performance of NFFlatten.flatten: time 0.00314/0.5901, allocations: 1.98 MB / 440 MB, free: 31.16 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001005/0.5911, allocations: 0.5216 MB / 440.5 MB, free: 30.83 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001081/0.5922, allocations: 0.5906 MB / 441.1 MB, free: 30.57 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008266/0.5931, allocations: 0.6702 MB / 441.8 MB, free: 30.27 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 8.45e-05/0.5932, allocations: 37.56 kB / 441.8 MB, free: 30.27 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001299/0.5945, allocations: 377.8 kB / 442.2 MB, free: 30.17 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001465/0.5946, allocations: 151.2 kB / 442.3 MB, free: 30.07 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003134/0.5949, allocations: 264.1 kB / 442.6 MB, free: 29.93 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001466/0.5964, allocations: 1.275 MB / 443.9 MB, free: 29.56 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.759e-06/0.5964, allocations: 0 / 443.9 MB, free: 29.56 MB / 350.1 MB Notification: Performance of FrontEnd: time 3.116e-06/0.5964, allocations: 0 / 443.9 MB, free: 29.56 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.956e-05/0.5965, allocations: 0 / 443.9 MB, free: 29.56 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: 231 * Number of variables: 231 Notification: Performance of Generate backend data structure: time 0.006334/0.6028, allocations: 1.981 MB / 445.9 MB, free: 28.57 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.337e-05/0.6029, allocations: 13.72 kB / 445.9 MB, free: 28.57 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008856/0.6038, allocations: 189.9 kB / 446.1 MB, free: 28.49 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001375/0.6052, allocations: 0.7772 MB / 446.8 MB, free: 27.96 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.516e-05/0.6052, allocations: 69.78 kB / 446.9 MB, free: 27.93 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001267/0.6054, allocations: 94.03 kB / 447 MB, free: 27.9 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001504/0.6069, allocations: 0.9131 MB / 447.9 MB, free: 27.45 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.097e-05/0.6069, allocations: 0 / 447.9 MB, free: 27.45 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.426e-05/0.607, allocations: 40.91 kB / 447.9 MB, free: 27.41 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.924e-05/0.607, allocations: 26.02 kB / 448 MB, free: 27.41 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001311/0.6084, allocations: 0.8503 MB / 448.8 MB, free: 27.11 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.006663/0.615, allocations: 5.959 MB / 454.8 MB, free: 22.06 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002409/0.6175, allocations: 1.422 MB / 456.2 MB, free: 21.07 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006217/0.6181, allocations: 350.6 kB / 456.5 MB, free: 20.91 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.923e-05/0.6182, allocations: 14.42 kB / 456.6 MB, free: 20.9 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.021e-05/0.6183, allocations: 49.03 kB / 456.6 MB, free: 20.85 MB / 350.1 MB Notification: Performance of pre-optimization done (n=93): time 6.242e-06/0.6183, allocations: 0 / 456.6 MB, free: 20.85 MB / 350.1 MB Notification: Performance of matching and sorting (n=93): time 0.005388/0.6237, allocations: 1.749 MB / 458.4 MB, free: 20.23 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.702e-05/0.6238, allocations: 114.6 kB / 458.5 MB, free: 20.1 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001122/0.6249, allocations: 0.7118 MB / 459.2 MB, free: 19.78 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 8.1e-05/0.625, allocations: 43.45 kB / 459.2 MB, free: 19.74 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004161/0.6255, allocations: 480.3 kB / 459.7 MB, free: 19.36 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004075/0.6259, allocations: 348.7 kB / 460 MB, free: 19.09 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.012e-05/0.626, allocations: 34.25 kB / 460.1 MB, free: 19.06 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001995/0.6262, allocations: 409.5 kB / 460.5 MB, free: 18.71 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007399/0.6269, allocations: 420.8 kB / 460.9 MB, free: 18.54 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009749/0.6279, allocations: 0.6943 MB / 461.6 MB, free: 18.08 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009745/0.6289, allocations: 0.5362 MB / 462.1 MB, free: 17.8 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.093e-06/0.6289, allocations: 3.062 kB / 462.1 MB, free: 17.8 MB / 350.1 MB Notification: Performance of matching and sorting (n=211) (initialization): time 0.003393/0.6323, allocations: 1.634 MB / 463.7 MB, free: 17.09 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.096e-05/0.6324, allocations: 6 kB / 463.7 MB, free: 17.09 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.203e-05/0.6324, allocations: 6.031 kB / 463.8 MB, free: 17.09 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001117/0.6335, allocations: 300.2 kB / 464 MB, free: 17.03 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00141/0.6349, allocations: 371.3 kB / 464.4 MB, free: 16.99 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005252/0.6402, allocations: 3.032 MB / 467.4 MB, free: 14.87 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001666/0.6419, allocations: 110.4 kB / 467.5 MB, free: 14.79 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001473/0.6421, allocations: 57.72 kB / 467.6 MB, free: 14.78 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 29 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (187): * Single equations (assignments): 186 * Array equations: 0 * Algorithm blocks: 0 * 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 {4 21} Notification: Performance of prepare postOptimizeDAE: time 0.0007573/0.6428, allocations: 293.1 kB / 467.9 MB, free: 14.54 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005733/0.6434, allocations: 97.09 kB / 468 MB, free: 14.49 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00244/0.6459, allocations: 0.9862 MB / 469 MB, free: 14.04 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.899e-05/0.6459, allocations: 9.594 kB / 469 MB, free: 14.04 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.392e-06/0.6459, allocations: 1.062 kB / 469 MB, free: 14.04 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.493e-05/0.6459, allocations: 3.719 kB / 469 MB, free: 14.04 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 postOpt removeSimpleEquations (simulation): time 0.004572/0.6505, allocations: 2.514 MB / 471.5 MB, free: 12.48 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.315e-06/0.6505, allocations: 7.75 kB / 471.5 MB, free: 12.48 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007231/0.6513, allocations: 172.1 kB / 471.7 MB, free: 12.46 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001018/0.6523, allocations: 291.8 kB / 472 MB, free: 12.39 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.184e-05/0.6524, allocations: 20.08 kB / 472 MB, free: 12.38 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00462/0.657, allocations: 2.918 MB / 474.9 MB, free: 10.28 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.22e-06/0.657, allocations: 6.016 kB / 474.9 MB, free: 10.27 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002829/0.6598, allocations: 1.07 MB / 476 MB, free: 9.727 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007139/0.6606, allocations: 241.9 kB / 476.2 MB, free: 9.527 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003142/0.6609, allocations: 20.23 kB / 476.2 MB, free: 9.512 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007691/0.6617, allocations: 31.25 kB / 476.3 MB, free: 9.492 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001951/0.6619, allocations: 62.22 kB / 476.3 MB, free: 9.484 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.929e-05/0.6619, allocations: 24.55 kB / 476.3 MB, free: 9.477 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.001123/0.6631, allocations: 472.5 kB / 476.8 MB, free: 9.27 MB / 350.1 MB Notification: Performance of sort global known variables: time 5.21e-07/0.6631, allocations: 1.156 kB / 476.8 MB, free: 9.27 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.002307/0.6654, allocations: 434.6 kB / 477.2 MB, free: 9.211 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (69): * Single equations (assignments): 68 * Array equations: 0 * Algorithm blocks: 0 * 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 {4 21} Notification: Performance of Backend phase and start with SimCode phase: time 0.0005064/0.6659, allocations: 184.2 kB / 477.4 MB, free: 9.082 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.003579/0.6695, allocations: 1.295 MB / 478.7 MB, free: 8.504 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 5.79e-06/0.6695, allocations: 0 / 478.7 MB, free: 8.504 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001423/0.671, allocations: 0.6165 MB / 479.3 MB, free: 8.18 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001408/0.6724, allocations: 99.97 kB / 479.4 MB, free: 8.121 MB / 350.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.004834/0.6772, allocations: 1.967 MB / 481.4 MB, free: 6.891 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001189/0.6784, allocations: 1.017 MB / 482.4 MB, free: 6.168 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003628/0.6788, allocations: 84.28 kB / 482.5 MB, free: 6.152 MB / 350.1 MB Notification: Performance of SimCode: time 1.002e-06/0.6788, allocations: 1.219 kB / 482.5 MB, free: 6.152 MB / 350.1 MB Notification: Performance of Templates: time 0.04778/0.7266, allocations: 17.51 MB / 500 MB, free: 11.7 MB / 366.1 MB make -j1 -f PowerGrids_dev_PowerGrids.Electrical.Test.TestTransformerFixedRatio.makefile make -j1 -f PowerGrids_dev_PowerGrids.Electrical.Test.TestTransformerFixedRatio.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.TestTransformerFixedRatioCalcHelperMain.o OMCppPowerGrids_dev_PowerGrids.Electrical.Test.TestTransformerFixedRatioCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppPowerGrids_dev_PowerGrids.Electrical.Test.TestTransformerFixedRatioCalcHelperMain.o] Error 1