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.001517/0.001517, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001701/0.001701, allocations: 194.1 kB / 16.25 MB, free: 6.633 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.282/1.282, allocations: 222.9 MB / 239.9 MB, free: 4.512 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 2.0.0-develop/package.mo): time 0.1645/0.1645, allocations: 16.79 MB / 306.9 MB, free: 14.88 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001261/0.001261, allocations: 67.89 kB / 371.3 MB, free: 3.926 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2654/0.2666, allocations: 53.55 MB / 424.8 MB, free: 39.01 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Electrical.PowerFlow.Test.OneSlackOneLoadWithOneLine): time 0.009523/0.2762, allocations: 10.99 MB / 435.8 MB, free: 32.27 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.005163/0.2814, allocations: 3.508 MB / 439.3 MB, free: 29.75 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008466/0.2823, allocations: 26.88 kB / 439.3 MB, free: 29.74 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001057/0.2834, allocations: 352.9 kB / 439.7 MB, free: 29.6 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0029/0.2863, allocations: 1.511 MB / 441.2 MB, free: 28.61 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001113/0.2874, allocations: 0.6323 MB / 441.8 MB, free: 28.24 MB / 350.1 MB [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/NFFrontEnd/NFCeval.mo:1126:9-1126: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:1126:9-1126: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:1126:9-1126: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:1126:9-1126:67:writable] Error: Internal error NFCeval.evalBinaryDiv failed to evaluate ‘line.UStartBPF / 1.732050807568877‘ Notification: Performance of NFFlatten.flatten: time 0.001829/0.2893, allocations: 1.901 MB / 443.7 MB, free: 27.25 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002337/0.2895, allocations: 135.1 kB / 443.9 MB, free: 27.18 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006295/0.2902, allocations: 0.6407 MB / 444.5 MB, free: 26.85 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005195/0.2907, allocations: 0.7109 MB / 445.2 MB, free: 26.5 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 8.773e-05/0.2908, allocations: 65.69 kB / 445.3 MB, free: 26.5 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007641/0.2916, allocations: 391.5 kB / 445.7 MB, free: 26.41 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001047/0.2917, allocations: 198.4 kB / 445.9 MB, free: 26.27 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004172/0.2921, allocations: 0.6391 MB / 446.5 MB, free: 25.88 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001273/0.2934, allocations: 1.555 MB / 448 MB, free: 25.22 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.91e-06/0.2934, allocations: 0 / 448 MB, free: 25.22 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.154e-06/0.2934, allocations: 0 / 448 MB, free: 25.22 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.267e-05/0.2934, allocations: 3.188 kB / 448.1 MB, free: 25.22 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.007397/0.3008, allocations: 2.373 MB / 450.4 MB, free: 24.1 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.108e-05/0.3009, allocations: 9.281 kB / 450.4 MB, free: 24.1 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006209/0.3015, allocations: 178.2 kB / 450.6 MB, free: 24.02 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009515/0.3025, allocations: 0.7307 MB / 451.3 MB, free: 23.52 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.337e-05/0.3025, allocations: 69.59 kB / 451.4 MB, free: 23.48 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.62e-05/0.3026, allocations: 96.78 kB / 451.5 MB, free: 23.45 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001166/0.3038, allocations: 1.026 MB / 452.5 MB, free: 22.75 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.166e-05/0.3038, allocations: 7.25 kB / 452.5 MB, free: 22.75 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.684e-05/0.3039, allocations: 41.75 kB / 452.6 MB, free: 22.72 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.711e-05/0.3039, allocations: 22.44 kB / 452.6 MB, free: 22.72 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009903/0.3049, allocations: 0.7951 MB / 453.4 MB, free: 22.42 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.00441/0.3093, allocations: 6.49 MB / 459.9 MB, free: 17.02 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001269/0.3106, allocations: 0.7293 MB / 460.6 MB, free: 16.72 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003335/0.311, allocations: 280.3 kB / 460.9 MB, free: 16.61 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.965e-05/0.311, allocations: 14.34 kB / 460.9 MB, free: 16.6 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.785e-05/0.3111, allocations: 38.47 kB / 460.9 MB, free: 16.55 MB / 350.1 MB Notification: Performance of pre-optimization done (n=75): time 2.325e-06/0.3111, allocations: 3.938 kB / 460.9 MB, free: 16.55 MB / 350.1 MB Notification: Performance of matching and sorting (n=75): time 0.002867/0.3139, allocations: 1.242 MB / 462.2 MB, free: 16.02 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.687e-05/0.314, allocations: 62.28 kB / 462.2 MB, free: 15.96 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008616/0.3148, allocations: 0.9301 MB / 463.2 MB, free: 15.53 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 5.787e-05/0.3149, allocations: 48.8 kB / 463.2 MB, free: 15.48 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002605/0.3152, allocations: 0.5055 MB / 463.7 MB, free: 15.07 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002122/0.3154, allocations: 303.9 kB / 464 MB, free: 14.85 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000508/0.3159, allocations: 477.3 kB / 464.5 MB, free: 14.62 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 7.092e-05/0.316, allocations: 334.8 kB / 464.8 MB, free: 14.3 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008188/0.3168, allocations: 0.647 MB / 465.5 MB, free: 14.04 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001096/0.3179, allocations: 0.8504 MB / 466.3 MB, free: 13.66 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001887/0.3198, allocations: 1.301 MB / 467.6 MB, free: 12.95 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.618e-06/0.3198, allocations: 3.562 kB / 467.6 MB, free: 12.95 MB / 350.1 MB Notification: Performance of matching and sorting (n=338) (initialization): time 0.003624/0.3235, allocations: 2.132 MB / 469.7 MB, free: 12.04 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.311e-05/0.3235, allocations: 5.438 kB / 469.8 MB, free: 12.04 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.22e-05/0.3235, allocations: 2.312 kB / 469.8 MB, free: 12.04 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006429/0.3242, allocations: 170.7 kB / 469.9 MB, free: 11.99 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00191/0.3261, allocations: 0.5153 MB / 470.4 MB, free: 11.94 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002826/0.3289, allocations: 2.628 MB / 473.1 MB, free: 9.809 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001422/0.3304, allocations: 172.6 kB / 473.2 MB, free: 9.684 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001243/0.3305, allocations: 85.08 kB / 473.3 MB, free: 9.66 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.0004263/0.3309, allocations: 300.1 kB / 473.6 MB, free: 9.406 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001686/0.3311, allocations: 107.6 kB / 473.7 MB, free: 9.352 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001371/0.3325, allocations: 0.7783 MB / 474.5 MB, free: 8.98 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.805e-06/0.3325, allocations: 7.781 kB / 474.5 MB, free: 8.98 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.395e-06/0.3325, allocations: 0 / 474.5 MB, free: 8.98 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.343e-06/0.3325, allocations: 3.328 kB / 474.5 MB, free: 8.98 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002163/0.3347, allocations: 1.753 MB / 476.3 MB, free: 8.07 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.458e-06/0.3347, allocations: 5.281 kB / 476.3 MB, free: 8.066 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004919/0.3352, allocations: 115.3 kB / 476.4 MB, free: 8.059 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005364/0.3357, allocations: 159.9 kB / 476.5 MB, free: 8.012 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.869e-05/0.3358, allocations: 16.16 kB / 476.5 MB, free: 8 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002579/0.3384, allocations: 2.577 MB / 479.1 MB, free: 5.883 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.286e-06/0.3384, allocations: 1.891 kB / 479.1 MB, free: 5.883 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001499/0.3399, allocations: 0.8664 MB / 480 MB, free: 5.418 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004225/0.3403, allocations: 264.2 kB / 480.3 MB, free: 5.203 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001304/0.3405, allocations: 14.67 kB / 480.3 MB, free: 5.195 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006247/0.3411, allocations: 30.06 kB / 480.3 MB, free: 5.184 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.989e-05/0.3412, allocations: 42.25 kB / 480.3 MB, free: 5.18 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.279e-05/0.3413, allocations: 21.78 kB / 480.4 MB, free: 5.176 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0007901/0.3421, allocations: 0.5666 MB / 480.9 MB, free: 4.922 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3421, allocations: 0 / 480.9 MB, free: 4.922 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.00139/0.3435, allocations: 0.492 MB / 481.4 MB, free: 4.848 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.0002792/0.3437, allocations: 167.3 kB / 481.6 MB, free: 4.73 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.002781/0.3465, allocations: 1.595 MB / 483.2 MB, free: 4.055 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 5.189e-06/0.3466, allocations: 1 kB / 483.2 MB, free: 4.055 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006898/0.3473, allocations: 483.6 kB / 483.6 MB, free: 3.789 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008124/0.3481, allocations: 98.34 kB / 483.7 MB, free: 3.73 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.002655/0.3507, allocations: 1.881 MB / 485.6 MB, free: 2.531 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005658/0.3513, allocations: 0.9985 MB / 486.6 MB, free: 1.809 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0008363/0.3522, allocations: 176.3 kB / 486.8 MB, free: 1.758 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002349/0.3524, allocations: 91.09 kB / 486.9 MB, free: 1.742 MB / 350.1 MB Notification: Performance of SimCode: time 1.082e-06/0.3524, allocations: 1.781 kB / 486.9 MB, free: 1.742 MB / 350.1 MB Notification: Performance of Templates: time 0.05309/0.4055, allocations: 14.54 MB / 0.4897 GB, free: 7.781 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=50 -lv LOG_STATS > PowerGrids_dev_PowerGrids.Electrical.PowerFlow.Test.OneSlackOneLoadWithOneLine.pipe 2>&1)