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.001524/0.001524, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.00215/0.00215, allocations: 197.2 kB / 16.14 MB, free: 6.711 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.462/1.462, allocations: 222.9 MB / 239.8 MB, free: 4.633 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 2.0.0-develop/package.mo): time 0.2598/0.2598, allocations: 16.78 MB / 306.7 MB, free: 15.01 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001157/0.001157, allocations: 63.91 kB / 371.1 MB, free: 4.09 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3079/0.309, allocations: 53.55 MB / 424.6 MB, free: 38.96 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Electrical.PowerFlow.Test.OneSlackOnePVWithOneLine): time 0.01267/0.3217, allocations: 10.98 MB / 435.6 MB, free: 32.29 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.007264/0.3291, allocations: 3.525 MB / 439.1 MB, free: 29.76 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001495/0.3306, allocations: 23.03 kB / 439.2 MB, free: 29.75 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001532/0.3322, allocations: 351.2 kB / 439.5 MB, free: 29.61 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005017/0.3372, allocations: 1.541 MB / 441.1 MB, free: 28.59 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001672/0.3389, allocations: 0.637 MB / 441.7 MB, free: 28.23 MB / 350.1 MB [/var/lib/jenkins/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/jenkins/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/jenkins/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/jenkins/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.003053/0.342, allocations: 1.805 MB / 443.5 MB, free: 27.31 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003507/0.3423, allocations: 130.3 kB / 443.6 MB, free: 27.25 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001049/0.3434, allocations: 0.5636 MB / 444.2 MB, free: 26.99 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007493/0.3442, allocations: 0.6558 MB / 444.8 MB, free: 26.69 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001178/0.3443, allocations: 38.25 kB / 444.9 MB, free: 26.69 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001256/0.3456, allocations: 337.9 kB / 445.2 MB, free: 26.6 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001682/0.3457, allocations: 169.4 kB / 445.4 MB, free: 26.49 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006562/0.3464, allocations: 0.592 MB / 446 MB, free: 26.14 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001769/0.3482, allocations: 1.531 MB / 447.5 MB, free: 25.49 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.691e-06/0.3482, allocations: 0 / 447.5 MB, free: 25.49 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.074e-06/0.3482, allocations: 0 / 447.5 MB, free: 25.49 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.506e-05/0.3482, allocations: 0 / 447.5 MB, free: 25.49 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.01171/0.36, allocations: 2.371 MB / 449.9 MB, free: 24.37 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.44e-05/0.36, allocations: 14.12 kB / 449.9 MB, free: 24.37 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001039/0.3611, allocations: 174.5 kB / 450.1 MB, free: 24.3 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001471/0.3626, allocations: 0.7375 MB / 450.8 MB, free: 23.79 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.93e-05/0.3626, allocations: 68.66 kB / 450.9 MB, free: 23.75 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000145/0.3628, allocations: 93.41 kB / 451 MB, free: 23.72 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001643/0.3645, allocations: 1.027 MB / 452 MB, free: 23.03 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.694e-05/0.3645, allocations: 11.16 kB / 452 MB, free: 23.02 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001084/0.3646, allocations: 36.81 kB / 452 MB, free: 23 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.304e-05/0.3646, allocations: 22.78 kB / 452 MB, free: 23 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00159/0.3662, allocations: 0.7906 MB / 452.8 MB, free: 22.7 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.005855/0.3721, allocations: 6.53 MB / 459.4 MB, free: 17.27 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001231/0.3734, allocations: 0.7262 MB / 460.1 MB, free: 16.96 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003274/0.3737, allocations: 281.5 kB / 460.4 MB, free: 16.84 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.954e-05/0.3738, allocations: 9.531 kB / 460.4 MB, free: 16.84 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.826e-05/0.3738, allocations: 45.53 kB / 460.4 MB, free: 16.79 MB / 350.1 MB Notification: Performance of pre-optimization done (n=75): time 2.816e-06/0.3738, allocations: 0 / 460.4 MB, free: 16.79 MB / 350.1 MB Notification: Performance of matching and sorting (n=75): time 0.003091/0.3769, allocations: 1.3 MB / 461.7 MB, free: 16.25 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.797e-05/0.3769, allocations: 61.47 kB / 461.8 MB, free: 16.19 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008758/0.3778, allocations: 0.9199 MB / 462.7 MB, free: 15.76 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 5.668e-05/0.3779, allocations: 41.14 kB / 462.7 MB, free: 15.72 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002668/0.3782, allocations: 0.5137 MB / 463.3 MB, free: 15.3 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002108/0.3784, allocations: 300.8 kB / 463.5 MB, free: 15.08 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004837/0.3789, allocations: 480.8 kB / 464 MB, free: 14.85 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 6.323e-05/0.3789, allocations: 337.8 kB / 464.3 MB, free: 14.53 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000849/0.3798, allocations: 0.6545 MB / 465 MB, free: 14.27 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009969/0.3808, allocations: 0.8487 MB / 465.9 MB, free: 13.89 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001799/0.3826, allocations: 1.303 MB / 467.2 MB, free: 13.18 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.326e-06/0.3826, allocations: 1.281 kB / 467.2 MB, free: 13.18 MB / 350.1 MB Notification: Performance of matching and sorting (n=340) (initialization): time 0.003526/0.3862, allocations: 2.151 MB / 469.3 MB, free: 12.25 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.531e-05/0.3862, allocations: 6 kB / 469.3 MB, free: 12.25 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.288e-05/0.3862, allocations: 1.234 kB / 469.3 MB, free: 12.25 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006717/0.3869, allocations: 183.8 kB / 469.5 MB, free: 12.2 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001906/0.3888, allocations: 0.5103 MB / 470 MB, free: 12.15 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00314/0.392, allocations: 2.493 MB / 472.5 MB, free: 10.17 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001638/0.3936, allocations: 169.9 kB / 472.7 MB, free: 10.05 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001431/0.3938, allocations: 80.31 kB / 472.7 MB, free: 10.03 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.0004779/0.3943, allocations: 300.8 kB / 473 MB, free: 9.777 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001943/0.3945, allocations: 106.4 kB / 473.1 MB, free: 9.723 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001392/0.3958, allocations: 0.7834 MB / 473.9 MB, free: 9.352 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.737e-06/0.3959, allocations: 6.969 kB / 473.9 MB, free: 9.352 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.364e-06/0.3959, allocations: 3.938 kB / 473.9 MB, free: 9.348 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.765e-06/0.3959, allocations: 4.75 kB / 473.9 MB, free: 9.348 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002307/0.3982, allocations: 1.753 MB / 475.7 MB, free: 8.434 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.941e-06/0.3982, allocations: 5.406 kB / 475.7 MB, free: 8.43 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004722/0.3987, allocations: 110.8 kB / 475.8 MB, free: 8.418 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005931/0.3993, allocations: 164.6 kB / 476 MB, free: 8.375 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.961e-05/0.3993, allocations: 15.75 kB / 476 MB, free: 8.363 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002649/0.402, allocations: 2.432 MB / 478.4 MB, free: 6.398 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.374e-06/0.402, allocations: 0 / 478.4 MB, free: 6.398 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001608/0.4036, allocations: 0.8681 MB / 479.3 MB, free: 5.934 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004972/0.4041, allocations: 259.1 kB / 479.5 MB, free: 5.723 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001281/0.4043, allocations: 12.55 kB / 479.5 MB, free: 5.715 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006213/0.4049, allocations: 35.89 kB / 479.6 MB, free: 5.695 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001124/0.405, allocations: 43.12 kB / 479.6 MB, free: 5.691 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.868e-05/0.4051, allocations: 21.77 kB / 479.6 MB, free: 5.688 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0008032/0.4059, allocations: 0.5638 MB / 480.2 MB, free: 5.434 MB / 350.1 MB Notification: Performance of sort global known variables: time 4.21e-07/0.4059, allocations: 3.938 kB / 480.2 MB, free: 5.43 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.002024/0.4079, allocations: 0.4931 MB / 480.7 MB, free: 5.359 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.0002837/0.4082, allocations: 177.6 kB / 480.9 MB, free: 5.234 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.002631/0.4109, allocations: 1.562 MB / 482.4 MB, free: 4.582 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 5.451e-06/0.4109, allocations: 1.031 kB / 482.4 MB, free: 4.582 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007013/0.4116, allocations: 490.8 kB / 482.9 MB, free: 4.309 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000722/0.4123, allocations: 88.83 kB / 483 MB, free: 4.254 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.002372/0.4147, allocations: 1.884 MB / 484.9 MB, free: 3.047 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000474/0.4152, allocations: 0.9993 MB / 485.9 MB, free: 2.324 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0007276/0.4159, allocations: 175.5 kB / 486.1 MB, free: 2.273 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002425/0.4162, allocations: 85.56 kB / 486.1 MB, free: 2.262 MB / 350.1 MB Notification: Performance of SimCode: time 6.22e-07/0.4162, allocations: 3.938 kB / 486.2 MB, free: 2.258 MB / 350.1 MB Notification: Performance of Templates: time 0.02616/0.4423, allocations: 13.65 MB / 499.8 MB, free: 9.344 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)