Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerGrids_dev_PowerGrids.Electrical.PowerFlow.Test.OneSlackOnePVWithOneLine.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.PowerFlow.Test.OneSlackOnePVWithOneLine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerGrids_dev_PowerGrids.Electrical.PowerFlow.Test.OneSlackOnePVWithOneLine") translateModel(PowerGrids.Electrical.PowerFlow.Test.OneSlackOnePVWithOneLine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerGrids_dev_PowerGrids.Electrical.PowerFlow.Test.OneSlackOnePVWithOneLine") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001251/0.001251, allocations: 100.1 kB / 15.88 MB, free: 12 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.001352/0.001352, allocations: 199.7 kB / 16.8 MB, free: 6.828 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.498/1.498, allocations: 222.9 MB / 240.5 MB, free: 4.559 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 2.0.0-develop/package.mo): time 0.248/0.248, allocations: 16.78 MB / 307.4 MB, free: 14.98 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00135/0.00135, allocations: 63.89 kB / 371.7 MB, free: 4.086 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.53/0.5314, allocations: 53.56 MB / 425.3 MB, free: 38.73 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Electrical.PowerFlow.Test.OneSlackOnePVWithOneLine): time 0.0113/0.5428, allocations: 10.99 MB / 436.3 MB, free: 32.06 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.007122/0.55, allocations: 3.517 MB / 439.8 MB, free: 29.55 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001216/0.5512, allocations: 22.91 kB / 439.8 MB, free: 29.54 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001248/0.5526, allocations: 355.2 kB / 440.2 MB, free: 29.39 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004372/0.5569, allocations: 1.538 MB / 441.7 MB, free: 28.38 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0015/0.5585, allocations: 0.6388 MB / 442.3 MB, free: 28.01 MB / 350.1 MB [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/NFFrontEnd/NFCeval.mo:1125:9-1125:67:writable] Error: Internal error NFCeval.evalBinaryDiv failed to evaluate ‘slack.UStartPF / 1.732050807568877‘ [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/NFFrontEnd/NFCeval.mo:1125:9-1125:67:writable] Error: Internal error NFCeval.evalBinaryDiv failed to evaluate ‘line.UStartAPF / 1.732050807568877‘ [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/NFFrontEnd/NFCeval.mo:1125:9-1125:67:writable] Error: Internal error NFCeval.evalBinaryDiv failed to evaluate ‘line.UStartBPF / 1.732050807568877‘ [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/NFFrontEnd/NFCeval.mo:1125:9-1125:67:writable] Error: Internal error NFCeval.evalBinaryDiv failed to evaluate ‘node1.UStartPF / 1.732050807568877‘ Notification: Performance of NFFlatten.flatten: time 0.003016/0.5615, allocations: 1.802 MB / 444.1 MB, free: 27.1 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003031/0.5618, allocations: 134.2 kB / 444.3 MB, free: 27.03 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007206/0.5625, allocations: 0.5634 MB / 444.8 MB, free: 26.77 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006621/0.5632, allocations: 0.6648 MB / 445.5 MB, free: 26.46 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001008/0.5633, allocations: 39.5 kB / 445.5 MB, free: 26.46 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001153/0.5645, allocations: 333.2 kB / 445.9 MB, free: 26.37 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001465/0.5646, allocations: 170.5 kB / 446 MB, free: 26.26 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005561/0.5652, allocations: 0.5883 MB / 446.6 MB, free: 25.92 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001187/0.5664, allocations: 1.198 MB / 447.8 MB, free: 25.45 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.534e-06/0.5664, allocations: 4 kB / 447.8 MB, free: 25.45 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.433e-06/0.5664, allocations: 0 / 447.8 MB, free: 25.45 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.332e-05/0.5664, allocations: 0 / 447.8 MB, free: 25.45 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: 209 * Number of variables: 209 Notification: Performance of Generate backend data structure: time 0.008108/0.5745, allocations: 2.365 MB / 450.2 MB, free: 24.33 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.014e-05/0.5746, allocations: 10.12 kB / 450.2 MB, free: 24.33 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006715/0.5753, allocations: 177 kB / 450.4 MB, free: 24.26 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001185/0.5765, allocations: 0.7388 MB / 451.1 MB, free: 23.74 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.185e-05/0.5766, allocations: 71.02 kB / 451.2 MB, free: 23.71 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001205/0.5767, allocations: 93.09 kB / 451.3 MB, free: 23.68 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001338/0.578, allocations: 1.02 MB / 452.3 MB, free: 22.99 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.965e-05/0.5781, allocations: 14.58 kB / 452.3 MB, free: 22.98 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.635e-05/0.5782, allocations: 33.72 kB / 452.3 MB, free: 22.96 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.155e-05/0.5782, allocations: 22.75 kB / 452.4 MB, free: 22.96 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001188/0.5794, allocations: 0.8023 MB / 453.2 MB, free: 22.66 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.005687/0.5851, allocations: 6.526 MB / 459.7 MB, free: 17.22 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001427/0.5865, allocations: 0.7249 MB / 460.4 MB, free: 16.91 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003967/0.587, allocations: 286.2 kB / 460.7 MB, free: 16.79 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.055e-05/0.587, allocations: 14.23 kB / 460.7 MB, free: 16.79 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.396e-05/0.5871, allocations: 41.5 kB / 460.7 MB, free: 16.74 MB / 350.1 MB Notification: Performance of pre-optimization done (n=75): time 3.717e-06/0.5871, allocations: 0 / 460.7 MB, free: 16.74 MB / 350.1 MB Notification: Performance of matching and sorting (n=75): time 0.003349/0.5904, allocations: 1.286 MB / 462 MB, free: 16.21 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.178e-05/0.5905, allocations: 69.25 kB / 462.1 MB, free: 16.14 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001126/0.5916, allocations: 0.9193 MB / 463 MB, free: 15.72 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 6.089e-05/0.5917, allocations: 40.77 kB / 463.1 MB, free: 15.68 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003993/0.5921, allocations: 0.5142 MB / 463.6 MB, free: 15.26 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002858/0.5924, allocations: 308.1 kB / 463.9 MB, free: 15.04 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006187/0.593, allocations: 479.8 kB / 464.3 MB, free: 14.8 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001088/0.5931, allocations: 341.4 kB / 464.7 MB, free: 14.48 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009471/0.5941, allocations: 0.6424 MB / 465.3 MB, free: 14.23 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001092/0.5952, allocations: 0.8571 MB / 466.2 MB, free: 13.84 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002292/0.5975, allocations: 1.303 MB / 467.5 MB, free: 13.14 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.063e-06/0.5975, allocations: 0.9688 kB / 467.5 MB, free: 13.14 MB / 350.1 MB Notification: Performance of matching and sorting (n=340) (initialization): time 0.004446/0.6019, allocations: 2.145 MB / 469.6 MB, free: 12.21 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.839e-05/0.602, allocations: 12.06 kB / 469.6 MB, free: 12.21 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.675e-05/0.602, allocations: 2.156 kB / 469.6 MB, free: 12.21 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008214/0.6029, allocations: 179.8 kB / 469.8 MB, free: 12.16 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002153/0.605, allocations: 0.5087 MB / 470.3 MB, free: 12.11 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003641/0.6087, allocations: 2.497 MB / 472.8 MB, free: 10.13 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001896/0.6106, allocations: 170 kB / 473 MB, free: 10 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001589/0.6108, allocations: 80.28 kB / 473.1 MB, free: 9.984 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 2 (node1.isSlackBus,slack.isSlackBus) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (325): * Single equations (assignments): 324 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,14)} Notification: Performance of prepare postOptimizeDAE: time 0.000627/0.6114, allocations: 297.4 kB / 473.4 MB, free: 9.734 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002458/0.6116, allocations: 109.7 kB / 473.5 MB, free: 9.68 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001727/0.6134, allocations: 0.7775 MB / 474.2 MB, free: 9.309 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.514e-05/0.6134, allocations: 7.234 kB / 474.2 MB, free: 9.309 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.489e-06/0.6134, allocations: 4.875 kB / 474.2 MB, free: 9.305 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.195e-05/0.6134, allocations: 6.797 kB / 474.3 MB, free: 9.305 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002954/0.6164, allocations: 1.754 MB / 476 MB, free: 8.391 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.771e-06/0.6164, allocations: 1.375 kB / 476 MB, free: 8.391 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005102/0.6169, allocations: 105.2 kB / 476.1 MB, free: 8.383 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006364/0.6176, allocations: 168.5 kB / 476.3 MB, free: 8.336 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.4e-05/0.6176, allocations: 19.45 kB / 476.3 MB, free: 8.324 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003066/0.6207, allocations: 2.434 MB / 478.7 MB, free: 6.355 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.297e-06/0.6207, allocations: 1.031 kB / 478.7 MB, free: 6.355 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001808/0.6225, allocations: 0.8669 MB / 479.6 MB, free: 5.891 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005378/0.6231, allocations: 258.4 kB / 479.9 MB, free: 5.68 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001294/0.6232, allocations: 12.22 kB / 479.9 MB, free: 5.672 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007207/0.624, allocations: 27.88 kB / 479.9 MB, free: 5.66 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001349/0.6241, allocations: 51.42 kB / 479.9 MB, free: 5.648 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.814e-05/0.6242, allocations: 21.55 kB / 480 MB, free: 5.645 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.001022/0.6252, allocations: 0.5629 MB / 480.5 MB, free: 5.391 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.6252, allocations: 0 / 480.5 MB, free: 5.391 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.002043/0.6273, allocations: 0.4936 MB / 481 MB, free: 5.32 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (60): * Single equations (assignments): 59 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,14)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0004125/0.6277, allocations: 171.6 kB / 481.2 MB, free: 5.199 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.003424/0.6311, allocations: 1.567 MB / 482.8 MB, free: 4.543 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 5.841e-06/0.6311, allocations: 1.375 kB / 482.8 MB, free: 4.543 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008797/0.632, allocations: 483.7 kB / 483.2 MB, free: 4.273 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008654/0.6329, allocations: 92.03 kB / 483.3 MB, free: 4.215 MB / 350.1 MB Warning: The hideResult annotation could not be evaluated, probably due to missing annotation(Evaluate=true). It is removed. Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003359/0.6363, allocations: 1.933 MB / 485.2 MB, free: 2.969 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007386/0.637, allocations: 0.9988 MB / 486.2 MB, free: 2.246 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003776/0.6374, allocations: 93.3 kB / 486.3 MB, free: 2.234 MB / 350.1 MB Notification: Performance of SimCode: time 1.173e-06/0.6374, allocations: 0 / 486.3 MB, free: 2.234 MB / 350.1 MB Notification: Performance of Templates: time 0.04106/0.6785, allocations: 18.57 MB / 0.4931 GB, free: 4.824 MB / 366.1 MB make -j1 -f PowerGrids_dev_PowerGrids.Electrical.PowerFlow.Test.OneSlackOnePVWithOneLine.makefile (rm -f PowerGrids_dev_PowerGrids.Electrical.PowerFlow.Test.OneSlackOnePVWithOneLine.pipe ; mkfifo PowerGrids_dev_PowerGrids.Electrical.PowerFlow.Test.OneSlackOnePVWithOneLine.pipe ; head -c 1048576 < PowerGrids_dev_PowerGrids.Electrical.PowerFlow.Test.OneSlackOnePVWithOneLine.pipe >> ../files/PowerGrids_dev_PowerGrids.Electrical.PowerFlow.Test.OneSlackOnePVWithOneLine.sim & ./PowerGrids_dev_PowerGrids.Electrical.PowerFlow.Test.OneSlackOnePVWithOneLine -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerGrids_dev_PowerGrids.Electrical.PowerFlow.Test.OneSlackOnePVWithOneLine.pipe 2>&1)