Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerGrids_dev_PowerGrids.Electrical.PowerFlow.Test.OneSlackOneLoad.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.OneSlackOneLoad,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerGrids_dev_PowerGrids.Electrical.PowerFlow.Test.OneSlackOneLoad") translateModel(PowerGrids.Electrical.PowerFlow.Test.OneSlackOneLoad,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerGrids_dev_PowerGrids.Electrical.PowerFlow.Test.OneSlackOneLoad") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001159/0.001159, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001498/0.001498, allocations: 198 kB / 16.14 MB, free: 6.711 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.396/1.396, allocations: 222.9 MB / 239.8 MB, free: 4.605 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 2.0.0-develop/package.mo): time 0.2109/0.2109, allocations: 16.78 MB / 306.7 MB, free: 15.01 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001314/0.001314, allocations: 55.91 kB / 371.1 MB, free: 4.074 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3417/0.3431, allocations: 53.55 MB / 424.6 MB, free: 39.01 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Electrical.PowerFlow.Test.OneSlackOneLoad): time 0.005748/0.3489, allocations: 5.058 MB / 429.7 MB, free: 36.35 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.004499/0.3534, allocations: 2.36 MB / 432 MB, free: 34.99 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001144/0.3547, allocations: 16.72 kB / 432.1 MB, free: 34.98 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00111/0.3558, allocations: 201.9 kB / 432.3 MB, free: 34.89 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00305/0.3589, allocations: 1.096 MB / 433.4 MB, free: 34.19 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007826/0.3597, allocations: 342.8 kB / 433.7 MB, free: 34 MB / 350.1 MB [/var/lib/jenkins/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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/NFFrontEnd/NFCeval.mo:1125:9-1125:67:writable] Error: Internal error NFCeval.evalBinaryDiv failed to evaluate ‘load.UStartPF / 1.732050807568877‘ Notification: Performance of NFFlatten.flatten: time 0.001291/0.361, allocations: 0.9244 MB / 434.6 MB, free: 33.53 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001893/0.3612, allocations: 76.56 kB / 434.7 MB, free: 33.51 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000333/0.3615, allocations: 300.6 kB / 435 MB, free: 33.37 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003118/0.3619, allocations: 330 kB / 435.3 MB, free: 33.22 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 6.053e-05/0.3619, allocations: 21.03 kB / 435.3 MB, free: 33.22 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006201/0.3626, allocations: 242.2 kB / 435.6 MB, free: 33.15 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.838e-05/0.3626, allocations: 82.28 kB / 435.6 MB, free: 33.09 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002762/0.3629, allocations: 318.2 kB / 436 MB, free: 32.91 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008472/0.3638, allocations: 0.8395 MB / 436.8 MB, free: 32.54 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.651e-06/0.3638, allocations: 0 / 436.8 MB, free: 32.54 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.855e-06/0.3638, allocations: 3.188 kB / 436.8 MB, free: 32.54 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.606e-06/0.3638, allocations: 0 / 436.8 MB, free: 32.54 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: 101 * Number of variables: 101 Notification: Performance of Generate backend data structure: time 0.003929/0.3678, allocations: 1.325 MB / 438.1 MB, free: 31.79 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.845e-05/0.3678, allocations: 8.594 kB / 438.1 MB, free: 31.79 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003544/0.3682, allocations: 97.75 kB / 438.2 MB, free: 31.75 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006528/0.3688, allocations: 491.8 kB / 438.7 MB, free: 31.38 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.451e-05/0.3689, allocations: 36.22 kB / 438.7 MB, free: 31.36 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.192e-05/0.369, allocations: 41.97 kB / 438.8 MB, free: 31.35 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006593/0.3696, allocations: 0.5149 MB / 439.3 MB, free: 30.98 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.768e-05/0.3697, allocations: 6.688 kB / 439.3 MB, free: 30.98 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.305e-05/0.3697, allocations: 21.47 kB / 439.3 MB, free: 30.96 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.472e-05/0.3697, allocations: 10.97 kB / 439.3 MB, free: 30.96 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004937/0.3702, allocations: 347.8 kB / 439.7 MB, free: 30.84 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.002524/0.3728, allocations: 3.361 MB / 443 MB, free: 27.93 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005498/0.3733, allocations: 277.4 kB / 443.3 MB, free: 27.81 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001514/0.3735, allocations: 98.22 kB / 443.4 MB, free: 27.77 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.871e-05/0.3735, allocations: 5.688 kB / 443.4 MB, free: 27.77 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.554e-05/0.3736, allocations: 33.62 kB / 443.4 MB, free: 27.73 MB / 350.1 MB Notification: Performance of pre-optimization done (n=29): time 1.903e-06/0.3736, allocations: 4 kB / 443.4 MB, free: 27.72 MB / 350.1 MB Notification: Performance of matching and sorting (n=29): time 0.0009628/0.3745, allocations: 479.7 kB / 443.9 MB, free: 27.44 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.82e-05/0.3746, allocations: 54.53 kB / 444 MB, free: 27.38 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005843/0.3752, allocations: 0.5703 MB / 444.5 MB, free: 27.11 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.409e-05/0.3752, allocations: 33.7 kB / 444.6 MB, free: 27.07 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002102/0.3754, allocations: 324.9 kB / 444.9 MB, free: 26.8 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.355e-05/0.3755, allocations: 124.2 kB / 445 MB, free: 26.72 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002799/0.3758, allocations: 236.7 kB / 445.2 MB, free: 26.6 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001363/0.376, allocations: 378.3 kB / 445.6 MB, free: 26.26 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004313/0.3764, allocations: 309.8 kB / 445.9 MB, free: 26.14 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004854/0.3769, allocations: 415.4 kB / 446.3 MB, free: 25.95 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007679/0.3777, allocations: 0.6017 MB / 446.9 MB, free: 25.62 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.36e-06/0.3777, allocations: 3.312 kB / 446.9 MB, free: 25.62 MB / 350.1 MB Notification: Performance of matching and sorting (n=160) (initialization): time 0.001504/0.3792, allocations: 0.9829 MB / 447.9 MB, free: 25.2 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.412e-05/0.3792, allocations: 10.19 kB / 447.9 MB, free: 25.2 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.598e-06/0.3793, allocations: 0 / 447.9 MB, free: 25.2 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002459/0.3795, allocations: 38.84 kB / 448 MB, free: 25.18 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009117/0.3804, allocations: 253.6 kB / 448.2 MB, free: 25.16 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.632e-05/0.3805, allocations: 6.719 kB / 448.2 MB, free: 25.16 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006559/0.3811, allocations: 90.75 kB / 448.3 MB, free: 25.09 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.378e-05/0.3812, allocations: 44.39 kB / 448.3 MB, free: 25.08 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * 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 (159): * Single equations (assignments): 158 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 1 system {(2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002571/0.3814, allocations: 195.3 kB / 448.5 MB, free: 24.9 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.821e-05/0.3816, allocations: 64.41 kB / 448.6 MB, free: 24.87 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005786/0.3821, allocations: 328.9 kB / 448.9 MB, free: 24.68 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.39e-06/0.3822, allocations: 3.375 kB / 448.9 MB, free: 24.68 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.937e-06/0.3822, allocations: 4 kB / 448.9 MB, free: 24.68 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.07e-06/0.3822, allocations: 3.656 kB / 448.9 MB, free: 24.68 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001023/0.3832, allocations: 0.908 MB / 449.8 MB, free: 24.09 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.956e-06/0.3832, allocations: 0 / 449.8 MB, free: 24.09 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002172/0.3834, allocations: 55.08 kB / 449.9 MB, free: 24.09 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001449/0.3836, allocations: 35.06 kB / 449.9 MB, free: 24.07 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.077e-05/0.3836, allocations: 6.875 kB / 449.9 MB, free: 24.07 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.55e-06/0.3836, allocations: 7.094 kB / 449.9 MB, free: 24.06 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.485e-06/0.3837, allocations: 3.938 kB / 449.9 MB, free: 24.06 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005464/0.3842, allocations: 422.6 kB / 450.3 MB, free: 23.78 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001871/0.3844, allocations: 176.2 kB / 450.5 MB, free: 23.62 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.681e-05/0.3845, allocations: 7.844 kB / 450.5 MB, free: 23.62 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003511/0.3848, allocations: 20.3 kB / 450.5 MB, free: 23.61 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.715e-05/0.3849, allocations: 17.77 kB / 450.6 MB, free: 23.61 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.715e-05/0.3849, allocations: 17.5 kB / 450.6 MB, free: 23.61 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0003819/0.3853, allocations: 377.5 kB / 451 MB, free: 23.43 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3853, allocations: 0 / 451 MB, free: 23.43 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0006467/0.386, allocations: 234.1 kB / 451.2 MB, free: 23.39 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * 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 (27): * Single equations (assignments): 26 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 1 system {(2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002748/0.3863, allocations: 143.4 kB / 451.3 MB, free: 23.29 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001006/0.3873, allocations: 0.7059 MB / 452 MB, free: 22.96 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 4.459e-06/0.3873, allocations: 3.156 kB / 452 MB, free: 22.96 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001821/0.3875, allocations: 192.1 kB / 452.2 MB, free: 22.82 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005932/0.3881, allocations: 63.08 kB / 452.3 MB, free: 22.78 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.001342/0.3894, allocations: 1.011 MB / 453.3 MB, free: 22.09 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002846/0.3897, allocations: 0.8438 MB / 454.1 MB, free: 21.38 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0003637/0.3901, allocations: 97.25 kB / 454.2 MB, free: 21.36 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001239/0.3902, allocations: 46.78 kB / 454.3 MB, free: 21.34 MB / 350.1 MB Notification: Performance of SimCode: time 2.11e-07/0.3902, allocations: 0 / 454.3 MB, free: 21.34 MB / 350.1 MB Notification: Performance of Templates: time 0.01406/0.4043, allocations: 6.382 MB / 460.7 MB, free: 20.85 MB / 350.1 MB make -j1 -f PowerGrids_dev_PowerGrids.Electrical.PowerFlow.Test.OneSlackOneLoad.makefile (rm -f PowerGrids_dev_PowerGrids.Electrical.PowerFlow.Test.OneSlackOneLoad.pipe ; mkfifo PowerGrids_dev_PowerGrids.Electrical.PowerFlow.Test.OneSlackOneLoad.pipe ; head -c 1048576 < PowerGrids_dev_PowerGrids.Electrical.PowerFlow.Test.OneSlackOneLoad.pipe >> ../files/PowerGrids_dev_PowerGrids.Electrical.PowerFlow.Test.OneSlackOneLoad.sim & ./PowerGrids_dev_PowerGrids.Electrical.PowerFlow.Test.OneSlackOneLoad -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerGrids_dev_PowerGrids.Electrical.PowerFlow.Test.OneSlackOneLoad.pipe 2>&1)