Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerGrids_dev_PowerGrids.Electrical.Test.TwoBusesShuntTransmissionLine.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.TwoBusesShuntTransmissionLine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=100,variableFilter="",fileNamePrefix="PowerGrids_dev_PowerGrids.Electrical.Test.TwoBusesShuntTransmissionLine") translateModel(PowerGrids.Electrical.Test.TwoBusesShuntTransmissionLine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=100,variableFilter="",fileNamePrefix="PowerGrids_dev_PowerGrids.Electrical.Test.TwoBusesShuntTransmissionLine") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001325/0.001325, allocations: 99.86 kB / 15.05 MB, free: 1.105 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.001549/0.001549, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.462/1.462, allocations: 223.2 MB / 239.9 MB, free: 5.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 2.0.0-develop/package.mo): time 0.1757/0.1757, allocations: 14.22 MB / 305.2 MB, free: 1.055 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004332/0.0004334, allocations: 12 kB / 369.6 MB, free: 6.715 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1289/0.1293, allocations: 53.92 MB / 423.5 MB, free: 0.75 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Electrical.Test.TwoBusesShuntTransmissionLine): time 0.2266/0.356, allocations: 6.107 MB / 429.6 MB, free: 36.68 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.004576/0.3606, allocations: 3.211 MB / 432.9 MB, free: 35.25 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004512/0.3611, allocations: 19.12 kB / 432.9 MB, free: 35.24 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000715/0.3618, allocations: 319.9 kB / 433.2 MB, free: 35.09 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002416/0.3642, allocations: 1.348 MB / 434.5 MB, free: 34.21 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007219/0.365, allocations: 478.3 kB / 435 MB, free: 33.91 MB / 350.1 MB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/NFFrontEnd/NFCeval.mo:1101:9-1101:67:writable] Error: Internal error NFCeval.evalBinaryDiv failed to evaluate ‘transmissionLine.UStartA / 1.732050807568877‘ [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/NFFrontEnd/NFCeval.mo:1101:9-1101:67:writable] Error: Internal error NFCeval.evalBinaryDiv failed to evaluate ‘transmissionLine.UStartB / 1.732050807568877‘ Notification: Performance of NFFlatten.flatten: time 0.001493/0.3665, allocations: 1.237 MB / 436.2 MB, free: 33.25 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005593/0.367, allocations: 459.1 kB / 436.7 MB, free: 32.95 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004968/0.3675, allocations: 0.5096 MB / 437.2 MB, free: 32.68 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004982/0.3681, allocations: 0.5305 MB / 437.7 MB, free: 32.45 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 5.688e-05/0.3681, allocations: 36.34 kB / 437.8 MB, free: 32.45 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006574/0.3688, allocations: 349.7 kB / 438.1 MB, free: 32.35 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 8.137e-05/0.3689, allocations: 115.9 kB / 438.2 MB, free: 32.28 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001422/0.369, allocations: 224.9 kB / 438.4 MB, free: 32.15 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008202/0.3698, allocations: 1.06 MB / 439.5 MB, free: 31.85 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.474e-06/0.3699, allocations: 0 / 439.5 MB, free: 31.85 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.773e-06/0.3699, allocations: 0 / 439.5 MB, free: 31.85 MB / 350.1 MB Notification: Performance of Transformations before backend: time 9.859e-06/0.3699, allocations: 0 / 439.5 MB, free: 31.85 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: 198 * Number of variables: 198 Notification: Performance of Generate backend data structure: time 0.005073/0.375, allocations: 1.725 MB / 441.2 MB, free: 30.96 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.679e-05/0.375, allocations: 10.75 kB / 441.2 MB, free: 30.96 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005647/0.3756, allocations: 152.8 kB / 441.4 MB, free: 30.9 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009084/0.3765, allocations: 0.653 MB / 442 MB, free: 30.44 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.572e-05/0.3765, allocations: 64.38 kB / 442.1 MB, free: 30.41 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.427e-05/0.3766, allocations: 80.34 kB / 442.2 MB, free: 30.39 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009684/0.3776, allocations: 0.7932 MB / 443 MB, free: 29.98 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.768e-05/0.3776, allocations: 3.094 kB / 443 MB, free: 29.98 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.786e-05/0.3777, allocations: 30.53 kB / 443 MB, free: 29.95 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.933e-05/0.3777, allocations: 19.47 kB / 443 MB, free: 29.95 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009858/0.3787, allocations: 0.7511 MB / 443.8 MB, free: 29.69 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.004047/0.3828, allocations: 4.914 MB / 448.7 MB, free: 25.55 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001533/0.3843, allocations: 1.21 MB / 449.9 MB, free: 24.76 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.326e-05/0.3844, allocations: 7.188 kB / 449.9 MB, free: 24.76 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.744e-05/0.3844, allocations: 56.91 kB / 450 MB, free: 24.7 MB / 350.1 MB Notification: Performance of pre-optimization done (n=84): time 2.855e-06/0.3844, allocations: 0 / 450 MB, free: 24.7 MB / 350.1 MB Notification: Performance of matching and sorting (n=84): time 0.00273/0.3872, allocations: 1.256 MB / 451.2 MB, free: 24.16 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.891e-05/0.3872, allocations: 121.1 kB / 451.3 MB, free: 24.03 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006412/0.3879, allocations: 0.5555 MB / 451.9 MB, free: 23.77 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 5.01e-05/0.3879, allocations: 46.3 kB / 451.9 MB, free: 23.73 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002561/0.3882, allocations: 383.2 kB / 452.3 MB, free: 23.42 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002262/0.3884, allocations: 306.8 kB / 452.6 MB, free: 23.18 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.787e-05/0.3885, allocations: 23.28 kB / 452.6 MB, free: 23.16 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001515/0.3887, allocations: 392.5 kB / 453 MB, free: 22.82 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005089/0.3892, allocations: 342.6 kB / 453.4 MB, free: 22.68 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005616/0.3897, allocations: 468.6 kB / 453.8 MB, free: 22.44 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005998/0.3903, allocations: 421.6 kB / 454.2 MB, free: 22.21 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.438e-06/0.3904, allocations: 3.219 kB / 454.2 MB, free: 22.21 MB / 350.1 MB Notification: Performance of matching and sorting (n=159) (initialization): time 0.001861/0.3922, allocations: 1.206 MB / 455.4 MB, free: 21.67 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.121e-05/0.3923, allocations: 6.281 kB / 455.4 MB, free: 21.67 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.859e-06/0.3923, allocations: 0 / 455.4 MB, free: 21.67 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000544/0.3928, allocations: 188.5 kB / 455.6 MB, free: 21.62 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001041/0.3939, allocations: 290.1 kB / 455.9 MB, free: 21.6 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002603/0.3965, allocations: 2.415 MB / 458.3 MB, free: 19.74 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008707/0.3974, allocations: 76.98 kB / 458.4 MB, free: 19.68 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.15e-05/0.3975, allocations: 40.22 kB / 458.4 MB, free: 19.67 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * 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 (144): * Single equations (assignments): 143 * 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: 1 {(4,100.0%) 12} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003558/0.3978, allocations: 250.8 kB / 458.7 MB, free: 19.46 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001328/0.398, allocations: 84.33 kB / 458.8 MB, free: 19.42 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001309/0.3993, allocations: 0.8269 MB / 459.6 MB, free: 19.02 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.069e-05/0.3993, allocations: 9.312 kB / 459.6 MB, free: 19.02 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.352e-06/0.3993, allocations: 3.281 kB / 459.6 MB, free: 19.02 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.111e-05/0.3993, allocations: 14.47 kB / 459.6 MB, free: 19.02 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.002932/0.4023, allocations: 2.185 MB / 461.8 MB, free: 17.62 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.11e-06/0.4023, allocations: 0 / 461.8 MB, free: 17.62 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007045/0.403, allocations: 172.2 kB / 462 MB, free: 17.61 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004685/0.4035, allocations: 172.3 kB / 462.1 MB, free: 17.56 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.203e-05/0.4035, allocations: 21.83 kB / 462.2 MB, free: 17.55 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002462/0.406, allocations: 2.405 MB / 464.6 MB, free: 15.69 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.673e-06/0.406, allocations: 4 kB / 464.6 MB, free: 15.68 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001192/0.4072, allocations: 0.9369 MB / 465.5 MB, free: 15.16 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002851/0.4075, allocations: 219.3 kB / 465.7 MB, free: 14.97 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.132e-05/0.4076, allocations: 10.97 kB / 465.7 MB, free: 14.96 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004125/0.408, allocations: 28.44 kB / 465.8 MB, free: 14.95 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.389e-05/0.4081, allocations: 49.64 kB / 465.8 MB, free: 14.93 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.52e-05/0.4081, allocations: 21.92 kB / 465.8 MB, free: 14.93 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0004456/0.4086, allocations: 383.6 kB / 466.2 MB, free: 14.75 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4086, allocations: 0 / 466.2 MB, free: 14.75 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.001122/0.4097, allocations: 351.2 kB / 466.5 MB, free: 14.7 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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: 1 {(4,100.0%) 12} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000304/0.41, allocations: 169.4 kB / 466.7 MB, free: 14.57 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001863/0.4119, allocations: 1.056 MB / 467.8 MB, free: 14.1 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 4.398e-06/0.4119, allocations: 3.938 kB / 467.8 MB, free: 14.09 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007724/0.4127, allocations: 0.538 MB / 468.3 MB, free: 13.81 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005037/0.4132, allocations: 69.5 kB / 468.4 MB, free: 13.77 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.002205/0.4154, allocations: 1.614 MB / 470 MB, free: 12.75 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004173/0.4159, allocations: 0.9781 MB / 471 MB, free: 12.04 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.000487/0.4164, allocations: 110.2 kB / 471.1 MB, free: 12 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001492/0.4165, allocations: 62.7 kB / 471.1 MB, free: 11.99 MB / 350.1 MB Notification: Performance of SimCode: time 7.42e-07/0.4165, allocations: 0 / 471.1 MB, free: 11.99 MB / 350.1 MB Notification: Performance of Templates: time 0.01757/0.4341, allocations: 8.98 MB / 480.1 MB, free: 11.14 MB / 350.1 MB make -j1 -f PowerGrids_dev_PowerGrids.Electrical.Test.TwoBusesShuntTransmissionLine.makefile (rm -f PowerGrids_dev_PowerGrids.Electrical.Test.TwoBusesShuntTransmissionLine.pipe ; mkfifo PowerGrids_dev_PowerGrids.Electrical.Test.TwoBusesShuntTransmissionLine.pipe ; head -c 1048576 < PowerGrids_dev_PowerGrids.Electrical.Test.TwoBusesShuntTransmissionLine.pipe >> ../files/PowerGrids_dev_PowerGrids.Electrical.Test.TwoBusesShuntTransmissionLine.sim & ./PowerGrids_dev_PowerGrids.Electrical.Test.TwoBusesShuntTransmissionLine -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerGrids_dev_PowerGrids.Electrical.Test.TwoBusesShuntTransmissionLine.pipe 2>&1)