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.0008697/0.0008698, allocations: 91.61 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.000942/0.000942, 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.214/1.214, allocations: 223.3 MB / 240 MB, free: 5.316 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 2.0.0-develop/package.mo): time 0.1669/0.1669, allocations: 16.77 MB / 307.8 MB, free: 15.57 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002711/0.0002712, allocations: 12 kB / 372.9 MB, free: 3.535 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2197/0.22, allocations: 54.56 MB / 427.5 MB, free: 37.4 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Electrical.PowerFlow.Test.OneSlackOnePVWithOneLine): time 0.005848/0.2258, allocations: 9.825 MB / 437.3 MB, free: 33.16 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002935/0.2288, allocations: 3.262 MB / 440.6 MB, free: 30.82 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003135/0.2291, allocations: 22.66 kB / 440.6 MB, free: 30.81 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005001/0.2296, allocations: 307.8 kB / 440.9 MB, free: 30.66 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001962/0.2316, allocations: 1.314 MB / 442.2 MB, free: 29.8 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008604/0.2325, allocations: 0.5671 MB / 442.8 MB, free: 29.46 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 ‘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‘ [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/NFFrontEnd/NFCeval.mo:1092:9-1092:67:writable] Error: Internal error NFCeval.evalBinaryDiv failed to evaluate ‘node1.UStartPF / 1.732050807568877‘ Notification: Performance of NFFlatten.flatten: time 0.001214/0.2337, allocations: 1.719 MB / 444.5 MB, free: 28.57 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001847/0.2339, allocations: 124.3 kB / 444.6 MB, free: 28.51 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003898/0.2343, allocations: 0.5483 MB / 445.2 MB, free: 28.26 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004573/0.2347, allocations: 0.6345 MB / 445.8 MB, free: 27.98 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 7.168e-05/0.2348, allocations: 34.69 kB / 445.8 MB, free: 27.98 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004822/0.2353, allocations: 327.1 kB / 446.1 MB, free: 27.89 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 9.943e-05/0.2354, allocations: 158.1 kB / 446.3 MB, free: 27.79 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001463/0.2356, allocations: 245.9 kB / 446.5 MB, free: 27.65 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007183/0.2363, allocations: 1.157 MB / 447.7 MB, free: 27.32 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.088e-06/0.2363, allocations: 8 kB / 447.7 MB, free: 27.31 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.032e-06/0.2363, allocations: 0 / 447.7 MB, free: 27.31 MB / 350.1 MB Notification: Performance of Transformations before backend: time 9.197e-06/0.2363, allocations: 3.062 kB / 447.7 MB, free: 27.31 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.006153/0.2425, allocations: 2.103 MB / 449.8 MB, free: 26.34 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.853e-05/0.2425, allocations: 13.98 kB / 449.8 MB, free: 26.34 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005805/0.2431, allocations: 177.7 kB / 450 MB, free: 26.26 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000822/0.2439, allocations: 0.7243 MB / 450.7 MB, free: 25.77 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.572e-05/0.244, allocations: 65.72 kB / 450.8 MB, free: 25.74 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.423e-05/0.2441, allocations: 92.19 kB / 450.9 MB, free: 25.71 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001064/0.2451, allocations: 1.014 MB / 451.9 MB, free: 25.02 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.08e-05/0.2452, allocations: 7.375 kB / 451.9 MB, free: 25.02 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.262e-05/0.2452, allocations: 34.34 kB / 451.9 MB, free: 24.99 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.552e-05/0.2453, allocations: 23.16 kB / 451.9 MB, free: 24.99 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009683/0.2462, allocations: 0.791 MB / 452.7 MB, free: 24.69 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.003945/0.2502, allocations: 6.516 MB / 459.3 MB, free: 19.26 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001141/0.2513, allocations: 0.713 MB / 460 MB, free: 18.95 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003174/0.2517, allocations: 281.1 kB / 460.2 MB, free: 18.83 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.064e-05/0.2517, allocations: 17.38 kB / 460.3 MB, free: 18.83 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.989e-05/0.2518, allocations: 38.28 kB / 460.3 MB, free: 18.78 MB / 350.1 MB Notification: Performance of pre-optimization done (n=75): time 2.485e-06/0.2518, allocations: 0 / 460.3 MB, free: 18.78 MB / 350.1 MB Notification: Performance of matching and sorting (n=75): time 0.002683/0.2545, allocations: 1.291 MB / 461.6 MB, free: 18.25 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.218e-05/0.2545, allocations: 65.84 kB / 461.7 MB, free: 18.18 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007843/0.2553, allocations: 0.9066 MB / 462.6 MB, free: 17.76 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.745e-05/0.2553, allocations: 48.03 kB / 462.6 MB, free: 17.71 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002398/0.2556, allocations: 0.5049 MB / 463.1 MB, free: 17.3 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001698/0.2558, allocations: 302.9 kB / 463.4 MB, free: 17.08 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.144e-05/0.2559, allocations: 56.31 kB / 463.5 MB, free: 17.04 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001081/0.256, allocations: 447 kB / 463.9 MB, free: 16.66 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008334/0.2568, allocations: 0.6395 MB / 464.5 MB, free: 16.41 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009119/0.2577, allocations: 0.8388 MB / 465.4 MB, free: 16.03 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00101/0.2587, allocations: 0.7884 MB / 466.2 MB, free: 15.6 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.992e-06/0.2588, allocations: 2.656 kB / 466.2 MB, free: 15.6 MB / 350.1 MB Notification: Performance of matching and sorting (n=340) (initialization): time 0.002922/0.2617, allocations: 2.127 MB / 468.3 MB, free: 14.67 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.795e-05/0.2617, allocations: 6.469 kB / 468.3 MB, free: 14.67 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.958e-06/0.2617, allocations: 1.125 kB / 468.3 MB, free: 14.67 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005702/0.2623, allocations: 182.8 kB / 468.5 MB, free: 14.62 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001748/0.2641, allocations: 0.5082 MB / 469 MB, free: 14.57 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002449/0.2665, allocations: 2.485 MB / 471.5 MB, free: 12.6 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001061/0.2676, allocations: 176.6 kB / 471.6 MB, free: 12.47 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001214/0.2677, allocations: 79.22 kB / 471.7 MB, free: 12.45 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 (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 14} Notification: Performance of prepare postOptimizeDAE: time 0.0003383/0.2681, allocations: 290.4 kB / 472 MB, free: 12.21 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000146/0.2682, allocations: 106.1 kB / 472.1 MB, free: 12.15 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001287/0.2695, allocations: 0.7762 MB / 472.9 MB, free: 11.78 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.174e-06/0.2695, allocations: 11.75 kB / 472.9 MB, free: 11.78 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.354e-06/0.2695, allocations: 0 / 472.9 MB, free: 11.78 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.142e-06/0.2696, allocations: 4.25 kB / 472.9 MB, free: 11.78 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001954/0.2715, allocations: 1.75 MB / 474.7 MB, free: 10.86 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.106e-06/0.2715, allocations: 0 / 474.7 MB, free: 10.86 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004196/0.272, allocations: 110.9 kB / 474.8 MB, free: 10.85 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004702/0.2724, allocations: 164.7 kB / 474.9 MB, free: 10.81 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.417e-05/0.2725, allocations: 14.75 kB / 474.9 MB, free: 10.8 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002145/0.2746, allocations: 2.419 MB / 477.4 MB, free: 8.836 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.243e-06/0.2746, allocations: 0 / 477.4 MB, free: 8.836 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001186/0.2758, allocations: 0.8537 MB / 478.2 MB, free: 8.379 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003048/0.2761, allocations: 265 kB / 478.5 MB, free: 8.164 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001318/0.2763, allocations: 10.91 kB / 478.5 MB, free: 8.156 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005402/0.2768, allocations: 36.03 kB / 478.5 MB, free: 8.141 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.222e-05/0.2769, allocations: 50.34 kB / 478.6 MB, free: 8.129 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.121e-05/0.277, allocations: 31.06 kB / 478.6 MB, free: 8.117 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0006368/0.2776, allocations: 0.5544 MB / 479.1 MB, free: 7.863 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.2776, allocations: 1.375 kB / 479.1 MB, free: 7.863 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.001074/0.2787, allocations: 0.4974 MB / 479.6 MB, free: 7.789 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 (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 14} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002171/0.2789, allocations: 183 kB / 479.8 MB, free: 7.66 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.002011/0.2809, allocations: 1.558 MB / 481.4 MB, free: 7 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.186e-06/0.2809, allocations: 0 / 481.4 MB, free: 7 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005996/0.2816, allocations: 478.1 kB / 481.9 MB, free: 6.734 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006066/0.2822, allocations: 84.8 kB / 481.9 MB, free: 6.684 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.00208/0.2843, allocations: 1.803 MB / 483.7 MB, free: 5.57 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004201/0.2847, allocations: 1.002 MB / 484.7 MB, free: 4.844 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0007018/0.2854, allocations: 180.2 kB / 484.9 MB, free: 4.789 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002189/0.2856, allocations: 85.73 kB / 485 MB, free: 4.777 MB / 350.1 MB Notification: Performance of SimCode: time 2.5e-07/0.2856, allocations: 0 / 485 MB, free: 4.777 MB / 350.1 MB Notification: Performance of Templates: time 0.02036/0.306, allocations: 13.06 MB / 498.1 MB, free: 13.43 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=480 -lv LOG_STATS > PowerGrids_dev_PowerGrids.Electrical.PowerFlow.Test.OneSlackOnePVWithOneLine.pipe 2>&1)