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.0008553/0.0008553, allocations: 91.84 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.006758/0.006758, allocations: 169.9 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.265/1.265, allocations: 223.3 MB / 240.3 MB, free: 5.348 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 2.0.0-develop/package.mo): time 0.1748/0.1748, allocations: 16.76 MB / 308.2 MB, free: 15.59 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002824/0.0002825, allocations: 8.234 kB / 373.5 MB, free: 3.199 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2209/0.2211, allocations: 54.56 MB / 428.1 MB, free: 38.34 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Electrical.PowerFlow.Test.OneSlackOnePVWithOneLine): time 0.006552/0.2277, allocations: 10.44 MB / 438.5 MB, free: 32.96 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.004159/0.2319, allocations: 3.468 MB / 442 MB, free: 30.57 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008252/0.2328, allocations: 22.47 kB / 442 MB, free: 30.57 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008017/0.2336, allocations: 353 kB / 442.4 MB, free: 30.42 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002678/0.2363, allocations: 1.521 MB / 443.9 MB, free: 29.4 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009925/0.2373, allocations: 0.6231 MB / 444.5 MB, free: 29.04 MB / 350.1 MB [/var/lib/jenkins/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/jenkins/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/jenkins/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/jenkins/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.001317/0.2386, allocations: 1.807 MB / 446.3 MB, free: 28.12 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001875/0.2388, allocations: 125 kB / 446.4 MB, free: 28.07 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004115/0.2392, allocations: 0.5588 MB / 447 MB, free: 27.8 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004671/0.2397, allocations: 0.6588 MB / 447.6 MB, free: 27.5 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 7.309e-05/0.2398, allocations: 37.94 kB / 447.7 MB, free: 27.5 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005686/0.2403, allocations: 334.6 kB / 448 MB, free: 27.41 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 9.076e-05/0.2404, allocations: 160.9 kB / 448.2 MB, free: 27.31 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003517/0.2408, allocations: 0.6133 MB / 448.8 MB, free: 26.93 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009377/0.2417, allocations: 1.495 MB / 450.3 MB, free: 26.42 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.105e-06/0.2417, allocations: 0 / 450.3 MB, free: 26.42 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.193e-06/0.2418, allocations: 0 / 450.3 MB, free: 26.42 MB / 350.1 MB Notification: Performance of Transformations before backend: time 9.078e-06/0.2418, allocations: 0 / 450.3 MB, free: 26.42 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.006907/0.2487, allocations: 2.1 MB / 452.4 MB, free: 25.44 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.051e-05/0.2487, allocations: 6.969 kB / 452.4 MB, free: 25.44 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005656/0.2493, allocations: 179.3 kB / 452.6 MB, free: 25.37 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008313/0.2501, allocations: 0.7377 MB / 453.3 MB, free: 24.86 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.911e-05/0.2502, allocations: 73.69 kB / 453.4 MB, free: 24.82 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.664e-05/0.2503, allocations: 97.5 kB / 453.5 MB, free: 24.79 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001016/0.2513, allocations: 1.021 MB / 454.5 MB, free: 24.1 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.963e-05/0.2513, allocations: 7.125 kB / 454.5 MB, free: 24.1 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.397e-05/0.2514, allocations: 37.78 kB / 454.5 MB, free: 24.07 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.488e-05/0.2514, allocations: 22.09 kB / 454.5 MB, free: 24.07 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009737/0.2524, allocations: 0.7981 MB / 455.3 MB, free: 23.77 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.003918/0.2563, allocations: 6.518 MB / 461.9 MB, free: 18.33 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001158/0.2575, allocations: 0.7182 MB / 462.6 MB, free: 18.03 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000319/0.2578, allocations: 279.3 kB / 462.9 MB, free: 17.91 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.276e-05/0.2579, allocations: 14.53 kB / 462.9 MB, free: 17.91 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.772e-05/0.2579, allocations: 46.34 kB / 462.9 MB, free: 17.85 MB / 350.1 MB Notification: Performance of pre-optimization done (n=75): time 2.044e-06/0.2579, allocations: 0 / 462.9 MB, free: 17.85 MB / 350.1 MB Notification: Performance of matching and sorting (n=75): time 0.002857/0.2608, allocations: 1.295 MB / 464.2 MB, free: 17.32 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.411e-05/0.2608, allocations: 61.53 kB / 464.3 MB, free: 17.26 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007705/0.2616, allocations: 0.9177 MB / 465.2 MB, free: 16.83 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.871e-05/0.2616, allocations: 43.98 kB / 465.2 MB, free: 16.79 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002381/0.2619, allocations: 0.5129 MB / 465.7 MB, free: 16.38 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001627/0.262, allocations: 302.1 kB / 466 MB, free: 16.15 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002032/0.2623, allocations: 240.4 kB / 466.3 MB, free: 16.04 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 4.931e-05/0.2623, allocations: 342.1 kB / 466.6 MB, free: 15.72 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008387/0.2632, allocations: 0.645 MB / 467.3 MB, free: 15.46 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000943/0.2641, allocations: 0.8496 MB / 468.1 MB, free: 15.09 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001683/0.2658, allocations: 1.302 MB / 469.4 MB, free: 14.38 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.159e-06/0.2658, allocations: 1.219 kB / 469.4 MB, free: 14.38 MB / 350.1 MB Notification: Performance of matching and sorting (n=340) (initialization): time 0.00301/0.2688, allocations: 2.146 MB / 471.6 MB, free: 13.45 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.873e-05/0.2689, allocations: 5.125 kB / 471.6 MB, free: 13.45 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.012e-05/0.2689, allocations: 2.156 kB / 471.6 MB, free: 13.45 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006166/0.2695, allocations: 183.4 kB / 471.7 MB, free: 13.41 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001787/0.2713, allocations: 0.5082 MB / 472.2 MB, free: 13.36 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002638/0.2739, allocations: 2.495 MB / 474.7 MB, free: 11.38 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001239/0.2752, allocations: 173.7 kB / 474.9 MB, free: 11.25 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001148/0.2753, allocations: 80.53 kB / 475 MB, free: 11.23 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.0003412/0.2757, allocations: 296.6 kB / 475.3 MB, free: 10.98 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001346/0.2758, allocations: 106.8 kB / 475.4 MB, free: 10.93 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001313/0.2771, allocations: 0.7821 MB / 476.2 MB, free: 10.55 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.352e-06/0.2771, allocations: 6.875 kB / 476.2 MB, free: 10.55 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.096e-06/0.2771, allocations: 3.953 kB / 476.2 MB, free: 10.55 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.021e-06/0.2772, allocations: 5.312 kB / 476.2 MB, free: 10.55 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002058/0.2792, allocations: 1.756 MB / 477.9 MB, free: 9.633 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.206e-06/0.2792, allocations: 0 / 477.9 MB, free: 9.633 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004497/0.2797, allocations: 106.8 kB / 478 MB, free: 9.625 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005364/0.2802, allocations: 165.6 kB / 478.2 MB, free: 9.578 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.368e-05/0.2803, allocations: 16.31 kB / 478.2 MB, free: 9.566 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002314/0.2826, allocations: 2.438 MB / 480.7 MB, free: 7.59 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.683e-06/0.2826, allocations: 1.844 kB / 480.7 MB, free: 7.59 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001254/0.2839, allocations: 0.8714 MB / 481.5 MB, free: 7.121 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002871/0.2842, allocations: 260.3 kB / 481.8 MB, free: 6.91 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000116/0.2843, allocations: 12.5 kB / 481.8 MB, free: 6.902 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006066/0.2849, allocations: 34.34 kB / 481.8 MB, free: 6.887 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.391e-05/0.285, allocations: 44.2 kB / 481.9 MB, free: 6.883 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.937e-05/0.285, allocations: 21.33 kB / 481.9 MB, free: 6.879 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0006094/0.2857, allocations: 0.5636 MB / 482.5 MB, free: 6.625 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.2857, allocations: 0 / 482.5 MB, free: 6.625 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.001114/0.2868, allocations: 0.4965 MB / 483 MB, free: 6.551 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.0002173/0.287, allocations: 187.4 kB / 483.1 MB, free: 6.418 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.002074/0.2891, allocations: 1.558 MB / 484.7 MB, free: 5.77 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.075e-06/0.2891, allocations: 1.219 kB / 484.7 MB, free: 5.77 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006383/0.2898, allocations: 487.7 kB / 485.2 MB, free: 5.496 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007113/0.2905, allocations: 92.44 kB / 485.3 MB, free: 5.438 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.00207/0.2926, allocations: 1.921 MB / 487.2 MB, free: 4.223 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004028/0.293, allocations: 0.9982 MB / 488.2 MB, free: 3.5 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0006805/0.2937, allocations: 176.7 kB / 488.4 MB, free: 3.449 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002197/0.2939, allocations: 85.11 kB / 488.4 MB, free: 3.438 MB / 350.1 MB Notification: Performance of SimCode: time 4.1e-07/0.2939, allocations: 3.938 kB / 488.4 MB, free: 3.434 MB / 350.1 MB Notification: Performance of Templates: time 0.01966/0.3136, allocations: 13.46 MB / 0.4901 GB, free: 10.16 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)