Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerGrids_dev_PowerGrids.Electrical.PowerFlow.Test.OneSlackOneLoadWithOneLine.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.OneSlackOneLoadWithOneLine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerGrids_dev_PowerGrids.Electrical.PowerFlow.Test.OneSlackOneLoadWithOneLine") translateModel(PowerGrids.Electrical.PowerFlow.Test.OneSlackOneLoadWithOneLine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerGrids_dev_PowerGrids.Electrical.PowerFlow.Test.OneSlackOneLoadWithOneLine") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001359/0.001359, 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.001274/0.001274, allocations: 197.9 kB / 16.14 MB, free: 6.719 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.413/1.413, allocations: 222.9 MB / 239.8 MB, free: 4.609 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 2.0.0-develop/package.mo): time 0.2825/0.2825, allocations: 16.8 MB / 306.8 MB, free: 15 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001304/0.001304, allocations: 67.84 kB / 371.1 MB, free: 4.066 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3753/0.3767, allocations: 53.54 MB / 424.6 MB, free: 39 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Electrical.PowerFlow.Test.OneSlackOneLoadWithOneLine): time 0.008743/0.3854, allocations: 10.98 MB / 435.6 MB, free: 32.3 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.005364/0.3909, allocations: 3.509 MB / 439.1 MB, free: 29.8 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009336/0.3918, allocations: 29.75 kB / 439.2 MB, free: 29.79 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001087/0.393, allocations: 355.1 kB / 439.5 MB, free: 29.64 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003693/0.3967, allocations: 1.541 MB / 441 MB, free: 28.62 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001212/0.3979, allocations: 0.64 MB / 441.7 MB, free: 28.25 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 ‘load.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‘ Notification: Performance of NFFlatten.flatten: time 0.002134/0.4, allocations: 1.813 MB / 443.5 MB, free: 27.34 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002417/0.4003, allocations: 123.4 kB / 443.6 MB, free: 27.28 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005381/0.4008, allocations: 0.566 MB / 444.2 MB, free: 27.02 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004998/0.4013, allocations: 0.6571 MB / 444.8 MB, free: 26.71 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 8.537e-05/0.4014, allocations: 38.94 kB / 444.9 MB, free: 26.71 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000915/0.4024, allocations: 341.8 kB / 445.2 MB, free: 26.62 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001392/0.4025, allocations: 168.7 kB / 445.4 MB, free: 26.51 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004724/0.403, allocations: 0.5912 MB / 446 MB, free: 26.16 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001292/0.4043, allocations: 1.528 MB / 447.5 MB, free: 25.52 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.589e-06/0.4043, allocations: 7.094 kB / 447.5 MB, free: 25.52 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.223e-06/0.4043, allocations: 0 / 447.5 MB, free: 25.52 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.475e-05/0.4043, allocations: 0 / 447.5 MB, free: 25.52 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.007642/0.412, allocations: 2.364 MB / 449.9 MB, free: 24.39 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.314e-05/0.412, allocations: 12.91 kB / 449.9 MB, free: 24.39 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006527/0.4127, allocations: 172.9 kB / 450.1 MB, free: 24.32 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001045/0.4138, allocations: 0.7436 MB / 450.8 MB, free: 23.8 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.082e-05/0.4138, allocations: 69.09 kB / 450.9 MB, free: 23.77 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.734e-05/0.4139, allocations: 92.53 kB / 451 MB, free: 23.74 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001135/0.4151, allocations: 1.027 MB / 452 MB, free: 23.05 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2e-05/0.4151, allocations: 3.938 kB / 452 MB, free: 23.05 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.954e-05/0.4152, allocations: 41.03 kB / 452 MB, free: 23.02 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.939e-05/0.4152, allocations: 22.75 kB / 452 MB, free: 23.02 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00105/0.4162, allocations: 0.8009 MB / 452.8 MB, free: 22.72 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.004465/0.4207, allocations: 6.481 MB / 459.3 MB, free: 17.32 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001244/0.422, allocations: 0.73 MB / 460.1 MB, free: 17.02 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003596/0.4223, allocations: 277.3 kB / 460.3 MB, free: 16.91 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.889e-05/0.4224, allocations: 13.59 kB / 460.3 MB, free: 16.9 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.416e-05/0.4224, allocations: 49.44 kB / 460.4 MB, free: 16.85 MB / 350.1 MB Notification: Performance of pre-optimization done (n=75): time 2.184e-06/0.4224, allocations: 4 kB / 460.4 MB, free: 16.84 MB / 350.1 MB Notification: Performance of matching and sorting (n=75): time 0.002755/0.4252, allocations: 1.236 MB / 461.6 MB, free: 16.32 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.058e-05/0.4253, allocations: 58.59 kB / 461.7 MB, free: 16.26 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000901/0.4262, allocations: 0.9286 MB / 462.6 MB, free: 15.83 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 5.508e-05/0.4262, allocations: 43.23 kB / 462.7 MB, free: 15.79 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002792/0.4265, allocations: 0.5032 MB / 463.2 MB, free: 15.38 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002046/0.4267, allocations: 304.4 kB / 463.5 MB, free: 15.16 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005067/0.4272, allocations: 482.7 kB / 463.9 MB, free: 14.92 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 7.296e-05/0.4273, allocations: 338.2 kB / 464.3 MB, free: 14.6 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008474/0.4282, allocations: 0.6433 MB / 464.9 MB, free: 14.35 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001054/0.4292, allocations: 0.8493 MB / 465.8 MB, free: 13.97 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001825/0.4311, allocations: 1.301 MB / 467.1 MB, free: 13.26 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.355e-06/0.4311, allocations: 1.125 kB / 467.1 MB, free: 13.26 MB / 350.1 MB Notification: Performance of matching and sorting (n=338) (initialization): time 0.003461/0.4345, allocations: 2.129 MB / 469.2 MB, free: 12.34 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.647e-05/0.4346, allocations: 5.219 kB / 469.2 MB, free: 12.34 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.277e-05/0.4346, allocations: 2.938 kB / 469.2 MB, free: 12.34 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006621/0.4353, allocations: 178.4 kB / 469.4 MB, free: 12.29 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001862/0.4371, allocations: 0.5185 MB / 469.9 MB, free: 12.24 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002741/0.4399, allocations: 2.415 MB / 472.3 MB, free: 10.3 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00155/0.4415, allocations: 170.3 kB / 472.5 MB, free: 10.18 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001344/0.4416, allocations: 87.84 kB / 472.5 MB, free: 10.15 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 (load.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,12)} Notification: Performance of prepare postOptimizeDAE: time 0.0004693/0.4421, allocations: 296 kB / 472.8 MB, free: 9.902 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001849/0.4423, allocations: 111.5 kB / 472.9 MB, free: 9.844 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001389/0.4437, allocations: 0.7807 MB / 473.7 MB, free: 9.469 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.877e-06/0.4437, allocations: 8.25 kB / 473.7 MB, free: 9.469 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.574e-06/0.4437, allocations: 0 / 473.7 MB, free: 9.469 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.733e-06/0.4437, allocations: 3.375 kB / 473.7 MB, free: 9.469 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002484/0.4462, allocations: 1.754 MB / 475.5 MB, free: 8.559 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.028e-06/0.4462, allocations: 0 / 475.5 MB, free: 8.559 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005355/0.4468, allocations: 118.4 kB / 475.6 MB, free: 8.551 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006096/0.4474, allocations: 170.7 kB / 475.8 MB, free: 8.496 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.564e-05/0.4474, allocations: 11.91 kB / 475.8 MB, free: 8.488 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002747/0.4502, allocations: 2.357 MB / 478.1 MB, free: 6.566 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.198e-06/0.4502, allocations: 0.7969 kB / 478.1 MB, free: 6.566 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001714/0.4519, allocations: 0.8579 MB / 479 MB, free: 6.109 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006649/0.4526, allocations: 264.8 kB / 479.3 MB, free: 5.895 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003035/0.4529, allocations: 15.2 kB / 479.3 MB, free: 5.883 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009279/0.4539, allocations: 42.09 kB / 479.3 MB, free: 5.859 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001545/0.454, allocations: 46.78 kB / 479.4 MB, free: 5.852 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.998e-05/0.4541, allocations: 21.41 kB / 479.4 MB, free: 5.848 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.001163/0.4553, allocations: 0.5674 MB / 480 MB, free: 5.594 MB / 350.1 MB Notification: Performance of sort global known variables: time 2.3e-07/0.4553, allocations: 1.562 kB / 480 MB, free: 5.594 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.002177/0.4575, allocations: 495.4 kB / 480.4 MB, free: 5.527 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 (62): * Single equations (assignments): 61 * 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,12)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0004097/0.4579, allocations: 170.2 kB / 480.6 MB, free: 5.406 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.003438/0.4613, allocations: 1.563 MB / 482.2 MB, free: 4.754 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 7.424e-06/0.4614, allocations: 1.031 kB / 482.2 MB, free: 4.754 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009388/0.4623, allocations: 484.1 kB / 482.6 MB, free: 4.484 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001517/0.4638, allocations: 86.78 kB / 482.7 MB, free: 4.434 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.003709/0.4676, allocations: 1.893 MB / 484.6 MB, free: 3.227 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006819/0.4683, allocations: 0.9974 MB / 485.6 MB, free: 2.504 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.001002/0.4693, allocations: 181.3 kB / 485.8 MB, free: 2.449 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003519/0.4697, allocations: 89.58 kB / 485.9 MB, free: 2.434 MB / 350.1 MB Notification: Performance of SimCode: time 8.62e-07/0.4697, allocations: 0 / 485.9 MB, free: 2.434 MB / 350.1 MB Notification: Performance of Templates: time 0.02988/0.4995, allocations: 13.44 MB / 499.3 MB, free: 9.812 MB / 366.1 MB make -j1 -f PowerGrids_dev_PowerGrids.Electrical.PowerFlow.Test.OneSlackOneLoadWithOneLine.makefile (rm -f PowerGrids_dev_PowerGrids.Electrical.PowerFlow.Test.OneSlackOneLoadWithOneLine.pipe ; mkfifo PowerGrids_dev_PowerGrids.Electrical.PowerFlow.Test.OneSlackOneLoadWithOneLine.pipe ; head -c 1048576 < PowerGrids_dev_PowerGrids.Electrical.PowerFlow.Test.OneSlackOneLoadWithOneLine.pipe >> ../files/PowerGrids_dev_PowerGrids.Electrical.PowerFlow.Test.OneSlackOneLoadWithOneLine.sim & ./PowerGrids_dev_PowerGrids.Electrical.PowerFlow.Test.OneSlackOneLoadWithOneLine -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerGrids_dev_PowerGrids.Electrical.PowerFlow.Test.OneSlackOneLoadWithOneLine.pipe 2>&1)