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.002092/0.002092, 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.001972/0.001972, allocations: 193.2 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.381/1.381, allocations: 222.9 MB / 239.9 MB, free: 4.484 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 2.0.0-develop/package.mo): time 0.2099/0.2099, allocations: 16.78 MB / 306.9 MB, free: 14.86 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001395/0.001395, allocations: 59.91 kB / 371.3 MB, free: 3.887 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3458/0.3472, allocations: 53.55 MB / 424.8 MB, free: 39 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Electrical.PowerFlow.Test.OneSlackOneLoad): time 0.005545/0.3528, allocations: 5.06 MB / 429.9 MB, free: 36.31 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.003311/0.3561, allocations: 2.347 MB / 432.2 MB, free: 34.93 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003575/0.3565, allocations: 14.06 kB / 432.2 MB, free: 34.93 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005605/0.3571, allocations: 203.5 kB / 432.4 MB, free: 34.84 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002092/0.3592, allocations: 1.069 MB / 433.5 MB, free: 34.15 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006943/0.3599, allocations: 334.3 kB / 433.8 MB, free: 33.96 MB / 350.1 MB [/var/lib/jenkins/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/jenkins/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‘ Notification: Performance of NFFlatten.flatten: time 0.001087/0.361, allocations: 0.9724 MB / 434.8 MB, free: 33.46 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001803/0.3612, allocations: 77.42 kB / 434.9 MB, free: 33.43 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000348/0.3616, allocations: 349 kB / 435.2 MB, free: 33.25 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002845/0.3619, allocations: 360 kB / 435.6 MB, free: 33.07 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 5.319e-05/0.3619, allocations: 37.38 kB / 435.6 MB, free: 33.07 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005249/0.3625, allocations: 266.8 kB / 435.9 MB, free: 33 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.659e-05/0.3625, allocations: 105.2 kB / 436 MB, free: 32.93 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002312/0.3628, allocations: 336.7 kB / 436.3 MB, free: 32.72 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007803/0.3636, allocations: 0.8525 MB / 437.1 MB, free: 32.36 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.259e-06/0.3636, allocations: 7.281 kB / 437.2 MB, free: 32.35 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.764e-06/0.3636, allocations: 0 / 437.2 MB, free: 32.35 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.686e-06/0.3636, allocations: 0 / 437.2 MB, free: 32.35 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.003619/0.3672, allocations: 1.321 MB / 438.5 MB, free: 31.6 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.479e-05/0.3673, allocations: 10.69 kB / 438.5 MB, free: 31.6 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000373/0.3677, allocations: 95.59 kB / 438.6 MB, free: 31.56 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006971/0.3684, allocations: 491.9 kB / 439.1 MB, free: 31.19 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.721e-05/0.3684, allocations: 39.81 kB / 439.1 MB, free: 31.17 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.681e-05/0.3685, allocations: 40.19 kB / 439.1 MB, free: 31.16 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007759/0.3693, allocations: 0.5117 MB / 439.7 MB, free: 30.8 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.058e-05/0.3693, allocations: 10.84 kB / 439.7 MB, free: 30.79 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.677e-05/0.3694, allocations: 21.44 kB / 439.7 MB, free: 30.77 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.815e-05/0.3694, allocations: 10.75 kB / 439.7 MB, free: 30.77 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004979/0.3699, allocations: 348.1 kB / 440 MB, free: 30.65 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.002677/0.3726, allocations: 3.358 MB / 443.4 MB, free: 27.75 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005373/0.3731, allocations: 280.3 kB / 443.7 MB, free: 27.62 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001326/0.3733, allocations: 97.89 kB / 443.8 MB, free: 27.57 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.356e-05/0.3734, allocations: 13.61 kB / 443.8 MB, free: 27.57 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.704e-05/0.3734, allocations: 33.72 kB / 443.8 MB, free: 27.53 MB / 350.1 MB Notification: Performance of pre-optimization done (n=29): time 2.565e-06/0.3734, allocations: 0 / 443.8 MB, free: 27.53 MB / 350.1 MB Notification: Performance of matching and sorting (n=29): time 0.001041/0.3744, allocations: 481.9 kB / 444.3 MB, free: 27.25 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.908e-05/0.3745, allocations: 54.5 kB / 444.3 MB, free: 27.18 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005199/0.375, allocations: 0.5758 MB / 444.9 MB, free: 26.9 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.454e-05/0.3751, allocations: 33.7 kB / 444.9 MB, free: 26.86 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001785/0.3753, allocations: 319.3 kB / 445.3 MB, free: 26.61 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.965e-05/0.3753, allocations: 123.4 kB / 445.4 MB, free: 26.52 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002618/0.3756, allocations: 241 kB / 445.6 MB, free: 26.4 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 9.744e-05/0.3757, allocations: 381.5 kB / 446 MB, free: 26.05 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003882/0.3761, allocations: 302.5 kB / 446.3 MB, free: 25.94 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004382/0.3766, allocations: 411.2 kB / 446.7 MB, free: 25.75 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006799/0.3772, allocations: 0.6045 MB / 447.3 MB, free: 25.43 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.118e-06/0.3773, allocations: 3.375 kB / 447.3 MB, free: 25.43 MB / 350.1 MB Notification: Performance of matching and sorting (n=160) (initialization): time 0.001263/0.3785, allocations: 0.9832 MB / 448.3 MB, free: 25 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.29e-05/0.3786, allocations: 9.781 kB / 448.3 MB, free: 25 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.938e-06/0.3786, allocations: 0 / 448.3 MB, free: 25 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002295/0.3788, allocations: 42.98 kB / 448.3 MB, free: 24.98 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008339/0.3796, allocations: 255.1 kB / 448.6 MB, free: 24.96 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.446e-05/0.3797, allocations: 6.375 kB / 448.6 MB, free: 24.96 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005962/0.3803, allocations: 86.22 kB / 448.7 MB, free: 24.9 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.477e-05/0.3803, allocations: 43.73 kB / 448.7 MB, free: 24.89 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.0002138/0.3806, allocations: 198.9 kB / 448.9 MB, free: 24.71 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.473e-05/0.3806, allocations: 63.94 kB / 449 MB, free: 24.67 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005004/0.3812, allocations: 325.5 kB / 449.3 MB, free: 24.49 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.799e-06/0.3812, allocations: 3.219 kB / 449.3 MB, free: 24.49 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.991e-06/0.3812, allocations: 0 / 449.3 MB, free: 24.49 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.679e-06/0.3812, allocations: 7.359 kB / 449.3 MB, free: 24.48 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008581/0.3821, allocations: 0.9119 MB / 450.2 MB, free: 23.9 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.134e-06/0.3821, allocations: 0 / 450.2 MB, free: 23.9 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002039/0.3823, allocations: 52.64 kB / 450.3 MB, free: 23.89 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001366/0.3824, allocations: 35.53 kB / 450.3 MB, free: 23.88 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.718e-05/0.3824, allocations: 8.094 kB / 450.3 MB, free: 23.87 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.745e-06/0.3825, allocations: 7.125 kB / 450.3 MB, free: 23.87 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.084e-06/0.3825, allocations: 3.312 kB / 450.3 MB, free: 23.87 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004409/0.3829, allocations: 419.7 kB / 450.7 MB, free: 23.59 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001499/0.3831, allocations: 172.8 kB / 450.9 MB, free: 23.43 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.21e-05/0.3831, allocations: 6.906 kB / 450.9 MB, free: 23.43 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003425/0.3835, allocations: 24.12 kB / 450.9 MB, free: 23.42 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.444e-05/0.3835, allocations: 13.98 kB / 450.9 MB, free: 23.42 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.138e-05/0.3836, allocations: 17.75 kB / 450.9 MB, free: 23.42 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.000299/0.3839, allocations: 374.5 kB / 451.3 MB, free: 23.24 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3839, allocations: 0 / 451.3 MB, free: 23.24 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.000544/0.3844, allocations: 236.7 kB / 451.5 MB, free: 23.21 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.0002296/0.3847, allocations: 147.8 kB / 451.7 MB, free: 23.09 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0008475/0.3855, allocations: 0.713 MB / 452.4 MB, free: 22.76 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.316e-06/0.3855, allocations: 8.188 kB / 452.4 MB, free: 22.75 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001699/0.3857, allocations: 197.2 kB / 452.6 MB, free: 22.61 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005232/0.3862, allocations: 65.84 kB / 452.7 MB, free: 22.57 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.001011/0.3873, allocations: 1.008 MB / 453.7 MB, free: 21.89 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002122/0.3875, allocations: 0.8522 MB / 454.5 MB, free: 21.17 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0003336/0.3878, allocations: 96.31 kB / 454.6 MB, free: 21.14 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001113/0.3879, allocations: 50.09 kB / 454.7 MB, free: 21.13 MB / 350.1 MB Notification: Performance of SimCode: time 2.41e-07/0.3879, allocations: 0 / 454.7 MB, free: 21.13 MB / 350.1 MB Notification: Performance of Templates: time 0.01186/0.3998, allocations: 6.838 MB / 461.5 MB, free: 20.63 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)