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.001368/0.001368, 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.001685/0.001685, allocations: 191.7 kB / 16.25 MB, free: 6.625 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.436/1.436, allocations: 222.9 MB / 239.9 MB, free: 4.512 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 2.0.0-develop/package.mo): time 0.2309/0.2309, allocations: 16.77 MB / 306.8 MB, free: 14.85 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001449/0.001449, allocations: 63.91 kB / 371.2 MB, free: 3.906 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3747/0.3761, allocations: 53.56 MB / 424.8 MB, free: 38.82 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Electrical.PowerFlow.Test.OneSlackOneLoadWithOneLine): time 0.009163/0.3854, allocations: 10.98 MB / 435.8 MB, free: 32.06 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.005507/0.3909, allocations: 3.514 MB / 439.3 MB, free: 29.54 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001031/0.392, allocations: 24.25 kB / 439.3 MB, free: 29.54 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001078/0.3931, allocations: 355.7 kB / 439.7 MB, free: 29.39 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004237/0.3974, allocations: 1.503 MB / 441.2 MB, free: 28.4 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001226/0.3986, allocations: 0.6301 MB / 441.8 MB, free: 28.03 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‘ [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/NFFrontEnd/NFCeval.mo:1126:9-1126:67:writable] Error: Internal error NFCeval.evalBinaryDiv failed to evaluate ‘line.UStartAPF / 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 ‘line.UStartBPF / 1.732050807568877‘ Notification: Performance of NFFlatten.flatten: time 0.002123/0.4007, allocations: 1.906 MB / 443.7 MB, free: 27.04 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002681/0.401, allocations: 134.9 kB / 443.8 MB, free: 26.97 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007715/0.4018, allocations: 0.6459 MB / 444.5 MB, free: 26.64 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006211/0.4024, allocations: 0.7036 MB / 445.2 MB, free: 26.29 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 9.996e-05/0.4025, allocations: 65.88 kB / 445.3 MB, free: 26.29 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001073/0.4036, allocations: 395.5 kB / 445.6 MB, free: 26.2 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001289/0.4038, allocations: 202.8 kB / 445.8 MB, free: 26.06 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004519/0.4042, allocations: 0.6369 MB / 446.5 MB, free: 25.66 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001585/0.4058, allocations: 1.554 MB / 448 MB, free: 25 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.641e-06/0.4058, allocations: 2.875 kB / 448 MB, free: 25 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.224e-06/0.4058, allocations: 3.938 kB / 448 MB, free: 25 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.329e-05/0.4058, allocations: 0 / 448 MB, free: 25 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.007597/0.4135, allocations: 2.367 MB / 450.4 MB, free: 23.88 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.669e-05/0.4135, allocations: 13.59 kB / 450.4 MB, free: 23.88 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007131/0.4142, allocations: 176.8 kB / 450.6 MB, free: 23.81 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001042/0.4153, allocations: 0.7388 MB / 451.3 MB, free: 23.29 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.529e-05/0.4153, allocations: 71.91 kB / 451.4 MB, free: 23.26 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.626e-05/0.4154, allocations: 93 kB / 451.5 MB, free: 23.23 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001173/0.4166, allocations: 1.024 MB / 452.5 MB, free: 22.54 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.196e-05/0.4167, allocations: 3.938 kB / 452.5 MB, free: 22.53 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.796e-05/0.4167, allocations: 41.12 kB / 452.6 MB, free: 22.5 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.834e-05/0.4168, allocations: 23.03 kB / 452.6 MB, free: 22.5 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009989/0.4178, allocations: 0.7925 MB / 453.4 MB, free: 22.21 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.005037/0.4228, allocations: 6.484 MB / 459.9 MB, free: 16.81 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001363/0.4242, allocations: 0.7396 MB / 460.6 MB, free: 16.5 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003433/0.4245, allocations: 278 kB / 460.9 MB, free: 16.39 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.737e-05/0.4246, allocations: 13.91 kB / 460.9 MB, free: 16.38 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.207e-05/0.4246, allocations: 42.16 kB / 460.9 MB, free: 16.33 MB / 350.1 MB Notification: Performance of pre-optimization done (n=75): time 2.424e-06/0.4247, allocations: 0 / 460.9 MB, free: 16.33 MB / 350.1 MB Notification: Performance of matching and sorting (n=75): time 0.00297/0.4276, allocations: 1.239 MB / 462.2 MB, free: 15.8 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.198e-05/0.4277, allocations: 64.52 kB / 462.2 MB, free: 15.74 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009893/0.4287, allocations: 0.9272 MB / 463.1 MB, free: 15.31 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 6.8e-05/0.4287, allocations: 47.73 kB / 463.2 MB, free: 15.27 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002957/0.429, allocations: 0.5038 MB / 463.7 MB, free: 14.86 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002345/0.4293, allocations: 307.1 kB / 464 MB, free: 14.63 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005051/0.4298, allocations: 477.1 kB / 464.5 MB, free: 14.4 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 7.677e-05/0.4299, allocations: 345.4 kB / 464.8 MB, free: 14.08 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008167/0.4307, allocations: 0.6419 MB / 465.4 MB, free: 13.82 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00106/0.4318, allocations: 0.854 MB / 466.3 MB, free: 13.44 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001731/0.4335, allocations: 1.293 MB / 467.6 MB, free: 12.74 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.423e-06/0.4335, allocations: 0 / 467.6 MB, free: 12.74 MB / 350.1 MB Notification: Performance of matching and sorting (n=338) (initialization): time 0.003712/0.4372, allocations: 2.134 MB / 469.7 MB, free: 11.82 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.09e-05/0.4373, allocations: 6.625 kB / 469.7 MB, free: 11.82 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.927e-05/0.4373, allocations: 1.312 kB / 469.7 MB, free: 11.82 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007993/0.4381, allocations: 176.2 kB / 469.9 MB, free: 11.77 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002161/0.4403, allocations: 0.514 MB / 470.4 MB, free: 11.72 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003955/0.4443, allocations: 2.633 MB / 473.1 MB, free: 9.59 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001879/0.4462, allocations: 177.5 kB / 473.2 MB, free: 9.461 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001512/0.4463, allocations: 76.38 kB / 473.3 MB, free: 9.441 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.0005961/0.4469, allocations: 300.5 kB / 473.6 MB, free: 9.191 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000215/0.4472, allocations: 106.9 kB / 473.7 MB, free: 9.137 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0018/0.449, allocations: 0.7768 MB / 474.5 MB, free: 8.766 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.708e-05/0.449, allocations: 8.719 kB / 474.5 MB, free: 8.766 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.72e-06/0.449, allocations: 3.875 kB / 474.5 MB, free: 8.766 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.769e-06/0.449, allocations: 2.438 kB / 474.5 MB, free: 8.766 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002653/0.4517, allocations: 1.757 MB / 476.2 MB, free: 7.852 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.973e-06/0.4517, allocations: 1.188 kB / 476.2 MB, free: 7.852 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005301/0.4523, allocations: 121.3 kB / 476.4 MB, free: 7.84 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005653/0.4528, allocations: 158.1 kB / 476.5 MB, free: 7.797 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.11e-05/0.4529, allocations: 12.06 kB / 476.5 MB, free: 7.789 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003248/0.4561, allocations: 2.579 MB / 479.1 MB, free: 5.668 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.716e-06/0.4561, allocations: 1.281 kB / 479.1 MB, free: 5.668 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001854/0.458, allocations: 0.8664 MB / 480 MB, free: 5.203 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005558/0.4586, allocations: 263 kB / 480.2 MB, free: 4.988 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001316/0.4587, allocations: 12.36 kB / 480.2 MB, free: 4.98 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006833/0.4594, allocations: 25.97 kB / 480.3 MB, free: 4.973 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001451/0.4596, allocations: 47.16 kB / 480.3 MB, free: 4.965 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.198e-05/0.4596, allocations: 21.31 kB / 480.3 MB, free: 4.961 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.001084/0.4607, allocations: 0.5712 MB / 480.9 MB, free: 4.703 MB / 350.1 MB Notification: Performance of sort global known variables: time 5.81e-07/0.4607, allocations: 0 / 480.9 MB, free: 4.703 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.001917/0.4627, allocations: 496 kB / 481.4 MB, free: 4.637 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.0003717/0.463, allocations: 170.8 kB / 481.6 MB, free: 4.516 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.00344/0.4665, allocations: 1.588 MB / 483.2 MB, free: 3.848 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.847e-06/0.4665, allocations: 3.938 kB / 483.2 MB, free: 3.844 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008385/0.4673, allocations: 488.8 kB / 483.6 MB, free: 3.574 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008287/0.4682, allocations: 91.23 kB / 483.7 MB, free: 3.516 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.003011/0.4712, allocations: 1.885 MB / 485.6 MB, free: 2.316 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005288/0.4717, allocations: 1.001 MB / 486.6 MB, free: 1.59 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0008014/0.4726, allocations: 176.7 kB / 486.8 MB, free: 1.539 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002521/0.4728, allocations: 81.3 kB / 486.9 MB, free: 1.531 MB / 350.1 MB Notification: Performance of SimCode: time 1.092e-06/0.4728, allocations: 0 / 486.9 MB, free: 1.531 MB / 350.1 MB Notification: Performance of Templates: time 0.03154/0.5044, allocations: 14.56 MB / 0.4897 GB, free: 7.758 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)