Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerGrids_dev_PowerGrids.Electrical.Test.TwoBusesInductiveTransmissionLine.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.TwoBusesInductiveTransmissionLine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=100,variableFilter="",fileNamePrefix="PowerGrids_dev_PowerGrids.Electrical.Test.TwoBusesInductiveTransmissionLine") translateModel(PowerGrids.Electrical.Test.TwoBusesInductiveTransmissionLine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=100,variableFilter="",fileNamePrefix="PowerGrids_dev_PowerGrids.Electrical.Test.TwoBusesInductiveTransmissionLine") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001465/0.00147, 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.001802/0.001802, 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.386/1.386, allocations: 223.2 MB / 239.9 MB, free: 5.316 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 2.0.0-develop/package.mo): time 0.1958/0.1958, allocations: 14.22 MB / 305.2 MB, free: 1.07 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003402/0.0003401, allocations: 12 kB / 369.6 MB, free: 6.684 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1154/0.1158, allocations: 53.9 MB / 423.5 MB, free: 0.7344 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Electrical.Test.TwoBusesInductiveTransmissionLine): time 0.2316/0.3474, allocations: 6.116 MB / 429.6 MB, free: 36.82 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.004775/0.3522, allocations: 3.215 MB / 432.9 MB, free: 35.34 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000667/0.3529, allocations: 22.47 kB / 432.9 MB, free: 35.34 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008051/0.3537, allocations: 313.9 kB / 433.2 MB, free: 35.19 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002604/0.3564, allocations: 1.349 MB / 434.5 MB, free: 34.3 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007269/0.3571, allocations: 478.5 kB / 435 MB, free: 34 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.001502/0.3586, allocations: 1.24 MB / 436.2 MB, free: 33.34 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006151/0.3592, allocations: 452.7 kB / 436.7 MB, free: 33.04 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005783/0.3598, allocations: 0.5013 MB / 437.2 MB, free: 32.78 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005167/0.3603, allocations: 0.5427 MB / 437.7 MB, free: 32.54 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 6.041e-05/0.3604, allocations: 32.34 kB / 437.8 MB, free: 32.54 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008183/0.3612, allocations: 345.4 kB / 438.1 MB, free: 32.45 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001182/0.3614, allocations: 121.6 kB / 438.2 MB, free: 32.37 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001605/0.3615, allocations: 224.3 kB / 438.4 MB, free: 32.24 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009262/0.3625, allocations: 1.057 MB / 439.5 MB, free: 31.95 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.036e-06/0.3625, allocations: 0 / 439.5 MB, free: 31.95 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.225e-06/0.3625, allocations: 0 / 439.5 MB, free: 31.95 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.238e-05/0.3625, allocations: 6.906 kB / 439.5 MB, free: 31.94 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.005449/0.368, allocations: 1.719 MB / 441.2 MB, free: 31.05 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.214e-05/0.368, allocations: 9.875 kB / 441.2 MB, free: 31.05 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006786/0.3687, allocations: 152.6 kB / 441.4 MB, free: 31 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001167/0.3699, allocations: 0.6601 MB / 442 MB, free: 30.53 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.402e-05/0.37, allocations: 67.23 kB / 442.1 MB, free: 30.5 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001095/0.3701, allocations: 80.41 kB / 442.2 MB, free: 30.48 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001211/0.3713, allocations: 0.7926 MB / 443 MB, free: 30.07 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.313e-05/0.3713, allocations: 7.938 kB / 443 MB, free: 30.06 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.365e-05/0.3714, allocations: 30.56 kB / 443 MB, free: 30.04 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.716e-05/0.3715, allocations: 19.78 kB / 443 MB, free: 30.04 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001131/0.3726, allocations: 0.7452 MB / 443.8 MB, free: 29.77 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.004249/0.3769, allocations: 4.91 MB / 448.7 MB, free: 25.64 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001846/0.3787, allocations: 1.205 MB / 449.9 MB, free: 24.85 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.806e-05/0.3788, allocations: 18.17 kB / 449.9 MB, free: 24.84 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.478e-05/0.3788, allocations: 45.94 kB / 450 MB, free: 24.8 MB / 350.1 MB Notification: Performance of pre-optimization done (n=84): time 2.524e-06/0.3788, allocations: 3.938 kB / 450 MB, free: 24.79 MB / 350.1 MB Notification: Performance of matching and sorting (n=84): time 0.002918/0.3818, allocations: 1.258 MB / 451.2 MB, free: 24.25 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.533e-05/0.3818, allocations: 120.9 kB / 451.3 MB, free: 24.12 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006641/0.3825, allocations: 0.554 MB / 451.9 MB, free: 23.86 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 5.05e-05/0.3826, allocations: 40.98 kB / 451.9 MB, free: 23.82 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002812/0.3829, allocations: 386 kB / 452.3 MB, free: 23.52 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000312/0.3832, allocations: 303 kB / 452.6 MB, free: 23.28 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.263e-05/0.3832, allocations: 27.19 kB / 452.6 MB, free: 23.26 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001869/0.3834, allocations: 392.8 kB / 453 MB, free: 22.91 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004752/0.3839, allocations: 340.6 kB / 453.3 MB, free: 22.77 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005561/0.3845, allocations: 468.1 kB / 453.8 MB, free: 22.53 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006317/0.3851, allocations: 420.6 kB / 454.2 MB, free: 22.31 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.578e-06/0.3851, allocations: 4 kB / 454.2 MB, free: 22.31 MB / 350.1 MB Notification: Performance of matching and sorting (n=159) (initialization): time 0.001772/0.3869, allocations: 1.206 MB / 455.4 MB, free: 21.77 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.108e-05/0.3869, allocations: 6.312 kB / 455.4 MB, free: 21.77 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.756e-06/0.387, allocations: 224 / 455.4 MB, free: 21.77 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005358/0.3875, allocations: 185.8 kB / 455.6 MB, free: 21.71 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001112/0.3886, allocations: 293.6 kB / 455.9 MB, free: 21.69 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002544/0.3912, allocations: 2.407 MB / 458.3 MB, free: 19.84 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008877/0.3921, allocations: 69.03 kB / 458.4 MB, free: 19.79 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.547e-05/0.3922, allocations: 44.83 kB / 458.4 MB, free: 19.78 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.000389/0.3925, allocations: 242.8 kB / 458.7 MB, free: 19.57 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001501/0.3927, allocations: 81.7 kB / 458.7 MB, free: 19.53 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001305/0.394, allocations: 0.8363 MB / 459.6 MB, free: 19.13 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.795e-06/0.394, allocations: 8.844 kB / 459.6 MB, free: 19.13 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.472e-06/0.394, allocations: 10.16 kB / 459.6 MB, free: 19.12 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.135e-06/0.3941, allocations: 7.266 kB / 459.6 MB, free: 19.12 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.002439/0.3965, allocations: 2.181 MB / 461.8 MB, free: 17.73 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.689e-06/0.3965, allocations: 0 / 461.8 MB, free: 17.73 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006534/0.3972, allocations: 173.8 kB / 461.9 MB, free: 17.72 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004316/0.3976, allocations: 178.8 kB / 462.1 MB, free: 17.67 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.701e-05/0.3977, allocations: 19.02 kB / 462.1 MB, free: 17.65 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002273/0.3999, allocations: 2.379 MB / 464.5 MB, free: 15.81 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.235e-06/0.4, allocations: 6.75 kB / 464.5 MB, free: 15.81 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001149/0.4011, allocations: 0.9312 MB / 465.5 MB, free: 15.28 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002797/0.4014, allocations: 219 kB / 465.7 MB, free: 15.1 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.328e-05/0.4015, allocations: 17.72 kB / 465.7 MB, free: 15.09 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004081/0.4019, allocations: 24.53 kB / 465.7 MB, free: 15.07 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.681e-05/0.402, allocations: 55.42 kB / 465.8 MB, free: 15.05 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.227e-05/0.402, allocations: 23.16 kB / 465.8 MB, free: 15.05 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0003964/0.4024, allocations: 381.8 kB / 466.2 MB, free: 14.88 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4024, allocations: 0 / 466.2 MB, free: 14.88 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0009952/0.4034, allocations: 352 kB / 466.5 MB, free: 14.82 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.0002388/0.4037, allocations: 177.6 kB / 466.7 MB, free: 14.69 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001744/0.4054, allocations: 1.06 MB / 467.7 MB, free: 14.21 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.534e-06/0.4055, allocations: 3.938 kB / 467.7 MB, free: 14.21 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000748/0.4062, allocations: 0.5458 MB / 468.3 MB, free: 13.93 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000498/0.4067, allocations: 69.48 kB / 468.4 MB, free: 13.89 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.002105/0.4088, allocations: 1.619 MB / 470 MB, free: 12.88 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004192/0.4093, allocations: 0.9802 MB / 471 MB, free: 12.16 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0005017/0.4098, allocations: 117.9 kB / 471.1 MB, free: 12.11 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001745/0.41, allocations: 59.92 kB / 471.1 MB, free: 12.11 MB / 350.1 MB Notification: Performance of SimCode: time 1.252e-06/0.41, allocations: 0 / 471.1 MB, free: 12.11 MB / 350.1 MB Notification: Performance of Templates: time 0.01917/0.4291, allocations: 8.961 MB / 480.1 MB, free: 11.26 MB / 350.1 MB make -j1 -f PowerGrids_dev_PowerGrids.Electrical.Test.TwoBusesInductiveTransmissionLine.makefile (rm -f PowerGrids_dev_PowerGrids.Electrical.Test.TwoBusesInductiveTransmissionLine.pipe ; mkfifo PowerGrids_dev_PowerGrids.Electrical.Test.TwoBusesInductiveTransmissionLine.pipe ; head -c 1048576 < PowerGrids_dev_PowerGrids.Electrical.Test.TwoBusesInductiveTransmissionLine.pipe >> ../files/PowerGrids_dev_PowerGrids.Electrical.Test.TwoBusesInductiveTransmissionLine.sim & ./PowerGrids_dev_PowerGrids.Electrical.Test.TwoBusesInductiveTransmissionLine -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerGrids_dev_PowerGrids.Electrical.Test.TwoBusesInductiveTransmissionLine.pipe 2>&1)