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.0008518/0.0008518, allocations: 90.75 kB / 15.06 MB, free: 1.098 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.001066/0.001066, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.209/1.209, allocations: 223.3 MB / 240 MB, free: 5.301 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 2.0.0-develop/package.mo): time 0.1705/0.1705, allocations: 16.77 MB / 307.8 MB, free: 15.57 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002611/0.0002611, allocations: 8 kB / 372.9 MB, free: 3.523 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2092/0.2095, allocations: 54.57 MB / 427.5 MB, free: 37.35 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Electrical.PowerFlow.Test.OneSlackOneLoadWithOneLine): time 0.005929/0.2154, allocations: 9.806 MB / 437.3 MB, free: 33.12 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.003264/0.2187, allocations: 3.26 MB / 440.5 MB, free: 30.77 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005156/0.2192, allocations: 27.28 kB / 440.6 MB, free: 30.76 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005972/0.2198, allocations: 309.2 kB / 440.9 MB, free: 30.61 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002126/0.222, allocations: 1.314 MB / 442.2 MB, free: 29.74 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008861/0.2229, allocations: 0.5578 MB / 442.7 MB, free: 29.41 MB / 350.1 MB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/NFFrontEnd/NFCeval.mo:1092:9-1092: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:1092:9-1092: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:1092:9-1092: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:1092:9-1092:67:writable] Error: Internal error NFCeval.evalBinaryDiv failed to evaluate ‘line.UStartBPF / 1.732050807568877‘ Notification: Performance of NFFlatten.flatten: time 0.001227/0.2241, allocations: 1.735 MB / 444.5 MB, free: 28.5 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001855/0.2243, allocations: 123.2 kB / 444.6 MB, free: 28.45 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003932/0.2247, allocations: 0.5418 MB / 445.1 MB, free: 28.2 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000458/0.2252, allocations: 0.6318 MB / 445.8 MB, free: 27.93 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 7.049e-05/0.2252, allocations: 35.22 kB / 445.8 MB, free: 27.93 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004905/0.2257, allocations: 329.6 kB / 446.1 MB, free: 27.84 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 9.886e-05/0.2258, allocations: 149.8 kB / 446.3 MB, free: 27.75 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001444/0.226, allocations: 253.3 kB / 446.5 MB, free: 27.6 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007262/0.2267, allocations: 1.159 MB / 447.7 MB, free: 27.27 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.446e-06/0.2267, allocations: 0 / 447.7 MB, free: 27.27 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.092e-06/0.2267, allocations: 4 kB / 447.7 MB, free: 27.26 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.221e-05/0.2268, allocations: 3.188 kB / 447.7 MB, free: 27.26 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.006152/0.2329, allocations: 2.107 MB / 449.8 MB, free: 26.29 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.656e-05/0.233, allocations: 13.61 kB / 449.8 MB, free: 26.28 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005034/0.2335, allocations: 178.5 kB / 450 MB, free: 26.21 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008156/0.2343, allocations: 0.713 MB / 450.7 MB, free: 25.72 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.452e-05/0.2343, allocations: 74.06 kB / 450.8 MB, free: 25.68 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.554e-05/0.2344, allocations: 89.19 kB / 450.9 MB, free: 25.66 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001001/0.2354, allocations: 1.012 MB / 451.9 MB, free: 24.97 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.792e-05/0.2355, allocations: 6.75 kB / 451.9 MB, free: 24.96 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.933e-05/0.2355, allocations: 38.16 kB / 451.9 MB, free: 24.94 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.536e-05/0.2355, allocations: 23.47 kB / 451.9 MB, free: 24.94 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009429/0.2365, allocations: 0.7937 MB / 452.7 MB, free: 24.64 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.003698/0.2402, allocations: 6.484 MB / 459.2 MB, free: 19.23 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001146/0.2413, allocations: 0.7134 MB / 459.9 MB, free: 18.94 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000324/0.2417, allocations: 278.3 kB / 460.2 MB, free: 18.82 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.117e-05/0.2417, allocations: 11.09 kB / 460.2 MB, free: 18.82 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.723e-05/0.2418, allocations: 45.19 kB / 460.3 MB, free: 18.77 MB / 350.1 MB Notification: Performance of pre-optimization done (n=75): time 1.924e-06/0.2418, allocations: 0 / 460.3 MB, free: 18.77 MB / 350.1 MB Notification: Performance of matching and sorting (n=75): time 0.002405/0.2442, allocations: 1.222 MB / 461.5 MB, free: 18.25 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.103e-05/0.2442, allocations: 64.53 kB / 461.5 MB, free: 18.18 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007632/0.245, allocations: 0.917 MB / 462.5 MB, free: 17.76 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.376e-05/0.245, allocations: 40.48 kB / 462.5 MB, free: 17.71 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002307/0.2453, allocations: 0.5137 MB / 463 MB, free: 17.3 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001545/0.2454, allocations: 304 kB / 463.3 MB, free: 17.08 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.545e-05/0.2455, allocations: 55.88 kB / 463.4 MB, free: 17.04 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001078/0.2456, allocations: 442.4 kB / 463.8 MB, free: 16.66 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007851/0.2464, allocations: 0.6313 MB / 464.4 MB, free: 16.41 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009012/0.2473, allocations: 0.8471 MB / 465.3 MB, free: 16.02 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000964/0.2483, allocations: 0.786 MB / 466.1 MB, free: 15.6 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.559e-06/0.2483, allocations: 0 / 466.1 MB, free: 15.6 MB / 350.1 MB Notification: Performance of matching and sorting (n=338) (initialization): time 0.002834/0.2512, allocations: 2.108 MB / 468.2 MB, free: 14.68 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.661e-05/0.2512, allocations: 9.516 kB / 468.2 MB, free: 14.68 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.738e-06/0.2512, allocations: 1.156 kB / 468.2 MB, free: 14.68 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005291/0.2517, allocations: 176.4 kB / 468.3 MB, free: 14.63 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001755/0.2535, allocations: 0.5191 MB / 468.9 MB, free: 14.58 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002288/0.2558, allocations: 2.392 MB / 471.3 MB, free: 12.66 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009799/0.2568, allocations: 177.5 kB / 471.4 MB, free: 12.53 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001133/0.2569, allocations: 86.52 kB / 471.5 MB, free: 12.5 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {2 12} Notification: Performance of prepare postOptimizeDAE: time 0.0003051/0.2572, allocations: 286.1 kB / 471.8 MB, free: 12.26 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001342/0.2574, allocations: 110.7 kB / 471.9 MB, free: 12.2 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001282/0.2586, allocations: 0.7715 MB / 472.7 MB, free: 11.83 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.553e-06/0.2587, allocations: 7.188 kB / 472.7 MB, free: 11.83 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.335e-06/0.2587, allocations: 1.219 kB / 472.7 MB, free: 11.83 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.053e-06/0.2587, allocations: 10.88 kB / 472.7 MB, free: 11.83 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001943/0.2606, allocations: 1.744 MB / 474.4 MB, free: 10.92 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.176e-06/0.2606, allocations: 0 / 474.4 MB, free: 10.92 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004505/0.2611, allocations: 117.5 kB / 474.5 MB, free: 10.91 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004437/0.2616, allocations: 168.5 kB / 474.7 MB, free: 10.86 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.192e-05/0.2616, allocations: 15.42 kB / 474.7 MB, free: 10.85 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002064/0.2637, allocations: 2.345 MB / 477.1 MB, free: 8.934 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.984e-06/0.2637, allocations: 4.609 kB / 477.1 MB, free: 8.934 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001126/0.2648, allocations: 0.8504 MB / 477.9 MB, free: 8.477 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002747/0.2651, allocations: 270.2 kB / 478.2 MB, free: 8.258 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001189/0.2652, allocations: 15.47 kB / 478.2 MB, free: 8.246 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005284/0.2658, allocations: 33.75 kB / 478.2 MB, free: 8.234 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.841e-05/0.2658, allocations: 47.89 kB / 478.3 MB, free: 8.227 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.968e-05/0.2659, allocations: 27.69 kB / 478.3 MB, free: 8.215 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0006117/0.2665, allocations: 0.5605 MB / 478.9 MB, free: 7.961 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.2665, allocations: 0 / 478.9 MB, free: 7.961 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.001022/0.2675, allocations: 494.8 kB / 479.4 MB, free: 7.895 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {2 12} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002025/0.2677, allocations: 184.6 kB / 479.5 MB, free: 7.762 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001926/0.2697, allocations: 1.552 MB / 481.1 MB, free: 7.105 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.686e-06/0.2697, allocations: 1.344 kB / 481.1 MB, free: 7.105 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005999/0.2703, allocations: 476.2 kB / 481.6 MB, free: 6.844 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005983/0.2709, allocations: 91.75 kB / 481.6 MB, free: 6.789 MB / 350.1 MB Warning: The hideResult annotation could not be evaluated, probably due to missing annotation(Evaluate=true). It is set to 'isProtected' (=false) by default. Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001945/0.2729, allocations: 1.795 MB / 483.4 MB, free: 5.68 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003933/0.2733, allocations: 0.999 MB / 484.4 MB, free: 4.957 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0006881/0.274, allocations: 176 kB / 484.6 MB, free: 4.906 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002181/0.2742, allocations: 82.42 kB / 484.7 MB, free: 4.898 MB / 350.1 MB Notification: Performance of SimCode: time 2.4e-07/0.2742, allocations: 0 / 484.7 MB, free: 4.898 MB / 350.1 MB Notification: Performance of Templates: time 0.01851/0.2927, allocations: 12.89 MB / 497.6 MB, free: 13.89 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)