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.001295/0.001296, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001483/0.001484, allocations: 191.6 kB / 16.13 MB, free: 6.703 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.412/1.412, allocations: 222.9 MB / 239.8 MB, free: 4.625 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 2.0.0-develop/package.mo): time 0.2003/0.2003, allocations: 16.78 MB / 306.7 MB, free: 14.96 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001266/0.001266, allocations: 63.91 kB / 371.1 MB, free: 4.09 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2986/0.2999, allocations: 53.55 MB / 424.6 MB, free: 39.14 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Electrical.PowerFlow.Test.OneSlackOnePVWithOneLine): time 0.008229/0.3082, allocations: 10.99 MB / 435.6 MB, free: 32.46 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.004929/0.3131, allocations: 3.515 MB / 439.1 MB, free: 29.95 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008793/0.314, allocations: 26.12 kB / 439.2 MB, free: 29.94 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009338/0.315, allocations: 358.2 kB / 439.5 MB, free: 29.79 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003418/0.3185, allocations: 1.532 MB / 441 MB, free: 28.78 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001226/0.3197, allocations: 0.6386 MB / 441.7 MB, free: 28.41 MB / 350.1 MB [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/NFFrontEnd/NFCeval.mo:1125:9-1125: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:1125:9-1125: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:1125:9-1125: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:1125:9-1125:67:writable] Error: Internal error NFCeval.evalBinaryDiv failed to evaluate ‘node1.UStartPF / 1.732050807568877‘ Notification: Performance of NFFlatten.flatten: time 0.001937/0.3216, allocations: 1.813 MB / 443.5 MB, free: 27.5 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002333/0.3219, allocations: 135.5 kB / 443.6 MB, free: 27.43 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005786/0.3225, allocations: 0.562 MB / 444.2 MB, free: 27.17 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004909/0.323, allocations: 0.6535 MB / 444.8 MB, free: 26.87 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 8.857e-05/0.3231, allocations: 39.75 kB / 444.9 MB, free: 26.87 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000803/0.3239, allocations: 339 kB / 445.2 MB, free: 26.78 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001133/0.324, allocations: 171.1 kB / 445.4 MB, free: 26.67 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004357/0.3244, allocations: 0.5907 MB / 446 MB, free: 26.32 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00123/0.3257, allocations: 1.531 MB / 447.5 MB, free: 25.67 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.837e-06/0.3257, allocations: 4 kB / 447.5 MB, free: 25.67 MB / 350.1 MB Notification: Performance of FrontEnd: time 7.31e-07/0.3257, allocations: 0 / 447.5 MB, free: 25.67 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.076e-05/0.3257, allocations: 0 / 447.5 MB, free: 25.67 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.007609/0.3333, allocations: 2.368 MB / 449.9 MB, free: 24.55 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.054e-05/0.3334, allocations: 9.781 kB / 449.9 MB, free: 24.55 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005981/0.334, allocations: 175 kB / 450.1 MB, free: 24.48 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009464/0.3349, allocations: 0.7389 MB / 450.8 MB, free: 23.96 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.021e-05/0.335, allocations: 67.81 kB / 450.9 MB, free: 23.93 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.694e-05/0.3351, allocations: 90.72 kB / 450.9 MB, free: 23.9 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001101/0.3362, allocations: 1.026 MB / 452 MB, free: 23.21 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.013e-05/0.3362, allocations: 7.312 kB / 452 MB, free: 23.21 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.678e-05/0.3363, allocations: 33.44 kB / 452 MB, free: 23.18 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.584e-05/0.3363, allocations: 22.34 kB / 452 MB, free: 23.18 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001016/0.3374, allocations: 0.7986 MB / 452.8 MB, free: 22.89 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.004577/0.3419, allocations: 6.532 MB / 459.4 MB, free: 17.44 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001191/0.3431, allocations: 0.7186 MB / 460.1 MB, free: 17.14 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000337/0.3435, allocations: 284.5 kB / 460.4 MB, free: 17.02 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.944e-05/0.3436, allocations: 6.438 kB / 460.4 MB, free: 17.02 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.148e-05/0.3436, allocations: 45.31 kB / 460.4 MB, free: 16.97 MB / 350.1 MB Notification: Performance of pre-optimization done (n=75): time 2.515e-06/0.3436, allocations: 0 / 460.4 MB, free: 16.97 MB / 350.1 MB Notification: Performance of matching and sorting (n=75): time 0.002972/0.3466, allocations: 1.299 MB / 461.7 MB, free: 16.44 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.498e-05/0.3466, allocations: 58.5 kB / 461.8 MB, free: 16.38 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00087/0.3475, allocations: 0.9252 MB / 462.7 MB, free: 15.95 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 6.166e-05/0.3476, allocations: 40.89 kB / 462.7 MB, free: 15.9 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000265/0.3478, allocations: 0.5113 MB / 463.2 MB, free: 15.49 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002005/0.348, allocations: 303.4 kB / 463.5 MB, free: 15.27 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004928/0.3485, allocations: 484.9 kB / 464 MB, free: 15.03 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 6.007e-05/0.3486, allocations: 341.5 kB / 464.3 MB, free: 14.71 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008526/0.3495, allocations: 0.6454 MB / 465 MB, free: 14.45 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009877/0.3505, allocations: 0.8558 MB / 465.8 MB, free: 14.07 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001759/0.3522, allocations: 1.299 MB / 467.1 MB, free: 13.37 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.991e-06/0.3522, allocations: 0 / 467.1 MB, free: 13.37 MB / 350.1 MB Notification: Performance of matching and sorting (n=340) (initialization): time 0.003322/0.3556, allocations: 2.144 MB / 469.3 MB, free: 12.44 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.268e-05/0.3556, allocations: 6.031 kB / 469.3 MB, free: 12.44 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.181e-05/0.3556, allocations: 4.328 kB / 469.3 MB, free: 12.44 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006609/0.3563, allocations: 188.9 kB / 469.5 MB, free: 12.39 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001789/0.3581, allocations: 0.509 MB / 470 MB, free: 12.34 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01702/0.3751, allocations: 2.494 MB / 472.5 MB, free: 10.36 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002014/0.3772, allocations: 173.8 kB / 472.7 MB, free: 10.23 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001407/0.3773, allocations: 81.09 kB / 472.7 MB, free: 10.21 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.0004865/0.3778, allocations: 306.7 kB / 473 MB, free: 9.953 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001878/0.378, allocations: 106.2 kB / 473.1 MB, free: 9.898 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001424/0.3795, allocations: 0.7761 MB / 473.9 MB, free: 9.531 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.155e-06/0.3795, allocations: 6.875 kB / 473.9 MB, free: 9.531 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.228e-06/0.3795, allocations: 112 / 473.9 MB, free: 9.531 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.552e-06/0.3795, allocations: 12.64 kB / 473.9 MB, free: 9.523 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002374/0.3819, allocations: 1.751 MB / 475.7 MB, free: 8.613 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.168e-06/0.3819, allocations: 0 / 475.7 MB, free: 8.613 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004795/0.3824, allocations: 110.7 kB / 475.8 MB, free: 8.602 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005931/0.383, allocations: 160.7 kB / 476 MB, free: 8.562 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.815e-05/0.383, allocations: 18.88 kB / 476 MB, free: 8.547 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002633/0.3857, allocations: 2.429 MB / 478.4 MB, free: 6.582 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.036e-06/0.3857, allocations: 9 kB / 478.4 MB, free: 6.574 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001597/0.3873, allocations: 0.8641 MB / 479.3 MB, free: 6.113 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004677/0.3878, allocations: 263.8 kB / 479.5 MB, free: 5.898 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001332/0.3879, allocations: 12.09 kB / 479.5 MB, free: 5.891 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006206/0.3885, allocations: 31.23 kB / 479.6 MB, free: 5.875 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001155/0.3887, allocations: 43.44 kB / 479.6 MB, free: 5.871 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.623e-05/0.3887, allocations: 21.42 kB / 479.6 MB, free: 5.867 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0007339/0.3895, allocations: 0.566 MB / 480.2 MB, free: 5.613 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.3895, allocations: 0 / 480.2 MB, free: 5.613 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.001636/0.3911, allocations: 0.4918 MB / 480.7 MB, free: 5.543 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.0002821/0.3914, allocations: 178.5 kB / 480.9 MB, free: 5.414 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.002494/0.3939, allocations: 1.563 MB / 482.4 MB, free: 4.762 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 4.128e-06/0.3939, allocations: 1.406 kB / 482.4 MB, free: 4.762 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006774/0.3946, allocations: 484.1 kB / 482.9 MB, free: 4.492 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007378/0.3953, allocations: 87.77 kB / 483 MB, free: 4.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.002285/0.3976, allocations: 1.896 MB / 484.9 MB, free: 3.223 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004519/0.3981, allocations: 0.9993 MB / 485.9 MB, free: 2.5 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.000738/0.3989, allocations: 179.8 kB / 486.1 MB, free: 2.445 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002323/0.3991, allocations: 85.91 kB / 486.1 MB, free: 2.434 MB / 350.1 MB Notification: Performance of SimCode: time 6.51e-07/0.3991, allocations: 4 kB / 486.2 MB, free: 2.43 MB / 350.1 MB Notification: Performance of Templates: time 0.106/0.5051, allocations: 13.64 MB / 499.8 MB, free: 9.336 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)