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.0008501/0.0008502, allocations: 97.95 kB / 15.36 MB, free: 0.7344 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.004854/0.004854, allocations: 171.5 kB / 16.27 MB, free: 6.652 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: 223.3 MB / 240.3 MB, free: 5.324 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 2.0.0-develop/package.mo): time 0.169/0.169, allocations: 16.76 MB / 308.2 MB, free: 15.55 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002609/0.0002609, allocations: 8 kB / 373.5 MB, free: 3.145 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2053/0.2056, allocations: 54.56 MB / 428.1 MB, free: 37.73 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Electrical.PowerFlow.Test.OneSlackOnePVWithOneLine): time 0.006127/0.2117, allocations: 10.44 MB / 438.5 MB, free: 32.37 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.003706/0.2155, allocations: 3.468 MB / 442 MB, free: 30.23 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003775/0.2159, allocations: 22.47 kB / 442 MB, free: 30.22 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000595/0.2165, allocations: 360 kB / 442.4 MB, free: 30.07 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00224/0.2187, allocations: 1.508 MB / 443.9 MB, free: 29.07 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009403/0.2197, allocations: 0.6328 MB / 444.5 MB, free: 28.7 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 ‘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‘ [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/NFFrontEnd/NFCeval.mo:1117:9-1117:67:writable] Error: Internal error NFCeval.evalBinaryDiv failed to evaluate ‘node1.UStartPF / 1.732050807568877‘ Notification: Performance of NFFlatten.flatten: time 0.001199/0.2209, allocations: 1.803 MB / 446.3 MB, free: 27.79 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001755/0.2211, allocations: 133 kB / 446.4 MB, free: 27.72 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000393/0.2215, allocations: 0.5587 MB / 447 MB, free: 27.46 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004481/0.2219, allocations: 0.6563 MB / 447.7 MB, free: 27.16 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 6.947e-05/0.222, allocations: 35.94 kB / 447.7 MB, free: 27.16 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004916/0.2225, allocations: 332.7 kB / 448 MB, free: 27.07 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 8.768e-05/0.2226, allocations: 168.8 kB / 448.2 MB, free: 26.96 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003372/0.2229, allocations: 0.6067 MB / 448.8 MB, free: 26.59 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009019/0.2238, allocations: 1.5 MB / 450.3 MB, free: 26.07 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.855e-06/0.2239, allocations: 0 / 450.3 MB, free: 26.07 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.363e-06/0.2239, allocations: 0 / 450.3 MB, free: 26.07 MB / 350.1 MB Notification: Performance of Transformations before backend: time 9.297e-06/0.2239, allocations: 0 / 450.3 MB, free: 26.07 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.006821/0.2307, allocations: 2.1 MB / 452.4 MB, free: 25.09 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.782e-05/0.2307, allocations: 9.719 kB / 452.4 MB, free: 25.09 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005449/0.2313, allocations: 176.4 kB / 452.6 MB, free: 25.02 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007881/0.2321, allocations: 0.7354 MB / 453.3 MB, free: 24.52 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.477e-05/0.2321, allocations: 68.66 kB / 453.4 MB, free: 24.48 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.137e-05/0.2322, allocations: 94.94 kB / 453.5 MB, free: 24.45 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009714/0.2332, allocations: 1.019 MB / 454.5 MB, free: 23.76 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.043e-05/0.2332, allocations: 7.281 kB / 454.5 MB, free: 23.76 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.151e-05/0.2333, allocations: 33.91 kB / 454.5 MB, free: 23.73 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.57e-05/0.2333, allocations: 29.91 kB / 454.6 MB, free: 23.73 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001244/0.2346, allocations: 0.8018 MB / 455.4 MB, free: 23.43 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.003812/0.2384, allocations: 6.516 MB / 461.9 MB, free: 17.99 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001165/0.2396, allocations: 0.7147 MB / 462.6 MB, free: 17.69 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003216/0.2399, allocations: 281.6 kB / 462.9 MB, free: 17.57 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.105e-05/0.24, allocations: 10.06 kB / 462.9 MB, free: 17.57 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.01e-05/0.24, allocations: 49.03 kB / 462.9 MB, free: 17.52 MB / 350.1 MB Notification: Performance of pre-optimization done (n=75): time 1.693e-06/0.24, allocations: 0 / 462.9 MB, free: 17.52 MB / 350.1 MB Notification: Performance of matching and sorting (n=75): time 0.00283/0.2428, allocations: 1.286 MB / 464.2 MB, free: 16.99 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.898e-05/0.2428, allocations: 65.28 kB / 464.3 MB, free: 16.92 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007465/0.2436, allocations: 0.9198 MB / 465.2 MB, free: 16.5 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.907e-05/0.2437, allocations: 40.7 kB / 465.2 MB, free: 16.45 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002283/0.2439, allocations: 0.5159 MB / 465.7 MB, free: 16.04 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001559/0.2441, allocations: 307.7 kB / 466 MB, free: 15.81 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001918/0.2443, allocations: 242.3 kB / 466.3 MB, free: 15.7 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 4.455e-05/0.2443, allocations: 334.6 kB / 466.6 MB, free: 15.38 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000813/0.2451, allocations: 0.6507 MB / 467.3 MB, free: 15.12 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009466/0.2461, allocations: 0.8478 MB / 468.1 MB, free: 14.75 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001667/0.2478, allocations: 1.302 MB / 469.4 MB, free: 14.04 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.33e-06/0.2478, allocations: 0.9688 kB / 469.4 MB, free: 14.04 MB / 350.1 MB Notification: Performance of matching and sorting (n=340) (initialization): time 0.002966/0.2507, allocations: 2.147 MB / 471.6 MB, free: 13.11 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.715e-05/0.2508, allocations: 10.94 kB / 471.6 MB, free: 13.11 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.967e-06/0.2508, allocations: 1.188 kB / 471.6 MB, free: 13.11 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005982/0.2514, allocations: 180.3 kB / 471.7 MB, free: 13.07 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001775/0.2532, allocations: 0.5173 MB / 472.3 MB, free: 13.01 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002451/0.2556, allocations: 2.494 MB / 474.8 MB, free: 11.03 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001151/0.2568, allocations: 166.3 kB / 474.9 MB, free: 10.91 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001141/0.2569, allocations: 83.92 kB / 475 MB, free: 10.88 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.0003053/0.2572, allocations: 297.5 kB / 475.3 MB, free: 10.63 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001295/0.2574, allocations: 106.9 kB / 475.4 MB, free: 10.58 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001311/0.2587, allocations: 0.7838 MB / 476.2 MB, free: 10.2 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.751e-06/0.2587, allocations: 11.56 kB / 476.2 MB, free: 10.2 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.883e-06/0.2587, allocations: 0 / 476.2 MB, free: 10.2 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.8e-06/0.2587, allocations: 3.328 kB / 476.2 MB, free: 10.2 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002022/0.2607, allocations: 1.757 MB / 478 MB, free: 9.285 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.136e-06/0.2608, allocations: 4 kB / 478 MB, free: 9.281 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004362/0.2612, allocations: 106.6 kB / 478.1 MB, free: 9.273 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005194/0.2617, allocations: 161.9 kB / 478.2 MB, free: 9.23 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.192e-05/0.2618, allocations: 13.22 kB / 478.2 MB, free: 9.223 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002277/0.264, allocations: 2.431 MB / 480.7 MB, free: 7.254 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.2641, allocations: 0 / 480.7 MB, free: 7.254 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00122/0.2653, allocations: 0.8776 MB / 481.5 MB, free: 6.781 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002718/0.2656, allocations: 259 kB / 481.8 MB, free: 6.57 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001145/0.2657, allocations: 12.45 kB / 481.8 MB, free: 6.562 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005911/0.2663, allocations: 31.55 kB / 481.8 MB, free: 6.551 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.709e-05/0.2664, allocations: 46.48 kB / 481.9 MB, free: 6.543 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.865e-05/0.2664, allocations: 20.95 kB / 481.9 MB, free: 6.539 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0006004/0.267, allocations: 0.5646 MB / 482.5 MB, free: 6.285 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.267, allocations: 0 / 482.5 MB, free: 6.285 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.001009/0.268, allocations: 0.4934 MB / 483 MB, free: 6.215 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.0002063/0.2683, allocations: 191.4 kB / 483.1 MB, free: 6.074 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001984/0.2702, allocations: 1.558 MB / 484.7 MB, free: 5.426 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.125e-06/0.2703, allocations: 1.062 kB / 484.7 MB, free: 5.426 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006078/0.2709, allocations: 488.4 kB / 485.2 MB, free: 5.152 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006791/0.2716, allocations: 90.27 kB / 485.3 MB, free: 5.098 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.00198/0.2736, allocations: 1.914 MB / 487.2 MB, free: 3.887 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003923/0.274, allocations: 0.9999 MB / 488.2 MB, free: 3.164 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0006511/0.2746, allocations: 175.4 kB / 488.4 MB, free: 3.113 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002163/0.2748, allocations: 81.5 kB / 488.4 MB, free: 3.105 MB / 350.1 MB Notification: Performance of SimCode: time 2.2e-07/0.2748, allocations: 0 / 488.4 MB, free: 3.105 MB / 350.1 MB Notification: Performance of Templates: time 0.01967/0.2945, allocations: 13.48 MB / 0.4902 GB, free: 9.973 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)