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.001496/0.001496, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001715/0.001715, allocations: 193.7 kB / 16.25 MB, free: 6.629 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.354/1.354, allocations: 222.9 MB / 239.9 MB, free: 4.527 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 2.0.0-develop/package.mo): time 0.1804/0.1804, allocations: 16.79 MB / 306.9 MB, free: 14.95 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001548/0.001548, allocations: 64.09 kB / 371.3 MB, free: 3.961 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3045/0.3061, allocations: 53.55 MB / 424.8 MB, free: 39.52 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Electrical.PowerFlow.Test.OneSlackOneLoad): time 0.004963/0.3111, allocations: 5.063 MB / 429.9 MB, free: 36.83 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.003079/0.3142, allocations: 2.345 MB / 432.2 MB, free: 35.17 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003783/0.3146, allocations: 12.03 kB / 432.2 MB, free: 35.16 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005857/0.3152, allocations: 201.6 kB / 432.4 MB, free: 35.08 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002055/0.3173, allocations: 1.072 MB / 433.5 MB, free: 34.39 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006283/0.3179, allocations: 333.8 kB / 433.8 MB, free: 34.21 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‘ Notification: Performance of NFFlatten.flatten: time 0.0009797/0.3189, allocations: 0.9774 MB / 434.8 MB, free: 33.7 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001656/0.3191, allocations: 75.19 kB / 434.9 MB, free: 33.67 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003051/0.3194, allocations: 348.2 kB / 435.2 MB, free: 33.49 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002974/0.3197, allocations: 356.5 kB / 435.6 MB, free: 33.32 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 5.281e-05/0.3198, allocations: 36.56 kB / 435.6 MB, free: 33.32 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005084/0.3203, allocations: 264.9 kB / 435.9 MB, free: 33.25 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.788e-05/0.3204, allocations: 109.2 kB / 436 MB, free: 33.17 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002226/0.3206, allocations: 343.3 kB / 436.3 MB, free: 32.96 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007641/0.3213, allocations: 0.8383 MB / 437.1 MB, free: 32.61 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.859e-06/0.3214, allocations: 0 / 437.1 MB, free: 32.61 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.805e-06/0.3214, allocations: 0 / 437.1 MB, free: 32.61 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.746e-06/0.3214, allocations: 3.938 kB / 437.1 MB, free: 32.6 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.003608/0.325, allocations: 1.337 MB / 438.5 MB, free: 31.84 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.433e-05/0.3251, allocations: 11.53 kB / 438.5 MB, free: 31.84 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003285/0.3254, allocations: 93.33 kB / 438.6 MB, free: 31.8 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005722/0.326, allocations: 492.5 kB / 439.1 MB, free: 31.43 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.561e-05/0.326, allocations: 30.44 kB / 439.1 MB, free: 31.41 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.087e-05/0.3261, allocations: 46.69 kB / 439.1 MB, free: 31.4 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005757/0.3267, allocations: 0.513 MB / 439.7 MB, free: 31.04 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.389e-05/0.3267, allocations: 3.938 kB / 439.7 MB, free: 31.03 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.803e-05/0.3267, allocations: 20.31 kB / 439.7 MB, free: 31.02 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.133e-05/0.3267, allocations: 10.31 kB / 439.7 MB, free: 31.02 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004389/0.3272, allocations: 353.9 kB / 440 MB, free: 30.89 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.002152/0.3293, allocations: 3.358 MB / 443.4 MB, free: 27.99 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004897/0.3298, allocations: 285.2 kB / 443.7 MB, free: 27.86 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001256/0.33, allocations: 94.91 kB / 443.8 MB, free: 27.82 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.403e-05/0.33, allocations: 5.656 kB / 443.8 MB, free: 27.82 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.363e-05/0.33, allocations: 41.72 kB / 443.8 MB, free: 27.77 MB / 350.1 MB Notification: Performance of pre-optimization done (n=29): time 1.763e-06/0.3301, allocations: 0 / 443.8 MB, free: 27.77 MB / 350.1 MB Notification: Performance of matching and sorting (n=29): time 0.000857/0.3309, allocations: 476.8 kB / 444.3 MB, free: 27.49 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.539e-05/0.331, allocations: 61.5 kB / 444.3 MB, free: 27.43 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004913/0.3315, allocations: 0.5699 MB / 444.9 MB, free: 27.15 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.034e-05/0.3315, allocations: 32.83 kB / 444.9 MB, free: 27.11 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001659/0.3317, allocations: 319.4 kB / 445.3 MB, free: 26.86 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.349e-05/0.3318, allocations: 130.5 kB / 445.4 MB, free: 26.76 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002515/0.332, allocations: 236.5 kB / 445.6 MB, free: 26.64 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 8.716e-05/0.3321, allocations: 379.1 kB / 446 MB, free: 26.3 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003726/0.3325, allocations: 311.6 kB / 446.3 MB, free: 26.18 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004476/0.3329, allocations: 408.8 kB / 446.7 MB, free: 26 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006777/0.3336, allocations: 0.6052 MB / 447.3 MB, free: 25.67 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.747e-06/0.3336, allocations: 0 / 447.3 MB, free: 25.67 MB / 350.1 MB Notification: Performance of matching and sorting (n=160) (initialization): time 0.001299/0.3349, allocations: 0.9878 MB / 448.3 MB, free: 25.24 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.937e-05/0.335, allocations: 5.844 kB / 448.3 MB, free: 25.24 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.318e-06/0.335, allocations: 0 / 448.3 MB, free: 25.24 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002148/0.3352, allocations: 37.52 kB / 448.3 MB, free: 25.23 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008583/0.3361, allocations: 258.3 kB / 448.6 MB, free: 25.2 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.322e-05/0.3361, allocations: 10.03 kB / 448.6 MB, free: 25.2 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006482/0.3367, allocations: 86.27 kB / 448.7 MB, free: 25.14 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.521e-05/0.3368, allocations: 38.09 kB / 448.7 MB, free: 25.13 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.0002249/0.337, allocations: 205.2 kB / 448.9 MB, free: 24.95 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.02e-05/0.3371, allocations: 64.5 kB / 449 MB, free: 24.91 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005317/0.3377, allocations: 328.6 kB / 449.3 MB, free: 24.73 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.018e-06/0.3377, allocations: 3.281 kB / 449.3 MB, free: 24.73 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.931e-06/0.3377, allocations: 0 / 449.3 MB, free: 24.73 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.847e-06/0.3377, allocations: 0 / 449.3 MB, free: 24.73 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009183/0.3386, allocations: 0.909 MB / 450.2 MB, free: 24.14 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.818e-06/0.3387, allocations: 7.344 kB / 450.2 MB, free: 24.14 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000205/0.3389, allocations: 49.56 kB / 450.3 MB, free: 24.14 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001402/0.339, allocations: 40.45 kB / 450.3 MB, free: 24.12 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.097e-05/0.339, allocations: 7.156 kB / 450.3 MB, free: 24.11 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.787e-06/0.339, allocations: 3.938 kB / 450.3 MB, free: 24.11 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.194e-06/0.3391, allocations: 3.031 kB / 450.3 MB, free: 24.11 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004743/0.3395, allocations: 418.1 kB / 450.7 MB, free: 23.83 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001664/0.3397, allocations: 179.1 kB / 450.9 MB, free: 23.67 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.535e-05/0.3398, allocations: 4 kB / 450.9 MB, free: 23.67 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003496/0.3401, allocations: 24.08 kB / 450.9 MB, free: 23.66 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.882e-05/0.3402, allocations: 16.38 kB / 450.9 MB, free: 23.66 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.237e-05/0.3402, allocations: 16.69 kB / 451 MB, free: 23.66 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0003161/0.3405, allocations: 368 kB / 451.3 MB, free: 23.48 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.3405, allocations: 3.344 kB / 451.3 MB, free: 23.48 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.000627/0.3412, allocations: 232.8 kB / 451.5 MB, free: 23.45 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.0002183/0.3414, allocations: 149.8 kB / 451.7 MB, free: 23.34 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0008629/0.3423, allocations: 0.7122 MB / 452.4 MB, free: 23 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.417e-06/0.3423, allocations: 0 / 452.4 MB, free: 23 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001705/0.3425, allocations: 199.5 kB / 452.6 MB, free: 22.86 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005362/0.343, allocations: 72.22 kB / 452.7 MB, free: 22.82 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.001093/0.3441, allocations: 1.008 MB / 453.7 MB, free: 22.13 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002134/0.3443, allocations: 0.8466 MB / 454.5 MB, free: 21.41 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.000373/0.3447, allocations: 100.9 kB / 454.6 MB, free: 21.39 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001129/0.3448, allocations: 47.45 kB / 454.7 MB, free: 21.38 MB / 350.1 MB Notification: Performance of SimCode: time 3.41e-07/0.3448, allocations: 0 / 454.7 MB, free: 21.38 MB / 350.1 MB Notification: Performance of Templates: time 0.1581/0.503, allocations: 6.846 MB / 461.5 MB, free: 20.87 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)