Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerGrids_dev_PowerGrids.Electrical.PowerFlow.Test.OneSlackOneLoadWithOneLine.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.OneSlackOneLoadWithOneLine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerGrids_dev_PowerGrids.Electrical.PowerFlow.Test.OneSlackOneLoadWithOneLine") translateModel(PowerGrids.Electrical.PowerFlow.Test.OneSlackOneLoadWithOneLine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerGrids_dev_PowerGrids.Electrical.PowerFlow.Test.OneSlackOneLoadWithOneLine") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.009836/0.009836, allocations: 101 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.001614/0.001615, allocations: 197 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.429/1.429, allocations: 222.9 MB / 240.5 MB, free: 4.562 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 2.0.0-develop/package.mo): time 0.2279/0.2279, allocations: 16.77 MB / 307.4 MB, free: 14.89 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0013/0.0013, allocations: 59.91 kB / 371.7 MB, free: 4.055 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5856/0.5869, allocations: 53.55 MB / 425.3 MB, free: 39.16 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Electrical.PowerFlow.Test.OneSlackOneLoadWithOneLine): time 0.01467/0.6017, allocations: 10.98 MB / 436.3 MB, free: 32.45 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.008964/0.6107, allocations: 3.512 MB / 439.8 MB, free: 29.94 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002454/0.6133, allocations: 31.97 kB / 439.8 MB, free: 29.92 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001938/0.6153, allocations: 355.3 kB / 440.2 MB, free: 29.78 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005555/0.6209, allocations: 1.538 MB / 441.7 MB, free: 28.77 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00159/0.6225, allocations: 0.6393 MB / 442.3 MB, free: 28.39 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‘ [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/NFFrontEnd/NFCeval.mo:1125:9-1125:67:writable] Error: Internal error NFCeval.evalBinaryDiv failed to evaluate ‘line.UStartAPF / 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 ‘line.UStartBPF / 1.732050807568877‘ Notification: Performance of NFFlatten.flatten: time 0.003213/0.6257, allocations: 1.801 MB / 444.1 MB, free: 27.48 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004108/0.6261, allocations: 127.5 kB / 444.3 MB, free: 27.42 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009544/0.6271, allocations: 0.5687 MB / 444.8 MB, free: 27.16 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008181/0.6279, allocations: 0.6542 MB / 445.5 MB, free: 26.86 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001143/0.628, allocations: 38.28 kB / 445.5 MB, free: 26.86 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001251/0.6293, allocations: 344.6 kB / 445.9 MB, free: 26.76 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001641/0.6294, allocations: 164 kB / 446 MB, free: 26.65 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007329/0.6302, allocations: 0.5959 MB / 446.6 MB, free: 26.3 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001528/0.6317, allocations: 1.194 MB / 447.8 MB, free: 25.84 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.347e-06/0.6317, allocations: 0 / 447.8 MB, free: 25.84 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.856e-06/0.6318, allocations: 0 / 447.8 MB, free: 25.84 MB / 350.1 MB Notification: Performance of Transformations before backend: time 2.128e-05/0.6318, allocations: 0 / 447.8 MB, free: 25.84 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: 209 * Number of variables: 209 Notification: Performance of Generate backend data structure: time 0.009019/0.6408, allocations: 2.367 MB / 450.2 MB, free: 24.72 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.527e-05/0.6409, allocations: 9.562 kB / 450.2 MB, free: 24.72 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008025/0.6417, allocations: 186 kB / 450.4 MB, free: 24.64 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001356/0.6431, allocations: 0.7304 MB / 451.1 MB, free: 24.13 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.281e-05/0.6432, allocations: 75.12 kB / 451.2 MB, free: 24.09 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001338/0.6433, allocations: 90.12 kB / 451.3 MB, free: 24.07 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001535/0.6448, allocations: 1.025 MB / 452.3 MB, free: 23.38 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.115e-05/0.6449, allocations: 11.3 kB / 452.3 MB, free: 23.37 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.731e-05/0.645, allocations: 40.62 kB / 452.3 MB, free: 23.34 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.564e-05/0.645, allocations: 22.66 kB / 452.4 MB, free: 23.34 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001407/0.6465, allocations: 0.7981 MB / 453.2 MB, free: 23.04 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.006764/0.6532, allocations: 6.488 MB / 459.6 MB, free: 17.64 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001651/0.6549, allocations: 0.7297 MB / 460.4 MB, free: 17.34 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004449/0.6554, allocations: 286.7 kB / 460.6 MB, free: 17.22 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.205e-05/0.6555, allocations: 13.34 kB / 460.7 MB, free: 17.21 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.119e-05/0.6555, allocations: 42.09 kB / 460.7 MB, free: 17.16 MB / 350.1 MB Notification: Performance of pre-optimization done (n=75): time 3.477e-06/0.6555, allocations: 0 / 460.7 MB, free: 17.16 MB / 350.1 MB Notification: Performance of matching and sorting (n=75): time 0.003364/0.6589, allocations: 1.233 MB / 461.9 MB, free: 16.64 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.48e-05/0.659, allocations: 64.94 kB / 462 MB, free: 16.58 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001245/0.6602, allocations: 0.9335 MB / 462.9 MB, free: 16.14 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 6.362e-05/0.6603, allocations: 44.86 kB / 463 MB, free: 16.1 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004115/0.6607, allocations: 0.5011 MB / 463.5 MB, free: 15.7 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003227/0.661, allocations: 311.1 kB / 463.8 MB, free: 15.46 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007323/0.6618, allocations: 478.2 kB / 464.2 MB, free: 15.23 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001244/0.6619, allocations: 337.4 kB / 464.6 MB, free: 14.92 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001098/0.663, allocations: 0.6469 MB / 465.2 MB, free: 14.66 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001406/0.6644, allocations: 0.8527 MB / 466.1 MB, free: 14.27 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002638/0.6671, allocations: 1.293 MB / 467.4 MB, free: 13.57 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.334e-06/0.6671, allocations: 4.969 kB / 467.4 MB, free: 13.57 MB / 350.1 MB Notification: Performance of matching and sorting (n=338) (initialization): time 0.005082/0.6722, allocations: 2.136 MB / 469.5 MB, free: 12.65 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.922e-05/0.6723, allocations: 4.719 kB / 469.5 MB, free: 12.65 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.316e-05/0.6723, allocations: 6.281 kB / 469.5 MB, free: 12.64 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009328/0.6732, allocations: 174.5 kB / 469.7 MB, free: 12.6 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002431/0.6757, allocations: 0.5218 MB / 470.2 MB, free: 12.54 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004587/0.6803, allocations: 2.405 MB / 472.6 MB, free: 10.61 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001996/0.6823, allocations: 174.4 kB / 472.8 MB, free: 10.48 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002699/0.6826, allocations: 77.22 kB / 472.9 MB, free: 10.46 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * 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 (325): * Single equations (assignments): 324 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,12)} Notification: Performance of prepare postOptimizeDAE: time 0.0009315/0.6835, allocations: 303.7 kB / 473.2 MB, free: 10.21 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004116/0.6839, allocations: 107.7 kB / 473.3 MB, free: 10.16 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002171/0.6861, allocations: 0.7748 MB / 474 MB, free: 9.785 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.565e-05/0.6861, allocations: 11.25 kB / 474.1 MB, free: 9.781 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.699e-06/0.6862, allocations: 1.125 kB / 474.1 MB, free: 9.781 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.224e-05/0.6862, allocations: 3.141 kB / 474.1 MB, free: 9.781 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003959/0.6901, allocations: 1.754 MB / 475.8 MB, free: 8.871 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.277e-06/0.6902, allocations: 5.094 kB / 475.8 MB, free: 8.867 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006149/0.6908, allocations: 125.6 kB / 475.9 MB, free: 8.852 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008067/0.6916, allocations: 154.1 kB / 476.1 MB, free: 8.812 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.464e-05/0.6917, allocations: 16.69 kB / 476.1 MB, free: 8.801 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00397/0.6957, allocations: 2.355 MB / 478.5 MB, free: 6.879 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.178e-06/0.6957, allocations: 1.5 kB / 478.5 MB, free: 6.879 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00244/0.6981, allocations: 0.8655 MB / 479.3 MB, free: 6.414 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008372/0.699, allocations: 260.6 kB / 479.6 MB, free: 6.203 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000295/0.6993, allocations: 18.67 kB / 479.6 MB, free: 6.191 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008505/0.7002, allocations: 28.66 kB / 479.6 MB, free: 6.18 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001797/0.7004, allocations: 41.06 kB / 479.7 MB, free: 6.176 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.662e-05/0.7004, allocations: 27.66 kB / 479.7 MB, free: 6.168 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.001634/0.7021, allocations: 0.5657 MB / 480.3 MB, free: 5.914 MB / 350.1 MB Notification: Performance of sort global known variables: time 4.31e-07/0.7021, allocations: 0 / 480.3 MB, free: 5.914 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.003248/0.7054, allocations: 495.6 kB / 480.7 MB, free: 5.848 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (62): * Single equations (assignments): 61 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,12)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0006344/0.706, allocations: 179.2 kB / 480.9 MB, free: 5.719 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.004948/0.711, allocations: 1.559 MB / 482.5 MB, free: 5.07 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 6.252e-06/0.711, allocations: 3.938 kB / 482.5 MB, free: 5.066 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00113/0.7121, allocations: 477.1 kB / 482.9 MB, free: 4.805 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001506/0.7137, allocations: 87.97 kB / 483 MB, free: 4.75 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.005117/0.7188, allocations: 1.928 MB / 485 MB, free: 3.508 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001015/0.7198, allocations: 0.9975 MB / 486 MB, free: 2.785 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004832/0.7203, allocations: 94.33 kB / 486.1 MB, free: 2.773 MB / 350.1 MB Notification: Performance of SimCode: time 9.91e-07/0.7203, allocations: 0 / 486.1 MB, free: 2.773 MB / 350.1 MB Notification: Performance of Templates: time 0.05202/0.7723, allocations: 18.59 MB / 0.4928 GB, free: 5.043 MB / 366.1 MB make -j1 -f PowerGrids_dev_PowerGrids.Electrical.PowerFlow.Test.OneSlackOneLoadWithOneLine.makefile (rm -f PowerGrids_dev_PowerGrids.Electrical.PowerFlow.Test.OneSlackOneLoadWithOneLine.pipe ; mkfifo PowerGrids_dev_PowerGrids.Electrical.PowerFlow.Test.OneSlackOneLoadWithOneLine.pipe ; head -c 1048576 < PowerGrids_dev_PowerGrids.Electrical.PowerFlow.Test.OneSlackOneLoadWithOneLine.pipe >> ../files/PowerGrids_dev_PowerGrids.Electrical.PowerFlow.Test.OneSlackOneLoadWithOneLine.sim & ./PowerGrids_dev_PowerGrids.Electrical.PowerFlow.Test.OneSlackOneLoadWithOneLine -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerGrids_dev_PowerGrids.Electrical.PowerFlow.Test.OneSlackOneLoadWithOneLine.pipe 2>&1)