Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerGrids_dev_PowerGrids.Electrical.PowerFlow.Test.OneSlackOneZLoad.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.OneSlackOneZLoad,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerGrids_dev_PowerGrids.Electrical.PowerFlow.Test.OneSlackOneZLoad") translateModel(PowerGrids.Electrical.PowerFlow.Test.OneSlackOneZLoad,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerGrids_dev_PowerGrids.Electrical.PowerFlow.Test.OneSlackOneZLoad") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001172/0.001172, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001144/0.001144, allocations: 193.7 kB / 16.14 MB, free: 6.711 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.393/1.393, allocations: 222.9 MB / 239.8 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.2182/0.2182, allocations: 16.79 MB / 306.7 MB, free: 14.98 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001233/0.001233, allocations: 63.89 kB / 371.1 MB, free: 4.098 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4083/0.4096, allocations: 53.55 MB / 424.6 MB, free: 39.04 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Electrical.PowerFlow.Test.OneSlackOneZLoad): time 0.005313/0.4149, allocations: 5.102 MB / 429.7 MB, free: 36.35 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.003398/0.4184, allocations: 2.511 MB / 432.2 MB, free: 34.91 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003876/0.4188, allocations: 12.44 kB / 432.3 MB, free: 34.9 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005968/0.4194, allocations: 226.4 kB / 432.5 MB, free: 34.8 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002045/0.4215, allocations: 1.093 MB / 433.6 MB, free: 34.1 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007767/0.4223, allocations: 465.3 kB / 434 MB, free: 33.83 MB / 350.1 MB [/var/lib/jenkins/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/jenkins/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.0009485/0.4232, allocations: 0.9422 MB / 435 MB, free: 33.36 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001667/0.4234, allocations: 67.55 kB / 435 MB, free: 33.34 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002933/0.4237, allocations: 302.1 kB / 435.3 MB, free: 33.2 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002878/0.424, allocations: 350.3 kB / 435.7 MB, free: 33.04 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 5.786e-05/0.4241, allocations: 21.62 kB / 435.7 MB, free: 33.04 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005276/0.4246, allocations: 266.6 kB / 436 MB, free: 32.95 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.251e-05/0.4247, allocations: 92.03 kB / 436 MB, free: 32.89 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002412/0.4249, allocations: 309.8 kB / 436.3 MB, free: 32.71 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008003/0.4257, allocations: 0.8671 MB / 437.2 MB, free: 32.34 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.969e-06/0.4258, allocations: 2.969 kB / 437.2 MB, free: 32.34 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.032e-06/0.4258, allocations: 0 / 437.2 MB, free: 32.34 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.773e-06/0.4258, allocations: 0 / 437.2 MB, free: 32.34 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.00388/0.4297, allocations: 1.375 MB / 438.6 MB, free: 31.57 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.205e-05/0.4297, allocations: 8.562 kB / 438.6 MB, free: 31.57 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003376/0.4301, allocations: 91.81 kB / 438.7 MB, free: 31.53 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006153/0.4307, allocations: 495.5 kB / 439.2 MB, free: 31.16 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.129e-05/0.4307, allocations: 32.53 kB / 439.2 MB, free: 31.14 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.588e-05/0.4308, allocations: 45.19 kB / 439.2 MB, free: 31.13 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006546/0.4314, allocations: 0.5224 MB / 439.8 MB, free: 30.76 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.738e-05/0.4315, allocations: 7.656 kB / 439.8 MB, free: 30.75 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.086e-05/0.4315, allocations: 21.86 kB / 439.8 MB, free: 30.74 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.096e-05/0.4315, allocations: 12.56 kB / 439.8 MB, free: 30.74 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004953/0.432, allocations: 373.2 kB / 440.2 MB, free: 30.61 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.002241/0.4343, allocations: 3.373 MB / 443.6 MB, free: 27.69 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005541/0.4348, allocations: 306.9 kB / 443.8 MB, free: 27.55 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001491/0.435, allocations: 111.8 kB / 444 MB, free: 27.5 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.566e-05/0.435, allocations: 3.375 kB / 444 MB, free: 27.5 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.421e-05/0.4351, allocations: 37.52 kB / 444 MB, free: 27.46 MB / 350.1 MB Notification: Performance of pre-optimization done (n=33): time 1.613e-06/0.4351, allocations: 0 / 444 MB, free: 27.46 MB / 350.1 MB Notification: Performance of matching and sorting (n=33): time 0.0008508/0.4359, allocations: 0.5014 MB / 444.5 MB, free: 27.16 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.059e-05/0.436, allocations: 58.75 kB / 444.6 MB, free: 27.1 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004929/0.4365, allocations: 0.5517 MB / 445.1 MB, free: 26.82 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.286e-05/0.4365, allocations: 37.08 kB / 445.1 MB, free: 26.79 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001746/0.4367, allocations: 313.8 kB / 445.5 MB, free: 26.54 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001029/0.4368, allocations: 133 kB / 445.6 MB, free: 26.44 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002746/0.4371, allocations: 245 kB / 445.8 MB, free: 26.32 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 9.622e-05/0.4372, allocations: 382.5 kB / 446.2 MB, free: 25.97 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004243/0.4376, allocations: 324.6 kB / 446.5 MB, free: 25.85 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004783/0.4381, allocations: 430.1 kB / 446.9 MB, free: 25.66 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000751/0.4389, allocations: 0.6499 MB / 447.6 MB, free: 25.3 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.366e-06/0.4389, allocations: 0 / 447.6 MB, free: 25.3 MB / 350.1 MB Notification: Performance of matching and sorting (n=166) (initialization): time 0.001379/0.4403, allocations: 1.014 MB / 448.6 MB, free: 24.87 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.947e-05/0.4403, allocations: 10.44 kB / 448.6 MB, free: 24.86 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.916e-06/0.4403, allocations: 6.938 kB / 448.6 MB, free: 24.86 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001938/0.4405, allocations: 36.88 kB / 448.6 MB, free: 24.84 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008988/0.4414, allocations: 270.8 kB / 448.9 MB, free: 24.81 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008068/0.4422, allocations: 1.332 MB / 450.2 MB, free: 23.46 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006122/0.4429, allocations: 88.59 kB / 450.3 MB, free: 23.4 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.041e-05/0.4429, allocations: 44.52 kB / 450.4 MB, free: 23.39 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 (165): * Single equations (assignments): 164 * 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): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002171/0.4432, allocations: 200.1 kB / 450.6 MB, free: 23.21 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.786e-05/0.4432, allocations: 60.09 kB / 450.6 MB, free: 23.18 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005299/0.4438, allocations: 355.7 kB / 451 MB, free: 22.99 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.707e-06/0.4438, allocations: 3.312 kB / 451 MB, free: 22.99 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.466e-06/0.4438, allocations: 0 / 451 MB, free: 22.99 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.879e-06/0.4438, allocations: 7.312 kB / 451 MB, free: 22.98 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000943/0.4448, allocations: 0.9575 MB / 451.9 MB, free: 22.38 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.775e-06/0.4448, allocations: 0 / 451.9 MB, free: 22.38 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002514/0.445, allocations: 52.97 kB / 452 MB, free: 22.38 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001102/0.4452, allocations: 36.66 kB / 452 MB, free: 22.36 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.179e-05/0.4452, allocations: 7.938 kB / 452 MB, free: 22.35 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007201/0.4459, allocations: 1.321 MB / 453.4 MB, free: 21.01 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.854e-06/0.4459, allocations: 3.312 kB / 453.4 MB, free: 21.01 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005068/0.4464, allocations: 446.4 kB / 453.8 MB, free: 20.71 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001805/0.4466, allocations: 177.8 kB / 454 MB, free: 20.55 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.797e-05/0.4467, allocations: 10.97 kB / 454 MB, free: 20.55 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003533/0.4471, allocations: 19.94 kB / 454 MB, free: 20.54 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.668e-05/0.4471, allocations: 23.86 kB / 454 MB, free: 20.54 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.66e-05/0.4471, allocations: 15.28 kB / 454 MB, free: 20.53 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0003628/0.4475, allocations: 363.9 kB / 454.4 MB, free: 20.36 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4475, allocations: 4 kB / 454.4 MB, free: 20.36 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0006941/0.4482, allocations: 243.2 kB / 454.6 MB, free: 20.32 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 (31): * Single equations (assignments): 30 * 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): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0003232/0.4486, allocations: 147.3 kB / 454.8 MB, free: 20.21 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001214/0.4498, allocations: 0.7853 MB / 455.6 MB, free: 19.85 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.617e-06/0.4498, allocations: 0 / 455.6 MB, free: 19.85 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002885/0.4501, allocations: 245.9 kB / 455.8 MB, free: 19.69 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005779/0.4507, allocations: 54.81 kB / 455.9 MB, free: 19.66 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.001403/0.4521, allocations: 1.047 MB / 456.9 MB, free: 18.95 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003129/0.4524, allocations: 0.8455 MB / 457.8 MB, free: 18.23 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.000377/0.4528, allocations: 97.94 kB / 457.8 MB, free: 18.21 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001162/0.4529, allocations: 49.45 kB / 457.9 MB, free: 18.2 MB / 350.1 MB Notification: Performance of SimCode: time 3.91e-07/0.4529, allocations: 4 kB / 457.9 MB, free: 18.2 MB / 350.1 MB Notification: Performance of Templates: time 0.0125/0.4654, allocations: 6.763 MB / 464.7 MB, free: 17.69 MB / 350.1 MB make -j1 -f PowerGrids_dev_PowerGrids.Electrical.PowerFlow.Test.OneSlackOneZLoad.makefile (rm -f PowerGrids_dev_PowerGrids.Electrical.PowerFlow.Test.OneSlackOneZLoad.pipe ; mkfifo PowerGrids_dev_PowerGrids.Electrical.PowerFlow.Test.OneSlackOneZLoad.pipe ; head -c 1048576 < PowerGrids_dev_PowerGrids.Electrical.PowerFlow.Test.OneSlackOneZLoad.pipe >> ../files/PowerGrids_dev_PowerGrids.Electrical.PowerFlow.Test.OneSlackOneZLoad.sim & ./PowerGrids_dev_PowerGrids.Electrical.PowerFlow.Test.OneSlackOneZLoad -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerGrids_dev_PowerGrids.Electrical.PowerFlow.Test.OneSlackOneZLoad.pipe 2>&1)