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.001274/0.001274, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001314/0.001314, allocations: 191 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.212/1.212, allocations: 222.9 MB / 239.9 MB, free: 4.512 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 2.0.0-develop/package.mo): time 0.1652/0.1652, allocations: 16.78 MB / 306.9 MB, free: 14.86 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001197/0.001197, allocations: 63.91 kB / 371.3 MB, free: 3.934 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2322/0.2334, allocations: 53.55 MB / 424.8 MB, free: 39.26 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Electrical.PowerFlow.Test.OneSlackOnePVWithOneLine): time 0.007385/0.2408, allocations: 10.99 MB / 435.8 MB, free: 32.51 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.004069/0.2449, allocations: 3.514 MB / 439.3 MB, free: 29.99 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009058/0.2458, allocations: 24.91 kB / 439.3 MB, free: 29.98 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009428/0.2468, allocations: 358 kB / 439.7 MB, free: 29.84 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003038/0.2499, allocations: 1.506 MB / 441.2 MB, free: 28.84 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001054/0.2509, allocations: 0.6197 MB / 441.8 MB, free: 28.48 MB / 350.1 MB [/var/lib/jenkins1/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/jenkins1/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/jenkins1/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/jenkins1/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.001677/0.2526, allocations: 1.914 MB / 443.7 MB, free: 27.48 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002229/0.2529, allocations: 132 kB / 443.9 MB, free: 27.43 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005556/0.2534, allocations: 0.6491 MB / 444.5 MB, free: 27.08 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004821/0.2539, allocations: 0.7078 MB / 445.2 MB, free: 26.73 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 8.638e-05/0.254, allocations: 66.06 kB / 445.3 MB, free: 26.73 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006722/0.2547, allocations: 390.3 kB / 445.7 MB, free: 26.65 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001026/0.2548, allocations: 201.9 kB / 445.9 MB, free: 26.51 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003963/0.2552, allocations: 0.6355 MB / 446.5 MB, free: 26.12 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001211/0.2564, allocations: 1.554 MB / 448 MB, free: 25.46 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.007e-06/0.2564, allocations: 3.938 kB / 448 MB, free: 25.46 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.323e-06/0.2564, allocations: 4 kB / 448.1 MB, free: 25.45 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.929e-05/0.2565, allocations: 0 / 448.1 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.007607/0.2641, allocations: 2.372 MB / 450.4 MB, free: 24.33 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.669e-05/0.2641, allocations: 9.656 kB / 450.4 MB, free: 24.33 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000608/0.2647, allocations: 176.4 kB / 450.6 MB, free: 24.26 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009267/0.2657, allocations: 0.7423 MB / 451.3 MB, free: 23.74 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.935e-05/0.2657, allocations: 70.47 kB / 451.4 MB, free: 23.71 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.568e-05/0.2658, allocations: 89.28 kB / 451.5 MB, free: 23.68 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00109/0.2669, allocations: 1.024 MB / 452.5 MB, free: 22.99 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.122e-05/0.267, allocations: 7.188 kB / 452.5 MB, free: 22.98 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.995e-05/0.267, allocations: 37.38 kB / 452.6 MB, free: 22.96 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.578e-05/0.2671, allocations: 22.88 kB / 452.6 MB, free: 22.96 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001002/0.2681, allocations: 0.7979 MB / 453.4 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.004508/0.2726, allocations: 6.523 MB / 459.9 MB, free: 17.23 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001169/0.2738, allocations: 0.7213 MB / 460.6 MB, free: 16.93 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003218/0.2741, allocations: 281.9 kB / 460.9 MB, free: 16.8 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.433e-05/0.2742, allocations: 17.27 kB / 460.9 MB, free: 16.8 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.029e-05/0.2742, allocations: 38.41 kB / 461 MB, free: 16.75 MB / 350.1 MB Notification: Performance of pre-optimization done (n=75): time 2.584e-06/0.2742, allocations: 0 / 461 MB, free: 16.75 MB / 350.1 MB Notification: Performance of matching and sorting (n=75): time 0.002891/0.2771, allocations: 1.295 MB / 462.3 MB, free: 16.22 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.456e-05/0.2771, allocations: 61.16 kB / 462.3 MB, free: 16.16 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008033/0.2779, allocations: 0.9193 MB / 463.2 MB, free: 15.73 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 6.455e-05/0.278, allocations: 44.77 kB / 463.3 MB, free: 15.68 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002439/0.2783, allocations: 0.5114 MB / 463.8 MB, free: 15.27 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001768/0.2785, allocations: 309.1 kB / 464.1 MB, free: 15.05 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004804/0.2789, allocations: 485.8 kB / 464.6 MB, free: 14.81 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 5.01e-05/0.279, allocations: 333.9 kB / 464.9 MB, free: 14.49 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008489/0.2799, allocations: 0.6487 MB / 465.5 MB, free: 14.23 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009669/0.2808, allocations: 0.8488 MB / 466.4 MB, free: 13.86 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001657/0.2825, allocations: 1.303 MB / 467.7 MB, free: 13.15 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.771e-06/0.2825, allocations: 0 / 467.7 MB, free: 13.15 MB / 350.1 MB Notification: Performance of matching and sorting (n=340) (initialization): time 0.003246/0.2858, allocations: 2.147 MB / 469.8 MB, free: 12.22 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.294e-05/0.2858, allocations: 6.219 kB / 469.8 MB, free: 12.22 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.182e-05/0.2858, allocations: 1.438 kB / 469.9 MB, free: 12.22 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006413/0.2865, allocations: 178.8 kB / 470 MB, free: 12.18 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001885/0.2884, allocations: 0.513 MB / 470.5 MB, free: 12.12 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002771/0.2912, allocations: 2.729 MB / 473.3 MB, free: 9.934 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00139/0.2926, allocations: 174 kB / 473.4 MB, free: 9.805 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001179/0.2927, allocations: 80.22 kB / 473.5 MB, free: 9.785 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.0003745/0.2931, allocations: 293.6 kB / 473.8 MB, free: 9.539 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001592/0.2932, allocations: 107 kB / 473.9 MB, free: 9.484 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001322/0.2946, allocations: 0.7872 MB / 474.7 MB, free: 9.105 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.075e-06/0.2946, allocations: 6.625 kB / 474.7 MB, free: 9.105 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.657e-06/0.2946, allocations: 3.141 kB / 474.7 MB, free: 9.105 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.254e-06/0.2946, allocations: 4.594 kB / 474.7 MB, free: 9.105 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0023/0.2969, allocations: 1.749 MB / 476.5 MB, free: 8.195 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.11e-06/0.2969, allocations: 2.312 kB / 476.5 MB, free: 8.195 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004738/0.2974, allocations: 109.9 kB / 476.6 MB, free: 8.184 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005637/0.298, allocations: 162.6 kB / 476.7 MB, free: 8.141 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.759e-05/0.298, allocations: 12.31 kB / 476.7 MB, free: 8.133 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002522/0.3006, allocations: 2.65 MB / 479.4 MB, free: 5.973 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.796e-06/0.3006, allocations: 5.094 kB / 479.4 MB, free: 5.969 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001346/0.3019, allocations: 0.8678 MB / 480.3 MB, free: 5.504 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003678/0.3023, allocations: 259.9 kB / 480.5 MB, free: 5.293 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001272/0.3024, allocations: 20.42 kB / 480.5 MB, free: 5.277 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006093/0.303, allocations: 27.39 kB / 480.6 MB, free: 5.266 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.656e-05/0.3031, allocations: 57.48 kB / 480.6 MB, free: 5.25 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.023e-05/0.3032, allocations: 20.47 kB / 480.6 MB, free: 5.246 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.000652/0.3038, allocations: 0.5589 MB / 481.2 MB, free: 4.996 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.3039, allocations: 0 / 481.2 MB, free: 4.996 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.001261/0.3051, allocations: 0.4893 MB / 481.7 MB, free: 4.93 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.0002422/0.3054, allocations: 178.9 kB / 481.9 MB, free: 4.801 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.002525/0.3079, allocations: 1.596 MB / 483.5 MB, free: 4.125 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.797e-06/0.3079, allocations: 3.938 kB / 483.5 MB, free: 4.121 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006524/0.3086, allocations: 487.6 kB / 483.9 MB, free: 3.852 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007426/0.3093, allocations: 89.03 kB / 484 MB, free: 3.801 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.002282/0.3116, allocations: 1.899 MB / 485.9 MB, free: 2.586 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004794/0.3121, allocations: 1.001 MB / 486.9 MB, free: 1.863 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0007327/0.3129, allocations: 174.5 kB / 487.1 MB, free: 1.812 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002143/0.3131, allocations: 81.56 kB / 487.2 MB, free: 1.805 MB / 350.1 MB Notification: Performance of SimCode: time 6.51e-07/0.3131, allocations: 0 / 487.2 MB, free: 1.805 MB / 350.1 MB Notification: Performance of Templates: time 0.2243/0.5374, allocations: 14.76 MB / 0.4902 GB, free: 7.289 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=50 -lv LOG_STATS > PowerGrids_dev_PowerGrids.Electrical.PowerFlow.Test.OneSlackOnePVWithOneLine.pipe 2>&1)