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.001148/0.001148, 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.001195/0.001195, allocations: 193.3 kB / 16.14 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.344/1.344, allocations: 222.9 MB / 239.8 MB, free: 4.613 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 2.0.0-develop/package.mo): time 0.2076/0.2076, allocations: 16.78 MB / 306.8 MB, free: 14.96 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001415/0.001415, allocations: 67.89 kB / 371.1 MB, free: 4.094 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3549/0.3563, allocations: 53.54 MB / 424.6 MB, free: 39.18 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Electrical.PowerFlow.Test.OneSlackOneLoad): time 0.004354/0.3607, allocations: 5.055 MB / 429.7 MB, free: 36.52 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002745/0.3635, allocations: 2.36 MB / 432 MB, free: 35.2 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003157/0.3639, allocations: 18.62 kB / 432.1 MB, free: 35.2 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00052/0.3644, allocations: 202 kB / 432.3 MB, free: 35.11 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001842/0.3662, allocations: 1.099 MB / 433.4 MB, free: 34.39 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005849/0.3668, allocations: 332.3 kB / 433.7 MB, free: 34.21 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 ‘load.UStartPF / 1.732050807568877‘ Notification: Performance of NFFlatten.flatten: time 0.0008627/0.3677, allocations: 0.9234 MB / 434.6 MB, free: 33.75 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001471/0.3679, allocations: 78.67 kB / 434.7 MB, free: 33.72 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002691/0.3681, allocations: 301.4 kB / 435 MB, free: 33.58 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002397/0.3684, allocations: 337.5 kB / 435.3 MB, free: 33.43 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 5.207e-05/0.3684, allocations: 21 kB / 435.3 MB, free: 33.43 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004875/0.3689, allocations: 233.3 kB / 435.6 MB, free: 33.36 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.541e-05/0.369, allocations: 91.5 kB / 435.7 MB, free: 33.3 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002121/0.3692, allocations: 313.3 kB / 436 MB, free: 33.12 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006273/0.3699, allocations: 0.8391 MB / 436.8 MB, free: 32.76 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.347e-06/0.3699, allocations: 0 / 436.8 MB, free: 32.76 MB / 350.1 MB Notification: Performance of FrontEnd: time 8.22e-07/0.3699, allocations: 0 / 436.8 MB, free: 32.76 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.291e-06/0.3699, allocations: 0 / 436.8 MB, free: 32.76 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.003692/0.3736, allocations: 1.337 MB / 438.1 MB, free: 31.99 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.254e-05/0.3736, allocations: 11.31 kB / 438.1 MB, free: 31.99 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003333/0.374, allocations: 92.31 kB / 438.2 MB, free: 31.95 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005846/0.3746, allocations: 485.1 kB / 438.7 MB, free: 31.59 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.506e-05/0.3746, allocations: 31 kB / 438.7 MB, free: 31.57 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.979e-05/0.3747, allocations: 46.03 kB / 438.8 MB, free: 31.56 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005808/0.3753, allocations: 0.516 MB / 439.3 MB, free: 31.2 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.428e-05/0.3753, allocations: 7.875 kB / 439.3 MB, free: 31.19 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.985e-05/0.3753, allocations: 24.41 kB / 439.3 MB, free: 31.18 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.071e-05/0.3753, allocations: 10.72 kB / 439.3 MB, free: 31.18 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004569/0.3758, allocations: 354.3 kB / 439.7 MB, free: 31.05 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.002159/0.378, allocations: 3.355 MB / 443 MB, free: 28.15 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005073/0.3785, allocations: 284.5 kB / 443.3 MB, free: 28.02 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001304/0.3786, allocations: 92.25 kB / 443.4 MB, free: 27.98 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.722e-05/0.3787, allocations: 9.125 kB / 443.4 MB, free: 27.98 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.891e-05/0.3787, allocations: 37.78 kB / 443.5 MB, free: 27.93 MB / 350.1 MB Notification: Performance of pre-optimization done (n=29): time 2.765e-06/0.3787, allocations: 0 / 443.5 MB, free: 27.93 MB / 350.1 MB Notification: Performance of matching and sorting (n=29): time 0.0009107/0.3796, allocations: 480.4 kB / 443.9 MB, free: 27.65 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.415e-05/0.3797, allocations: 54.31 kB / 444 MB, free: 27.59 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004865/0.3801, allocations: 0.568 MB / 444.5 MB, free: 27.32 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.062e-05/0.3802, allocations: 40.92 kB / 444.6 MB, free: 27.27 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001642/0.3804, allocations: 316 kB / 444.9 MB, free: 27.02 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.348e-05/0.3804, allocations: 126.3 kB / 445 MB, free: 26.93 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002671/0.3807, allocations: 237.2 kB / 445.2 MB, free: 26.81 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 8.995e-05/0.3808, allocations: 378.1 kB / 445.6 MB, free: 26.47 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000398/0.3812, allocations: 304.1 kB / 445.9 MB, free: 26.35 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004441/0.3817, allocations: 416.3 kB / 446.3 MB, free: 26.16 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006966/0.3824, allocations: 0.6039 MB / 446.9 MB, free: 25.84 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.807e-06/0.3824, allocations: 0 / 446.9 MB, free: 25.84 MB / 350.1 MB Notification: Performance of matching and sorting (n=160) (initialization): time 0.001355/0.3837, allocations: 0.9878 MB / 447.9 MB, free: 25.41 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.973e-05/0.3838, allocations: 7.219 kB / 447.9 MB, free: 25.41 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.716e-06/0.3838, allocations: 0 / 447.9 MB, free: 25.41 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002225/0.384, allocations: 39.59 kB / 448 MB, free: 25.39 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008749/0.3849, allocations: 253.2 kB / 448.2 MB, free: 25.37 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.479e-05/0.3849, allocations: 10.42 kB / 448.2 MB, free: 25.37 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006366/0.3856, allocations: 92.27 kB / 448.3 MB, free: 25.3 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.603e-05/0.3856, allocations: 44.33 kB / 448.3 MB, free: 25.29 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.0002393/0.3859, allocations: 195.6 kB / 448.5 MB, free: 25.11 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.196e-05/0.386, allocations: 63.16 kB / 448.6 MB, free: 25.08 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005459/0.3865, allocations: 329.1 kB / 448.9 MB, free: 24.89 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.008e-06/0.3865, allocations: 7.938 kB / 448.9 MB, free: 24.89 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.061e-06/0.3866, allocations: 3.281 kB / 448.9 MB, free: 24.89 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.778e-06/0.3866, allocations: 0 / 448.9 MB, free: 24.89 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009146/0.3875, allocations: 0.9053 MB / 449.8 MB, free: 24.3 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.965e-06/0.3875, allocations: 3.188 kB / 449.8 MB, free: 24.3 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002199/0.3877, allocations: 57.28 kB / 449.9 MB, free: 24.29 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001507/0.3879, allocations: 32.03 kB / 449.9 MB, free: 24.28 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.008e-05/0.3879, allocations: 15.53 kB / 449.9 MB, free: 24.27 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.617e-06/0.3879, allocations: 3.938 kB / 449.9 MB, free: 24.27 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.296e-06/0.3879, allocations: 7.969 kB / 450 MB, free: 24.27 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004678/0.3884, allocations: 410.4 kB / 450.4 MB, free: 23.99 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001813/0.3886, allocations: 176.5 kB / 450.5 MB, free: 23.83 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.852e-05/0.3887, allocations: 10.27 kB / 450.5 MB, free: 23.83 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000356/0.389, allocations: 19.48 kB / 450.6 MB, free: 23.82 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.551e-05/0.3891, allocations: 21.09 kB / 450.6 MB, free: 23.82 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.225e-05/0.3891, allocations: 16.22 kB / 450.6 MB, free: 23.81 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.000334/0.3895, allocations: 374.6 kB / 451 MB, free: 23.64 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3895, allocations: 0 / 451 MB, free: 23.64 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0006399/0.3901, allocations: 234.2 kB / 451.2 MB, free: 23.6 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.0002094/0.3903, allocations: 154.1 kB / 451.3 MB, free: 23.48 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0008394/0.3912, allocations: 0.7001 MB / 452 MB, free: 23.16 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.236e-06/0.3912, allocations: 0 / 452 MB, free: 23.16 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001699/0.3914, allocations: 195.5 kB / 452.2 MB, free: 23.02 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005387/0.3919, allocations: 62.95 kB / 452.3 MB, free: 22.98 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.001074/0.393, allocations: 1 MB / 453.3 MB, free: 22.3 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002038/0.3932, allocations: 0.8441 MB / 454.1 MB, free: 21.6 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0003461/0.3936, allocations: 98.64 kB / 454.2 MB, free: 21.57 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001136/0.3937, allocations: 51.02 kB / 454.3 MB, free: 21.56 MB / 350.1 MB Notification: Performance of SimCode: time 3.71e-07/0.3937, allocations: 0 / 454.3 MB, free: 21.56 MB / 350.1 MB Notification: Performance of Templates: time 0.169/0.5627, allocations: 6.376 MB / 460.7 MB, free: 21.07 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=50 -lv LOG_STATS > PowerGrids_dev_PowerGrids.Electrical.PowerFlow.Test.OneSlackOneLoad.pipe 2>&1)