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.0008379/0.0008379, allocations: 91.06 kB / 15.36 MB, free: 0.7383 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.004871/0.004871, allocations: 172.4 kB / 16.26 MB, free: 6.613 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.194/1.194, allocations: 223.3 MB / 240.3 MB, free: 5.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 2.0.0-develop/package.mo): time 0.168/0.168, allocations: 16.77 MB / 308.2 MB, free: 15.55 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002581/0.0002581, allocations: 11.98 kB / 373.5 MB, free: 3.195 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2159/0.2161, allocations: 54.55 MB / 428.1 MB, free: 37.71 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Electrical.PowerFlow.Test.OneSlackOneLoadWithOneLine): time 0.006119/0.2223, allocations: 10.44 MB / 438.5 MB, free: 32.37 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.003469/0.2258, allocations: 3.449 MB / 442 MB, free: 30.31 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003299/0.2261, allocations: 22.5 kB / 442 MB, free: 30.3 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000585/0.2267, allocations: 362.4 kB / 442.3 MB, free: 30.14 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002193/0.2289, allocations: 1.508 MB / 443.9 MB, free: 29.14 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009151/0.2298, allocations: 0.6356 MB / 444.5 MB, free: 28.77 MB / 350.1 MB [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/NFFrontEnd/NFCeval.mo:1117:9-1117: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:1117:9-1117:67:writable] Error: Internal error NFCeval.evalBinaryDiv failed to evaluate ‘load.UStartPF / 1.732050807568877‘ [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/NFFrontEnd/NFCeval.mo:1117:9-1117: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:1117:9-1117:67:writable] Error: Internal error NFCeval.evalBinaryDiv failed to evaluate ‘line.UStartBPF / 1.732050807568877‘ Notification: Performance of NFFlatten.flatten: time 0.00122/0.2311, allocations: 1.805 MB / 446.3 MB, free: 27.86 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001732/0.2313, allocations: 131 kB / 446.4 MB, free: 27.79 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003876/0.2316, allocations: 0.5585 MB / 447 MB, free: 27.54 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004502/0.2321, allocations: 0.6478 MB / 447.6 MB, free: 27.24 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 7.083e-05/0.2322, allocations: 39.19 kB / 447.7 MB, free: 27.24 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004893/0.2327, allocations: 338.7 kB / 448 MB, free: 27.15 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 8.807e-05/0.2328, allocations: 169 kB / 448.2 MB, free: 27.04 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003422/0.2331, allocations: 0.6118 MB / 448.8 MB, free: 26.66 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008993/0.234, allocations: 1.495 MB / 450.3 MB, free: 26.14 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.066e-06/0.234, allocations: 0 / 450.3 MB, free: 26.14 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.763e-06/0.234, allocations: 7.172 kB / 450.3 MB, free: 26.14 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.887e-06/0.2341, allocations: 3.188 kB / 450.3 MB, free: 26.14 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.006705/0.2408, allocations: 2.088 MB / 452.4 MB, free: 25.17 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.67e-05/0.2408, allocations: 9.594 kB / 452.4 MB, free: 25.17 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005426/0.2414, allocations: 177.7 kB / 452.6 MB, free: 25.1 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007804/0.2421, allocations: 0.7416 MB / 453.3 MB, free: 24.59 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.482e-05/0.2422, allocations: 70.72 kB / 453.4 MB, free: 24.55 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.398e-05/0.2423, allocations: 101.5 kB / 453.5 MB, free: 24.51 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009881/0.2433, allocations: 1.021 MB / 454.5 MB, free: 23.82 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.892e-05/0.2433, allocations: 6.906 kB / 454.5 MB, free: 23.82 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.207e-05/0.2434, allocations: 33.44 kB / 454.5 MB, free: 23.8 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.436e-05/0.2434, allocations: 22.56 kB / 454.5 MB, free: 23.8 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009509/0.2444, allocations: 0.7974 MB / 455.3 MB, free: 23.5 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.003686/0.248, allocations: 6.483 MB / 461.8 MB, free: 18.09 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001162/0.2492, allocations: 0.7303 MB / 462.6 MB, free: 17.79 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003186/0.2495, allocations: 288.5 kB / 462.8 MB, free: 17.67 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.019e-05/0.2496, allocations: 9.891 kB / 462.8 MB, free: 17.67 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.893e-05/0.2496, allocations: 40.94 kB / 462.9 MB, free: 17.62 MB / 350.1 MB Notification: Performance of pre-optimization done (n=75): time 1.643e-06/0.2496, allocations: 0 / 462.9 MB, free: 17.62 MB / 350.1 MB Notification: Performance of matching and sorting (n=75): time 0.002608/0.2522, allocations: 1.237 MB / 464.1 MB, free: 17.09 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.831e-05/0.2523, allocations: 61.84 kB / 464.2 MB, free: 17.03 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007634/0.253, allocations: 0.923 MB / 465.1 MB, free: 16.61 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 5.376e-05/0.2531, allocations: 51.7 kB / 465.2 MB, free: 16.55 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002241/0.2533, allocations: 0.5065 MB / 465.7 MB, free: 16.14 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001551/0.2535, allocations: 302.8 kB / 466 MB, free: 15.92 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001929/0.2537, allocations: 238.8 kB / 466.2 MB, free: 15.81 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 4.537e-05/0.2537, allocations: 340.3 kB / 466.5 MB, free: 15.5 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008194/0.2546, allocations: 0.6462 MB / 467.2 MB, free: 15.24 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009167/0.2555, allocations: 0.8506 MB / 468 MB, free: 14.86 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001649/0.2571, allocations: 1.294 MB / 469.3 MB, free: 14.16 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.139e-06/0.2572, allocations: 5 kB / 469.3 MB, free: 14.15 MB / 350.1 MB Notification: Performance of matching and sorting (n=338) (initialization): time 0.002926/0.2601, allocations: 2.127 MB / 471.4 MB, free: 13.23 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.691e-05/0.2601, allocations: 10.11 kB / 471.5 MB, free: 13.23 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.738e-06/0.2601, allocations: 2.312 kB / 471.5 MB, free: 13.23 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005611/0.2607, allocations: 173 kB / 471.6 MB, free: 13.19 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001791/0.2625, allocations: 0.5186 MB / 472.1 MB, free: 13.14 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002329/0.2648, allocations: 2.406 MB / 474.6 MB, free: 11.2 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001155/0.266, allocations: 174.8 kB / 474.7 MB, free: 11.07 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001114/0.2661, allocations: 79.44 kB / 474.8 MB, free: 11.05 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.0003179/0.2664, allocations: 300.8 kB / 475.1 MB, free: 10.8 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001371/0.2666, allocations: 107.1 kB / 475.2 MB, free: 10.75 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001266/0.2679, allocations: 0.7777 MB / 476 MB, free: 10.38 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.242e-06/0.2679, allocations: 8.25 kB / 476 MB, free: 10.38 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.853e-06/0.2679, allocations: 0 / 476 MB, free: 10.38 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.902e-06/0.2679, allocations: 6.766 kB / 476 MB, free: 10.37 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001992/0.2699, allocations: 1.752 MB / 477.7 MB, free: 9.461 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.106e-06/0.2699, allocations: 4.641 kB / 477.7 MB, free: 9.457 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004697/0.2704, allocations: 126.5 kB / 477.9 MB, free: 9.441 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004961/0.2709, allocations: 151.1 kB / 478 MB, free: 9.402 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.293e-05/0.2709, allocations: 17.11 kB / 478 MB, free: 9.391 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002171/0.2731, allocations: 2.363 MB / 480.4 MB, free: 7.465 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.292e-06/0.2731, allocations: 0 / 480.4 MB, free: 7.465 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001218/0.2743, allocations: 0.8634 MB / 481.3 MB, free: 7.004 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002744/0.2746, allocations: 265.8 kB / 481.5 MB, free: 6.789 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001127/0.2748, allocations: 12.44 kB / 481.5 MB, free: 6.781 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005993/0.2754, allocations: 38.8 kB / 481.6 MB, free: 6.766 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.466e-05/0.2754, allocations: 44.22 kB / 481.6 MB, free: 6.758 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.836e-05/0.2755, allocations: 22.14 kB / 481.6 MB, free: 6.754 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0005827/0.2761, allocations: 0.5676 MB / 482.2 MB, free: 6.5 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.2761, allocations: 0 / 482.2 MB, free: 6.5 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.000997/0.2771, allocations: 495.7 kB / 482.7 MB, free: 6.434 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.0002011/0.2773, allocations: 188.6 kB / 482.9 MB, free: 6.297 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001983/0.2793, allocations: 1.552 MB / 484.4 MB, free: 5.652 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.805e-06/0.2793, allocations: 4.375 kB / 484.4 MB, free: 5.648 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006141/0.2799, allocations: 477.6 kB / 484.9 MB, free: 5.387 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000673/0.2806, allocations: 84.05 kB / 485 MB, free: 5.336 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.001968/0.2826, allocations: 1.925 MB / 486.9 MB, free: 4.117 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003936/0.283, allocations: 0.9974 MB / 487.9 MB, free: 3.395 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0006648/0.2836, allocations: 178 kB / 488.1 MB, free: 3.344 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002197/0.2839, allocations: 80.86 kB / 488.2 MB, free: 3.336 MB / 350.1 MB Notification: Performance of SimCode: time 2.41e-07/0.2839, allocations: 0.9375 kB / 488.2 MB, free: 3.336 MB / 350.1 MB Notification: Performance of Templates: time 0.01888/0.3028, allocations: 13.28 MB / 0.4897 GB, free: 10.5 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=50 -lv LOG_STATS > PowerGrids_dev_PowerGrids.Electrical.PowerFlow.Test.OneSlackOneLoadWithOneLine.pipe 2>&1)