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.0008825/0.0008824, allocations: 91.92 kB / 16.02 MB, free: 80 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009264/0.0009264, allocations: 179.3 kB / 16.92 MB, free: 6.652 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.258/1.258, allocations: 223.3 MB / 241 MB, free: 5.266 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 2.0.0-develop/package.mo): time 0.1968/0.1968, allocations: 16.77 MB / 308.9 MB, free: 15.49 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002763/0.0002763, allocations: 12 kB / 374.2 MB, free: 3.082 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3086/0.3089, allocations: 54.56 MB / 428.7 MB, free: 37.79 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Electrical.PowerFlow.Test.OneSlackOneLoad): time 0.004193/0.3131, allocations: 4.655 MB / 433.4 MB, free: 36.18 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.003188/0.3163, allocations: 2.321 MB / 435.7 MB, free: 34.98 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005529/0.3169, allocations: 11.66 kB / 435.7 MB, free: 34.98 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006646/0.3176, allocations: 203.6 kB / 435.9 MB, free: 34.9 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002001/0.3196, allocations: 1.081 MB / 437 MB, free: 34.43 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006263/0.3202, allocations: 336.2 kB / 437.3 MB, free: 34.31 MB / 350.1 MB [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/NFFrontEnd/NFCeval.mo:1117:9-1117: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:1117:9-1117:67:writable] Error: Internal error NFCeval.evalBinaryDiv failed to evaluate ‘load.UStartPF / 1.732050807568877‘ Notification: Performance of NFFlatten.flatten: time 0.0009559/0.3212, allocations: 0.9268 MB / 438.3 MB, free: 34.04 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001563/0.3214, allocations: 69.72 kB / 438.3 MB, free: 34.01 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002808/0.3217, allocations: 305.4 kB / 438.6 MB, free: 33.86 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002814/0.3219, allocations: 329.5 kB / 438.9 MB, free: 33.71 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 4.395e-05/0.322, allocations: 17.56 kB / 439 MB, free: 33.71 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003622/0.3224, allocations: 239.4 kB / 439.2 MB, free: 33.65 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.696e-05/0.3224, allocations: 87.28 kB / 439.3 MB, free: 33.59 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002364/0.3227, allocations: 338.4 kB / 439.6 MB, free: 33.38 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005282/0.3232, allocations: 0.6275 MB / 440.2 MB, free: 33.18 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.939e-06/0.3232, allocations: 3.375 kB / 440.2 MB, free: 33.18 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.383e-06/0.3232, allocations: 0 / 440.2 MB, free: 33.18 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.666e-06/0.3233, allocations: 2.531 kB / 440.2 MB, free: 33.18 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.003324/0.3266, allocations: 1.177 MB / 441.4 MB, free: 32.5 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.293e-05/0.3266, allocations: 7.844 kB / 441.4 MB, free: 32.5 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003079/0.3269, allocations: 102.4 kB / 441.5 MB, free: 32.46 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005639/0.3275, allocations: 478.7 kB / 442 MB, free: 32.11 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.04e-05/0.3276, allocations: 42.12 kB / 442 MB, free: 32.08 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.701e-05/0.3276, allocations: 46.56 kB / 442.1 MB, free: 32.06 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005031/0.3281, allocations: 0.5102 MB / 442.6 MB, free: 31.7 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.354e-05/0.3281, allocations: 15.77 kB / 442.6 MB, free: 31.69 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.486e-05/0.3282, allocations: 19.94 kB / 442.6 MB, free: 31.68 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.028e-05/0.3282, allocations: 12.94 kB / 442.6 MB, free: 31.68 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004385/0.3286, allocations: 351 kB / 443 MB, free: 31.55 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.001982/0.3306, allocations: 3.352 MB / 446.3 MB, free: 28.65 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004899/0.3311, allocations: 281.5 kB / 446.6 MB, free: 28.52 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001411/0.3313, allocations: 90.48 kB / 446.7 MB, free: 28.48 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.116e-05/0.3313, allocations: 17.27 kB / 446.7 MB, free: 28.47 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.958e-05/0.3313, allocations: 38 kB / 446.8 MB, free: 28.43 MB / 350.1 MB Notification: Performance of pre-optimization done (n=29): time 1.353e-06/0.3314, allocations: 0 / 446.8 MB, free: 28.43 MB / 350.1 MB Notification: Performance of matching and sorting (n=29): time 0.0008114/0.3322, allocations: 470.4 kB / 447.2 MB, free: 28.16 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.137e-05/0.3322, allocations: 58.66 kB / 447.3 MB, free: 28.09 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004654/0.3327, allocations: 0.5746 MB / 447.8 MB, free: 27.81 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.895e-05/0.3327, allocations: 32.8 kB / 447.9 MB, free: 27.78 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001491/0.3329, allocations: 315.8 kB / 448.2 MB, free: 27.52 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.024e-05/0.333, allocations: 128.3 kB / 448.3 MB, free: 27.43 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001095/0.3331, allocations: 117.3 kB / 448.4 MB, free: 27.37 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 9.244e-05/0.3332, allocations: 382.4 kB / 448.8 MB, free: 27.03 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000411/0.3336, allocations: 301.6 kB / 449.1 MB, free: 26.91 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004614/0.334, allocations: 412.2 kB / 449.5 MB, free: 26.73 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007136/0.3348, allocations: 0.6002 MB / 450.1 MB, free: 26.41 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.346e-06/0.3348, allocations: 0 / 450.1 MB, free: 26.41 MB / 350.1 MB Notification: Performance of matching and sorting (n=160) (initialization): time 0.001315/0.3361, allocations: 0.9868 MB / 451.1 MB, free: 25.98 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.43e-05/0.3361, allocations: 11.44 kB / 451.1 MB, free: 25.97 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.372e-06/0.3361, allocations: 3.156 kB / 451.1 MB, free: 25.97 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001838/0.3363, allocations: 46.23 kB / 451.1 MB, free: 25.95 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008346/0.3372, allocations: 259.5 kB / 451.4 MB, free: 25.92 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.301e-05/0.3372, allocations: 6.656 kB / 451.4 MB, free: 25.92 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005561/0.3378, allocations: 86.64 kB / 451.5 MB, free: 25.86 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.455e-05/0.3378, allocations: 40.45 kB / 451.5 MB, free: 25.85 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.0001859/0.338, allocations: 195 kB / 451.7 MB, free: 25.68 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.481e-05/0.3381, allocations: 59.66 kB / 451.8 MB, free: 25.64 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005151/0.3386, allocations: 330.4 kB / 452.1 MB, free: 25.46 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.606e-06/0.3386, allocations: 3.094 kB / 452.1 MB, free: 25.46 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.688e-06/0.3386, allocations: 0 / 452.1 MB, free: 25.46 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.807e-06/0.3386, allocations: 3.984 kB / 452.1 MB, free: 25.45 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008238/0.3395, allocations: 0.9103 MB / 453 MB, free: 24.87 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.113e-06/0.3395, allocations: 4.094 kB / 453 MB, free: 24.87 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002054/0.3397, allocations: 53.03 kB / 453.1 MB, free: 24.86 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001361/0.3398, allocations: 35.73 kB / 453.1 MB, free: 24.85 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.795e-05/0.3399, allocations: 11.88 kB / 453.1 MB, free: 24.84 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.687e-06/0.3399, allocations: 7.344 kB / 453.1 MB, free: 24.83 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.283e-06/0.3399, allocations: 0 / 453.1 MB, free: 24.83 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004516/0.3403, allocations: 420.8 kB / 453.5 MB, free: 24.55 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001473/0.3405, allocations: 180.2 kB / 453.7 MB, free: 24.39 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.678e-05/0.3406, allocations: 0 / 453.7 MB, free: 24.39 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003563/0.3409, allocations: 33.22 kB / 453.7 MB, free: 24.38 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.547e-05/0.341, allocations: 19.72 kB / 453.8 MB, free: 24.38 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.016e-05/0.341, allocations: 13.38 kB / 453.8 MB, free: 24.38 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0003195/0.3413, allocations: 373.8 kB / 454.1 MB, free: 24.2 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.3413, allocations: 3.938 kB / 454.1 MB, free: 24.2 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0005178/0.3419, allocations: 234.4 kB / 454.4 MB, free: 24.16 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.0001896/0.342, allocations: 146.6 kB / 454.5 MB, free: 24.05 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.000765/0.3428, allocations: 0.7051 MB / 455.2 MB, free: 23.73 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.3428, allocations: 0 / 455.2 MB, free: 23.73 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001644/0.343, allocations: 197.3 kB / 455.4 MB, free: 23.58 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005634/0.3436, allocations: 68.33 kB / 455.5 MB, free: 23.55 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.0009245/0.3445, allocations: 1.055 MB / 456.5 MB, free: 22.82 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002072/0.3447, allocations: 0.8432 MB / 457.4 MB, free: 22.11 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001319/0.3449, allocations: 47.47 kB / 457.4 MB, free: 22.11 MB / 350.1 MB Notification: Performance of SimCode: time 4.01e-07/0.3449, allocations: 4 kB / 457.4 MB, free: 22.1 MB / 350.1 MB Notification: Performance of Templates: time 0.01252/0.3574, allocations: 9.951 MB / 467.4 MB, free: 21.15 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)