Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerGrids_dev_PowerGrids.Electrical.Test.OneBusTransmissionLineOneLoad.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.OneBusTransmissionLineOneLoad,tolerance=1e-06,outputFormat="empty",numberOfIntervals=100,variableFilter="",fileNamePrefix="PowerGrids_dev_PowerGrids.Electrical.Test.OneBusTransmissionLineOneLoad") translateModel(PowerGrids.Electrical.Test.OneBusTransmissionLineOneLoad,tolerance=1e-06,outputFormat="empty",numberOfIntervals=100,variableFilter="",fileNamePrefix="PowerGrids_dev_PowerGrids.Electrical.Test.OneBusTransmissionLineOneLoad") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009343/0.0009341, allocations: 102.6 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.00156/0.00156, allocations: 171.3 kB / 16.58 MB, free: 6.383 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.473/1.473, allocations: 223.2 MB / 240.6 MB, free: 5.438 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 2.0.0-develop/package.mo): time 0.2247/0.2247, allocations: 14.23 MB / 305.9 MB, free: 1.043 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003289/0.0003291, allocations: 16 kB / 370.4 MB, free: 6.73 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.145/0.1454, allocations: 53.91 MB / 424.3 MB, free: 0.7656 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Electrical.Test.OneBusTransmissionLineOneLoad): time 0.3125/0.458, allocations: 7.724 MB / 432 MB, free: 35.93 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.006071/0.4641, allocations: 3.68 MB / 435.7 MB, free: 33.72 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009492/0.465, allocations: 25.53 kB / 435.7 MB, free: 33.71 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001068/0.4661, allocations: 366.4 kB / 436.1 MB, free: 33.54 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003809/0.4699, allocations: 1.396 MB / 437.5 MB, free: 32.63 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001082/0.471, allocations: 0.5591 MB / 438 MB, free: 32.27 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 ‘transmissionLine.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 ‘transmissionLine.UStartB / 1.732050807568877‘ Notification: Performance of NFFlatten.flatten: time 0.002642/0.4737, allocations: 1.98 MB / 440 MB, free: 31.26 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008781/0.4746, allocations: 0.5073 MB / 440.5 MB, free: 30.95 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009242/0.4755, allocations: 0.5922 MB / 441.1 MB, free: 30.68 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007167/0.4762, allocations: 0.6788 MB / 441.8 MB, free: 30.38 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 7.915e-05/0.4763, allocations: 39.03 kB / 441.8 MB, free: 30.38 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001097/0.4774, allocations: 375.3 kB / 442.2 MB, free: 30.28 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000123/0.4776, allocations: 147.2 kB / 442.3 MB, free: 30.19 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002698/0.4778, allocations: 262 kB / 442.6 MB, free: 30.04 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001232/0.4791, allocations: 1.279 MB / 443.9 MB, free: 29.67 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.502e-06/0.4791, allocations: 0 / 443.9 MB, free: 29.67 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.655e-06/0.4791, allocations: 0 / 443.9 MB, free: 29.67 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.034e-05/0.4791, allocations: 0 / 443.9 MB, free: 29.67 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.005908/0.485, allocations: 1.976 MB / 445.8 MB, free: 28.69 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.249e-05/0.4851, allocations: 9.531 kB / 445.9 MB, free: 28.69 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007561/0.4858, allocations: 188.5 kB / 446 MB, free: 28.61 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001192/0.487, allocations: 0.7766 MB / 446.8 MB, free: 28.09 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.019e-05/0.4871, allocations: 75.56 kB / 446.9 MB, free: 28.05 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001008/0.4872, allocations: 97.83 kB / 447 MB, free: 28.02 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001333/0.4886, allocations: 0.9071 MB / 447.9 MB, free: 27.56 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.947e-05/0.4886, allocations: 0 / 447.9 MB, free: 27.56 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.074e-05/0.4887, allocations: 40.98 kB / 447.9 MB, free: 27.54 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.537e-05/0.4887, allocations: 26.95 kB / 448 MB, free: 27.53 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001209/0.4899, allocations: 0.8536 MB / 448.8 MB, free: 27.23 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.005553/0.4955, allocations: 6.029 MB / 454.8 MB, free: 22.11 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001693/0.4972, allocations: 1.405 MB / 456.2 MB, free: 21.13 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004161/0.4976, allocations: 372 kB / 456.6 MB, free: 20.96 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.961e-05/0.4977, allocations: 14.73 kB / 456.6 MB, free: 20.95 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.867e-05/0.4977, allocations: 58.95 kB / 456.7 MB, free: 20.89 MB / 350.1 MB Notification: Performance of pre-optimization done (n=93): time 3.446e-06/0.4977, allocations: 3.938 kB / 456.7 MB, free: 20.89 MB / 350.1 MB Notification: Performance of matching and sorting (n=93): time 0.004046/0.5018, allocations: 1.671 MB / 458.4 MB, free: 20.28 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.133e-05/0.5018, allocations: 119.7 kB / 458.5 MB, free: 20.15 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007702/0.5026, allocations: 0.7028 MB / 459.2 MB, free: 19.83 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 5.537e-05/0.5027, allocations: 43.77 kB / 459.2 MB, free: 19.79 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002692/0.5029, allocations: 492 kB / 459.7 MB, free: 19.4 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000265/0.5032, allocations: 343.9 kB / 460 MB, free: 19.13 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.016e-05/0.5033, allocations: 33.66 kB / 460.1 MB, free: 19.11 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001328/0.5034, allocations: 415.6 kB / 460.5 MB, free: 18.75 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005891/0.504, allocations: 419.7 kB / 460.9 MB, free: 18.58 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006815/0.5047, allocations: 0.6672 MB / 461.5 MB, free: 18.14 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007242/0.5054, allocations: 0.5299 MB / 462.1 MB, free: 17.87 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.669e-06/0.5054, allocations: 0 / 462.1 MB, free: 17.87 MB / 350.1 MB Notification: Performance of matching and sorting (n=211) (initialization): time 0.002429/0.5079, allocations: 1.627 MB / 463.7 MB, free: 17.16 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.161e-05/0.5079, allocations: 5.969 kB / 463.7 MB, free: 17.16 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.233e-05/0.5079, allocations: 12.53 kB / 463.7 MB, free: 17.16 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000879/0.5088, allocations: 293.3 kB / 464 MB, free: 17.09 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001194/0.51, allocations: 365.3 kB / 464.4 MB, free: 17.06 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003549/0.5136, allocations: 2.976 MB / 467.3 MB, free: 14.96 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001119/0.5147, allocations: 120.4 kB / 467.5 MB, free: 14.88 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.977e-05/0.5148, allocations: 58.97 kB / 467.5 MB, free: 14.87 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 27 * 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.000441/0.5153, allocations: 273.8 kB / 467.8 MB, free: 14.64 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000184/0.5154, allocations: 107.3 kB / 467.9 MB, free: 14.59 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001861/0.5173, allocations: 0.9723 MB / 468.9 MB, free: 14.13 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.156e-05/0.5173, allocations: 13 kB / 468.9 MB, free: 14.13 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.777e-06/0.5173, allocations: 1.125 kB / 468.9 MB, free: 14.13 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.057e-05/0.5174, allocations: 5.594 kB / 468.9 MB, free: 14.13 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.003927/0.5213, allocations: 2.509 MB / 471.4 MB, free: 12.57 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.909e-06/0.5213, allocations: 1.25 kB / 471.4 MB, free: 12.57 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006258/0.5219, allocations: 166.9 kB / 471.6 MB, free: 12.56 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008866/0.5228, allocations: 282.3 kB / 471.8 MB, free: 12.49 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.961e-05/0.5229, allocations: 19.62 kB / 471.8 MB, free: 12.48 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003646/0.5265, allocations: 2.897 MB / 474.7 MB, free: 10.38 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.124e-06/0.5266, allocations: 0 / 474.7 MB, free: 10.38 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002141/0.5287, allocations: 1.068 MB / 475.8 MB, free: 9.832 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004378/0.5292, allocations: 237 kB / 476 MB, free: 9.637 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.894e-05/0.5293, allocations: 16.78 kB / 476.1 MB, free: 9.625 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004592/0.5297, allocations: 35.36 kB / 476.1 MB, free: 9.602 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000116/0.5299, allocations: 65.47 kB / 476.2 MB, free: 9.59 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.228e-05/0.5299, allocations: 21.42 kB / 476.2 MB, free: 9.586 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0007408/0.5307, allocations: 464 kB / 476.6 MB, free: 9.383 MB / 350.1 MB Notification: Performance of sort global known variables: time 6.61e-07/0.5307, allocations: 3.938 kB / 476.6 MB, free: 9.379 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.001495/0.5322, allocations: 436 kB / 477.1 MB, free: 9.32 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.0002525/0.5324, allocations: 191.1 kB / 477.2 MB, free: 9.188 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.002188/0.5346, allocations: 1.291 MB / 478.5 MB, free: 8.613 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.785e-06/0.5346, allocations: 2.969 kB / 478.5 MB, free: 8.613 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001052/0.5357, allocations: 0.6051 MB / 479.1 MB, free: 8.301 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006789/0.5364, allocations: 103 kB / 479.2 MB, free: 8.242 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.003741/0.5401, allocations: 1.982 MB / 481.2 MB, free: 7.004 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008953/0.5411, allocations: 1.016 MB / 482.2 MB, free: 6.281 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002993/0.5414, allocations: 75.34 kB / 482.3 MB, free: 6.273 MB / 350.1 MB Notification: Performance of SimCode: time 1.022e-06/0.5414, allocations: 1.312 kB / 482.3 MB, free: 6.273 MB / 350.1 MB Notification: Performance of Templates: time 0.03437/0.5757, allocations: 17.51 MB / 499.8 MB, free: 11.94 MB / 366.1 MB make -j1 -f PowerGrids_dev_PowerGrids.Electrical.Test.OneBusTransmissionLineOneLoad.makefile make -j1 -f PowerGrids_dev_PowerGrids.Electrical.Test.OneBusTransmissionLineOneLoad.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.OneBusTransmissionLineOneLoadCalcHelperMain.o OMCppPowerGrids_dev_PowerGrids.Electrical.Test.OneBusTransmissionLineOneLoadCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppPowerGrids_dev_PowerGrids.Electrical.Test.OneBusTransmissionLineOneLoadCalcHelperMain.o] Error 1