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.01142/0.01142, allocations: 100.3 kB / 15.87 MB, free: 5.867 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.00279/0.00279, allocations: 191.9 kB / 16.79 MB, free: 5.809 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.854/1.854, allocations: 222.9 MB / 240.5 MB, free: 4.559 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 2.0.0-develop/package.mo): time 0.3218/0.3218, allocations: 16.76 MB / 307.4 MB, free: 14.9 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001427/0.001427, allocations: 67.84 kB / 371.7 MB, free: 4.074 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3832/0.3846, allocations: 53.54 MB / 425.3 MB, free: 39 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Electrical.PowerFlow.Test.OneSlackOneLoad): time 0.00513/0.3898, allocations: 5.057 MB / 430.3 MB, free: 36.35 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00329/0.3931, allocations: 2.357 MB / 432.7 MB, free: 34.99 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003587/0.3935, allocations: 12.41 kB / 432.7 MB, free: 34.99 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006081/0.3942, allocations: 202.6 kB / 432.9 MB, free: 34.9 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002047/0.3962, allocations: 1.104 MB / 434 MB, free: 34.18 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006414/0.3969, allocations: 336.7 kB / 434.3 MB, free: 34 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.0009786/0.3979, allocations: 0.9287 MB / 435.3 MB, free: 33.54 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001557/0.398, allocations: 73.95 kB / 435.3 MB, free: 33.51 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002782/0.3983, allocations: 300.4 kB / 435.6 MB, free: 33.37 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002772/0.3986, allocations: 334.8 kB / 435.9 MB, free: 33.22 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 5.512e-05/0.3987, allocations: 18.88 kB / 436 MB, free: 33.22 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005222/0.3992, allocations: 234.7 kB / 436.2 MB, free: 33.15 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.014e-05/0.3993, allocations: 89.16 kB / 436.3 MB, free: 33.1 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002297/0.3995, allocations: 315.7 kB / 436.6 MB, free: 32.91 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005314/0.4, allocations: 0.65 MB / 437.2 MB, free: 32.65 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.53e-06/0.4001, allocations: 4 kB / 437.2 MB, free: 32.64 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.132e-06/0.4001, allocations: 3.938 kB / 437.2 MB, free: 32.64 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.133e-06/0.4001, allocations: 0 / 437.2 MB, free: 32.64 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.003702/0.4038, allocations: 1.322 MB / 438.6 MB, free: 31.89 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.063e-05/0.4038, allocations: 8.281 kB / 438.6 MB, free: 31.89 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003214/0.4042, allocations: 95.89 kB / 438.7 MB, free: 31.86 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005796/0.4047, allocations: 493.5 kB / 439.2 MB, free: 31.48 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.976e-05/0.4048, allocations: 37.34 kB / 439.2 MB, free: 31.46 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.996e-05/0.4048, allocations: 41.41 kB / 439.2 MB, free: 31.45 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006021/0.4055, allocations: 0.5179 MB / 439.7 MB, free: 31.09 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.645e-05/0.4055, allocations: 7.25 kB / 439.8 MB, free: 31.08 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.936e-05/0.4055, allocations: 17.97 kB / 439.8 MB, free: 31.07 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.234e-05/0.4055, allocations: 8.938 kB / 439.8 MB, free: 31.07 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004651/0.406, allocations: 351 kB / 440.1 MB, free: 30.95 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.002215/0.4082, allocations: 3.358 MB / 443.5 MB, free: 28.04 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005125/0.4088, allocations: 279.7 kB / 443.8 MB, free: 27.92 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001304/0.4089, allocations: 97.09 kB / 443.8 MB, free: 27.87 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.407e-05/0.4089, allocations: 11.3 kB / 443.9 MB, free: 27.87 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.689e-05/0.409, allocations: 37.03 kB / 443.9 MB, free: 27.82 MB / 350.1 MB Notification: Performance of pre-optimization done (n=29): time 2.024e-06/0.409, allocations: 0 / 443.9 MB, free: 27.82 MB / 350.1 MB Notification: Performance of matching and sorting (n=29): time 0.0009117/0.4099, allocations: 481.8 kB / 444.4 MB, free: 27.54 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.238e-05/0.4099, allocations: 54.69 kB / 444.4 MB, free: 27.48 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005076/0.4105, allocations: 0.5677 MB / 445 MB, free: 27.21 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.098e-05/0.4105, allocations: 36.8 kB / 445 MB, free: 27.17 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001886/0.4107, allocations: 321.3 kB / 445.3 MB, free: 26.91 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.893e-05/0.4108, allocations: 122.7 kB / 445.5 MB, free: 26.82 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002481/0.411, allocations: 241.8 kB / 445.7 MB, free: 26.7 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 9.877e-05/0.4112, allocations: 385 kB / 446.1 MB, free: 26.35 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004085/0.4116, allocations: 298.7 kB / 446.4 MB, free: 26.24 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004584/0.412, allocations: 416.5 kB / 446.8 MB, free: 26.05 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007165/0.4128, allocations: 0.5993 MB / 447.4 MB, free: 25.73 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.007e-06/0.4128, allocations: 0 / 447.4 MB, free: 25.73 MB / 350.1 MB Notification: Performance of matching and sorting (n=160) (initialization): time 0.001375/0.4142, allocations: 0.9848 MB / 448.4 MB, free: 25.3 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.872e-05/0.4142, allocations: 6.531 kB / 448.4 MB, free: 25.3 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.436e-06/0.4142, allocations: 4.125 kB / 448.4 MB, free: 25.3 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002259/0.4144, allocations: 39.16 kB / 448.4 MB, free: 25.29 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008576/0.4153, allocations: 258.9 kB / 448.7 MB, free: 25.26 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.483e-05/0.4153, allocations: 6.344 kB / 448.7 MB, free: 25.26 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006271/0.416, allocations: 90.7 kB / 448.7 MB, free: 25.2 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.637e-05/0.416, allocations: 40.97 kB / 448.8 MB, free: 25.18 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.0002329/0.4163, allocations: 201.6 kB / 449 MB, free: 25 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.832e-05/0.4164, allocations: 67.66 kB / 449.1 MB, free: 24.96 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005461/0.4169, allocations: 320.7 kB / 449.4 MB, free: 24.79 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.568e-06/0.4169, allocations: 3.406 kB / 449.4 MB, free: 24.79 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.452e-06/0.4169, allocations: 0 / 449.4 MB, free: 24.79 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.31e-06/0.417, allocations: 7.266 kB / 449.4 MB, free: 24.78 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009623/0.4179, allocations: 0.9099 MB / 450.3 MB, free: 24.2 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.214e-06/0.4179, allocations: 0 / 450.3 MB, free: 24.2 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002123/0.4182, allocations: 52.62 kB / 450.3 MB, free: 24.19 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001435/0.4183, allocations: 42.56 kB / 450.4 MB, free: 24.17 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.648e-05/0.4183, allocations: 0 / 450.4 MB, free: 24.17 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.176e-06/0.4183, allocations: 7.25 kB / 450.4 MB, free: 24.17 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.443e-06/0.4183, allocations: 0 / 450.4 MB, free: 24.17 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004898/0.4188, allocations: 425.3 kB / 450.8 MB, free: 23.88 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000168/0.419, allocations: 171.6 kB / 451 MB, free: 23.73 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.57e-05/0.4191, allocations: 6.719 kB / 451 MB, free: 23.73 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003556/0.4195, allocations: 19.92 kB / 451 MB, free: 23.72 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.223e-05/0.4195, allocations: 20.27 kB / 451 MB, free: 23.72 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.214e-05/0.4195, allocations: 9.781 kB / 451 MB, free: 23.72 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0003536/0.4199, allocations: 382.6 kB / 451.4 MB, free: 23.54 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4199, allocations: 4 kB / 451.4 MB, free: 23.54 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0006188/0.4205, allocations: 232.1 kB / 451.6 MB, free: 23.5 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.0002546/0.4208, allocations: 139.1 kB / 451.8 MB, free: 23.39 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.000944/0.4217, allocations: 0.7085 MB / 452.5 MB, free: 23.07 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 4.388e-06/0.4218, allocations: 1.125 kB / 452.5 MB, free: 23.07 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002696/0.422, allocations: 197.6 kB / 452.7 MB, free: 22.92 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006011/0.4226, allocations: 64.95 kB / 452.7 MB, free: 22.88 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.001365/0.424, allocations: 1.042 MB / 453.8 MB, free: 22.16 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003352/0.4244, allocations: 0.8445 MB / 454.6 MB, free: 21.45 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001484/0.4245, allocations: 47.19 kB / 454.7 MB, free: 21.45 MB / 350.1 MB Notification: Performance of SimCode: time 5.51e-07/0.4245, allocations: 3.031 kB / 454.7 MB, free: 21.45 MB / 350.1 MB Notification: Performance of Templates: time 0.01739/0.4419, allocations: 10.02 MB / 464.7 MB, free: 20.43 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)