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.00145/0.00145, allocations: 115.3 kB / 15.34 MB, free: 0.5117 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.001618/0.001618, allocations: 191.8 kB / 16.25 MB, free: 6.633 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.33/1.33, allocations: 222.9 MB / 239.9 MB, free: 4.531 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 2.0.0-develop/package.mo): time 0.207/0.207, allocations: 16.79 MB / 306.9 MB, free: 14.88 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001321/0.001321, allocations: 63.89 kB / 371.3 MB, free: 3.957 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3937/0.395, allocations: 53.55 MB / 424.8 MB, free: 39.01 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Electrical.PowerFlow.Test.OneSlackOnePVWithOneLine): time 0.009323/0.4044, allocations: 11 MB / 435.8 MB, free: 32.25 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.005346/0.4098, allocations: 3.502 MB / 439.3 MB, free: 29.74 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009487/0.4108, allocations: 28.03 kB / 439.3 MB, free: 29.73 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001088/0.4119, allocations: 356 kB / 439.7 MB, free: 29.58 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003684/0.4156, allocations: 1.499 MB / 441.2 MB, free: 28.6 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00125/0.4169, allocations: 0.6407 MB / 441.8 MB, free: 28.23 MB / 350.1 MB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/NFFrontEnd/NFCeval.mo:1126:9-1126:67:writable] Error: Internal error NFCeval.evalBinaryDiv failed to evaluate ‘slack.UStartPF / 1.732050807568877‘ [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/NFFrontEnd/NFCeval.mo:1126:9-1126:67:writable] Error: Internal error NFCeval.evalBinaryDiv failed to evaluate ‘line.UStartAPF / 1.732050807568877‘ [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/NFFrontEnd/NFCeval.mo:1126:9-1126:67:writable] Error: Internal error NFCeval.evalBinaryDiv failed to evaluate ‘line.UStartBPF / 1.732050807568877‘ [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/NFFrontEnd/NFCeval.mo:1126:9-1126:67:writable] Error: Internal error NFCeval.evalBinaryDiv failed to evaluate ‘node1.UStartPF / 1.732050807568877‘ Notification: Performance of NFFlatten.flatten: time 0.002176/0.4191, allocations: 1.896 MB / 443.7 MB, free: 27.23 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002955/0.4194, allocations: 142 kB / 443.9 MB, free: 27.17 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007725/0.4202, allocations: 0.6403 MB / 444.5 MB, free: 26.84 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000601/0.4208, allocations: 0.7084 MB / 445.2 MB, free: 26.49 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001041/0.4209, allocations: 68.66 kB / 445.3 MB, free: 26.49 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009722/0.4219, allocations: 391.9 kB / 445.7 MB, free: 26.4 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001456/0.422, allocations: 190.1 kB / 445.8 MB, free: 26.27 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005281/0.4225, allocations: 0.6479 MB / 446.5 MB, free: 25.86 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001714/0.4243, allocations: 1.551 MB / 448 MB, free: 25.21 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.778e-06/0.4243, allocations: 0 / 448 MB, free: 25.21 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.282e-06/0.4243, allocations: 3.188 kB / 448 MB, free: 25.21 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.458e-05/0.4243, allocations: 3.703 kB / 448 MB, free: 25.21 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.007698/0.432, allocations: 2.368 MB / 450.4 MB, free: 24.08 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.404e-05/0.4321, allocations: 13.53 kB / 450.4 MB, free: 24.08 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00065/0.4327, allocations: 175.6 kB / 450.6 MB, free: 24.01 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001024/0.4338, allocations: 0.739 MB / 451.3 MB, free: 23.5 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.635e-05/0.4338, allocations: 71.12 kB / 451.4 MB, free: 23.46 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.349e-05/0.4339, allocations: 91.62 kB / 451.5 MB, free: 23.43 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001139/0.4351, allocations: 1.022 MB / 452.5 MB, free: 22.74 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.299e-05/0.4351, allocations: 7.188 kB / 452.5 MB, free: 22.74 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.449e-05/0.4352, allocations: 40.94 kB / 452.6 MB, free: 22.71 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.665e-05/0.4352, allocations: 22.78 kB / 452.6 MB, free: 22.71 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009961/0.4362, allocations: 0.7977 MB / 453.4 MB, free: 22.41 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.004731/0.4409, allocations: 6.523 MB / 459.9 MB, free: 16.98 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001209/0.4422, allocations: 0.7166 MB / 460.6 MB, free: 16.68 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003499/0.4425, allocations: 286.8 kB / 460.9 MB, free: 16.55 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.673e-05/0.4426, allocations: 10.03 kB / 460.9 MB, free: 16.55 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.749e-05/0.4426, allocations: 42.34 kB / 461 MB, free: 16.5 MB / 350.1 MB Notification: Performance of pre-optimization done (n=75): time 2.334e-06/0.4426, allocations: 0 / 461 MB, free: 16.5 MB / 350.1 MB Notification: Performance of matching and sorting (n=75): time 0.003041/0.4457, allocations: 1.296 MB / 462.3 MB, free: 15.97 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.501e-05/0.4457, allocations: 61.5 kB / 462.3 MB, free: 15.91 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001006/0.4468, allocations: 0.9205 MB / 463.2 MB, free: 15.48 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 6.089e-05/0.4468, allocations: 44.83 kB / 463.3 MB, free: 15.44 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003132/0.4471, allocations: 0.5184 MB / 463.8 MB, free: 15.02 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002526/0.4474, allocations: 302.9 kB / 464.1 MB, free: 14.79 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005471/0.448, allocations: 486.1 kB / 464.6 MB, free: 14.56 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 6.746e-05/0.448, allocations: 333.5 kB / 464.9 MB, free: 14.24 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000931/0.449, allocations: 0.6481 MB / 465.5 MB, free: 13.98 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001061/0.45, allocations: 0.8517 MB / 466.4 MB, free: 13.61 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002141/0.4522, allocations: 1.304 MB / 467.7 MB, free: 12.9 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.107e-06/0.4522, allocations: 0 / 467.7 MB, free: 12.9 MB / 350.1 MB Notification: Performance of matching and sorting (n=340) (initialization): time 0.003662/0.4559, allocations: 2.146 MB / 469.8 MB, free: 11.97 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.051e-05/0.4559, allocations: 5.469 kB / 469.8 MB, free: 11.97 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.432e-05/0.4559, allocations: 2.859 kB / 469.9 MB, free: 11.97 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006918/0.4566, allocations: 183.7 kB / 470 MB, free: 11.92 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001967/0.4586, allocations: 0.5124 MB / 470.5 MB, free: 11.87 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003188/0.4618, allocations: 2.721 MB / 473.3 MB, free: 9.688 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001777/0.4636, allocations: 177.8 kB / 473.4 MB, free: 9.559 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001619/0.4638, allocations: 80.78 kB / 473.5 MB, free: 9.535 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.0006616/0.4645, allocations: 301.3 kB / 473.8 MB, free: 9.285 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002072/0.4647, allocations: 103 kB / 473.9 MB, free: 9.234 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001649/0.4663, allocations: 0.7768 MB / 474.7 MB, free: 8.863 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.301e-05/0.4664, allocations: 12.25 kB / 474.7 MB, free: 8.859 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.895e-06/0.4664, allocations: 0 / 474.7 MB, free: 8.859 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.071e-05/0.4664, allocations: 6.188 kB / 474.7 MB, free: 8.859 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003058/0.4694, allocations: 1.752 MB / 476.5 MB, free: 7.949 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.454e-06/0.4695, allocations: 5.125 kB / 476.5 MB, free: 7.945 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005157/0.47, allocations: 106.1 kB / 476.6 MB, free: 7.938 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006549/0.4707, allocations: 164.5 kB / 476.7 MB, free: 7.895 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.983e-05/0.4707, allocations: 10.91 kB / 476.7 MB, free: 7.887 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003279/0.474, allocations: 2.655 MB / 479.4 MB, free: 5.723 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.553e-06/0.474, allocations: 4.547 kB / 479.4 MB, free: 5.719 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001761/0.4758, allocations: 0.8649 MB / 480.3 MB, free: 5.258 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005185/0.4763, allocations: 267 kB / 480.5 MB, free: 5.039 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002151/0.4766, allocations: 12.19 kB / 480.5 MB, free: 5.031 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007336/0.4773, allocations: 25.06 kB / 480.6 MB, free: 5.023 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001399/0.4774, allocations: 53.5 kB / 480.6 MB, free: 5.008 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.722e-05/0.4775, allocations: 22.19 kB / 480.6 MB, free: 5.004 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.00112/0.4786, allocations: 0.5642 MB / 481.2 MB, free: 4.75 MB / 350.1 MB Notification: Performance of sort global known variables: time 3.31e-07/0.4786, allocations: 0 / 481.2 MB, free: 4.75 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.002338/0.481, allocations: 496.7 kB / 481.7 MB, free: 4.688 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.0004475/0.4815, allocations: 179.2 kB / 481.9 MB, free: 4.559 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.00441/0.4859, allocations: 1.6 MB / 483.5 MB, free: 3.879 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 6.152e-06/0.4859, allocations: 5.312 kB / 483.5 MB, free: 3.875 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009103/0.4868, allocations: 484.9 kB / 483.9 MB, free: 3.609 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001089/0.4879, allocations: 82.42 kB / 484 MB, free: 3.559 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.003575/0.4915, allocations: 1.899 MB / 485.9 MB, free: 2.344 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009466/0.4925, allocations: 0.9985 MB / 486.9 MB, free: 1.621 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.000995/0.4935, allocations: 179.9 kB / 487.1 MB, free: 1.566 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003395/0.4938, allocations: 89.05 kB / 487.2 MB, free: 1.551 MB / 350.1 MB Notification: Performance of SimCode: time 1.323e-06/0.4938, allocations: 96 / 487.2 MB, free: 1.551 MB / 350.1 MB Notification: Performance of Templates: time 0.03297/0.5268, allocations: 14.74 MB / 0.4902 GB, free: 7.301 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)