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.0008673/0.0008672, allocations: 99.34 kB / 16.02 MB, free: 76 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009142/0.0009142, allocations: 182.7 kB / 16.92 MB, free: 6.918 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.223/1.223, allocations: 223.3 MB / 241 MB, free: 5.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 2.0.0-develop/package.mo): time 0.1654/0.1654, allocations: 16.76 MB / 308.9 MB, free: 15.6 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002751/0.0002752, allocations: 8 kB / 374.2 MB, free: 3.227 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2193/0.2196, allocations: 54.55 MB / 428.7 MB, free: 37.73 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Electrical.PowerFlow.Test.OneSlackOneLoadWithOneLine): time 0.00602/0.2256, allocations: 10.45 MB / 439.2 MB, free: 32.37 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00316/0.2288, allocations: 3.451 MB / 442.6 MB, free: 30.32 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003607/0.2292, allocations: 19.75 kB / 442.7 MB, free: 30.31 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006011/0.2298, allocations: 353.6 kB / 443 MB, free: 30.16 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002274/0.2321, allocations: 1.517 MB / 444.5 MB, free: 29.15 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009456/0.233, allocations: 0.6272 MB / 445.1 MB, free: 28.78 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.001239/0.2343, allocations: 1.803 MB / 447 MB, free: 27.87 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001788/0.2345, allocations: 126.2 kB / 447.1 MB, free: 27.81 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000402/0.2349, allocations: 0.5649 MB / 447.6 MB, free: 27.54 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004586/0.2353, allocations: 0.6482 MB / 448.3 MB, free: 27.25 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 7.135e-05/0.2354, allocations: 43.03 kB / 448.3 MB, free: 27.25 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005039/0.2359, allocations: 333.5 kB / 448.7 MB, free: 27.15 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 9.326e-05/0.236, allocations: 170.9 kB / 448.8 MB, free: 27.04 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003645/0.2364, allocations: 0.6099 MB / 449.4 MB, free: 26.67 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000734/0.2372, allocations: 1.167 MB / 450.6 MB, free: 26.33 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.216e-06/0.2372, allocations: 0 / 450.6 MB, free: 26.33 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.152e-06/0.2372, allocations: 3.938 kB / 450.6 MB, free: 26.33 MB / 350.1 MB Notification: Performance of Transformations before backend: time 9.258e-06/0.2372, allocations: 0 / 450.6 MB, free: 26.33 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.006784/0.244, allocations: 2.093 MB / 452.7 MB, free: 25.36 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.828e-05/0.244, allocations: 10.53 kB / 452.7 MB, free: 25.36 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005605/0.2446, allocations: 176.3 kB / 452.9 MB, free: 25.29 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008096/0.2454, allocations: 0.7342 MB / 453.6 MB, free: 24.78 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.641e-05/0.2454, allocations: 69.34 kB / 453.7 MB, free: 24.75 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000101/0.2455, allocations: 93.31 kB / 453.8 MB, free: 24.71 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001017/0.2466, allocations: 1.018 MB / 454.8 MB, free: 24.03 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.056e-05/0.2466, allocations: 6.344 kB / 454.8 MB, free: 24.02 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.836e-05/0.2467, allocations: 35.75 kB / 454.8 MB, free: 24 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.493e-05/0.2467, allocations: 26.88 kB / 454.9 MB, free: 24 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009689/0.2477, allocations: 0.7979 MB / 455.7 MB, free: 23.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.003865/0.2515, allocations: 6.487 MB / 462.1 MB, free: 18.29 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001209/0.2528, allocations: 0.7243 MB / 462.9 MB, free: 18 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003265/0.2531, allocations: 294 kB / 463.2 MB, free: 17.86 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.127e-05/0.2531, allocations: 10.27 kB / 463.2 MB, free: 17.86 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.773e-05/0.2532, allocations: 45.56 kB / 463.2 MB, free: 17.81 MB / 350.1 MB Notification: Performance of pre-optimization done (n=75): time 1.783e-06/0.2532, allocations: 0 / 463.2 MB, free: 17.81 MB / 350.1 MB Notification: Performance of matching and sorting (n=75): time 0.002673/0.2559, allocations: 1.245 MB / 464.5 MB, free: 17.28 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.045e-05/0.2559, allocations: 58.12 kB / 464.5 MB, free: 17.21 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007855/0.2567, allocations: 0.9251 MB / 465.4 MB, free: 16.79 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.994e-05/0.2567, allocations: 47.92 kB / 465.5 MB, free: 16.74 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002335/0.257, allocations: 0.5048 MB / 466 MB, free: 16.34 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000165/0.2572, allocations: 302.2 kB / 466.3 MB, free: 16.11 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001965/0.2574, allocations: 239.1 kB / 466.5 MB, free: 16 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 4.781e-05/0.2574, allocations: 340.8 kB / 466.8 MB, free: 15.68 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008186/0.2582, allocations: 0.6467 MB / 467.5 MB, free: 15.43 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009221/0.2592, allocations: 0.8523 MB / 468.3 MB, free: 15.04 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001675/0.2608, allocations: 1.298 MB / 469.6 MB, free: 14.34 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.829e-06/0.2609, allocations: 0 / 469.6 MB, free: 14.34 MB / 350.1 MB Notification: Performance of matching and sorting (n=338) (initialization): time 0.002972/0.2638, allocations: 2.129 MB / 471.8 MB, free: 13.42 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.793e-05/0.2639, allocations: 6.938 kB / 471.8 MB, free: 13.42 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.428e-06/0.2639, allocations: 2.062 kB / 471.8 MB, free: 13.42 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005971/0.2645, allocations: 175 kB / 472 MB, free: 13.38 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001808/0.2663, allocations: 0.5181 MB / 472.5 MB, free: 13.32 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002412/0.2687, allocations: 2.409 MB / 474.9 MB, free: 11.39 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001181/0.2699, allocations: 174.2 kB / 475 MB, free: 11.26 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001129/0.27, allocations: 79.75 kB / 475.1 MB, free: 11.24 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.0003194/0.2704, allocations: 298.3 kB / 475.4 MB, free: 10.99 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001358/0.2705, allocations: 106.9 kB / 475.5 MB, free: 10.94 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001302/0.2718, allocations: 0.7785 MB / 476.3 MB, free: 10.57 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.453e-06/0.2718, allocations: 8.25 kB / 476.3 MB, free: 10.57 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.404e-06/0.2718, allocations: 4 kB / 476.3 MB, free: 10.56 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.971e-06/0.2718, allocations: 3.375 kB / 476.3 MB, free: 10.56 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002028/0.2739, allocations: 1.759 MB / 478.1 MB, free: 9.645 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.646e-06/0.2739, allocations: 9.25 kB / 478.1 MB, free: 9.637 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004811/0.2744, allocations: 120.9 kB / 478.2 MB, free: 9.625 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000514/0.2749, allocations: 155.2 kB / 478.4 MB, free: 9.582 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.337e-05/0.2749, allocations: 15.86 kB / 478.4 MB, free: 9.57 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002256/0.2772, allocations: 2.357 MB / 480.7 MB, free: 7.652 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.573e-06/0.2772, allocations: 0 / 480.7 MB, free: 7.652 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001239/0.2785, allocations: 0.8668 MB / 481.6 MB, free: 7.188 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003076/0.2788, allocations: 263.9 kB / 481.9 MB, free: 6.973 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001176/0.2789, allocations: 13.34 kB / 481.9 MB, free: 6.965 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006114/0.2795, allocations: 34.61 kB / 481.9 MB, free: 6.953 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.279e-05/0.2796, allocations: 47.44 kB / 481.9 MB, free: 6.945 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.973e-05/0.2797, allocations: 21.22 kB / 482 MB, free: 6.941 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0006078/0.2803, allocations: 0.5723 MB / 482.5 MB, free: 6.684 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.2803, allocations: 0 / 482.5 MB, free: 6.684 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.001044/0.2813, allocations: 494.5 kB / 483 MB, free: 6.617 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.000215/0.2816, allocations: 179.3 kB / 483.2 MB, free: 6.488 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.002035/0.2836, allocations: 1.555 MB / 484.8 MB, free: 5.844 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.635e-06/0.2836, allocations: 0 / 484.8 MB, free: 5.844 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006316/0.2843, allocations: 486.4 kB / 485.2 MB, free: 5.574 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006878/0.2849, allocations: 88.25 kB / 485.3 MB, free: 5.52 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.002069/0.287, allocations: 1.944 MB / 487.3 MB, free: 4.281 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004003/0.2874, allocations: 1.002 MB / 488.3 MB, free: 3.555 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002722/0.2877, allocations: 90.09 kB / 488.3 MB, free: 3.547 MB / 350.1 MB Notification: Performance of SimCode: time 2.41e-07/0.2877, allocations: 3.938 kB / 488.3 MB, free: 3.543 MB / 350.1 MB Notification: Performance of Templates: time 0.02025/0.308, allocations: 18.47 MB / 0.4949 GB, free: 5.746 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)