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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001547/0.001547, allocations: 110.2 kB / 19.69 MB, free: 2.254 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001796/0.001796, allocations: 216.7 kB / 23.01 MB, free: 4.566 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.434/1.434, allocations: 230.6 MB / 256.8 MB, free: 8.023 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 2.0.0-develop/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 2.0.0-develop/package.mo): time 0.07953/0.07953, allocations: 16.95 MB / 330.1 MB, free: 2.594 MB / 254.1 MB " [Timeout remaining time 180] 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.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(PowerGrids.Electrical.PowerFlow.Test.OneSlackOneLoad,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PowerGrids_dev_PowerGrids.Electrical.PowerFlow.Test.OneSlackOneLoad") translateModel(PowerGrids.Electrical.PowerFlow.Test.OneSlackOneLoad,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PowerGrids_dev_PowerGrids.Electrical.PowerFlow.Test.OneSlackOneLoad") [Timeout 660] "Notification: PowerGrids requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002029/0.002029, allocations: 67.91 kB / 461.3 MB, free: 1.961 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1221/0.1242, allocations: 57.75 MB / 0.5068 GB, free: 8.102 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Electrical.PowerFlow.Test.OneSlackOneLoad): time 0.006099/0.1303, allocations: 4.591 MB / 0.5113 GB, free: 3.492 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.00389/0.1342, allocations: 2.427 MB / 0.5137 GB, free: 1.047 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002939/0.1345, allocations: 15.88 kB / 0.5137 GB, free: 1.031 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005994/0.1351, allocations: 242.6 kB / 0.5139 GB, free: 0.793 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.2404/0.3754, allocations: 1.172 MB / 0.5151 GB, free: 9.727 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008646/0.3763, allocations: 349.1 kB / 0.5154 GB, free: 9.727 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.001531/0.3778, allocations: 1.037 MB / 0.5164 GB, free: 9.727 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001677/0.378, allocations: 45.2 kB / 0.5165 GB, free: 9.711 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005279/0.3785, allocations: 380 kB / 0.5168 GB, free: 9.676 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004377/0.379, allocations: 381.2 kB / 0.5172 GB, free: 9.605 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 7.497e-05/0.379, allocations: 41.12 kB / 0.5172 GB, free: 9.605 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005844/0.3796, allocations: 267.2 kB / 0.5175 GB, free: 9.605 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 7.342e-05/0.3797, allocations: 110 kB / 0.5176 GB, free: 9.582 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002488/0.3799, allocations: 347.2 kB / 0.5179 GB, free: 9.488 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009428/0.3809, allocations: 0.8853 MB / 0.5188 GB, free: 9.352 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.62e-06/0.3809, allocations: 6.438 kB / 0.5188 GB, free: 9.352 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.723e-06/0.3809, allocations: 0 / 0.5188 GB, free: 9.352 MB / 382.1 MB Notification: Performance of Transformations before backend: time 9.828e-06/0.3809, allocations: 1.812 kB / 0.5188 GB, free: 9.352 MB / 382.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.002872/0.3838, allocations: 1.159 MB / 0.5199 GB, free: 8.828 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.042e-05/0.3838, allocations: 10.66 kB / 0.5199 GB, free: 8.828 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004862/0.3843, allocations: 107.4 kB / 0.52 GB, free: 8.789 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007953/0.3851, allocations: 459.5 kB / 0.5205 GB, free: 8.582 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.677e-05/0.3851, allocations: 33.06 kB / 0.5205 GB, free: 8.582 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.184e-05/0.3852, allocations: 42.12 kB / 0.5206 GB, free: 8.582 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006492/0.3858, allocations: 0.5156 MB / 0.5211 GB, free: 8.348 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.692e-05/0.3858, allocations: 8.25 kB / 0.5211 GB, free: 8.344 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.082e-05/0.3859, allocations: 17.78 kB / 0.5211 GB, free: 8.344 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.539e-05/0.3859, allocations: 11.59 kB / 0.5211 GB, free: 8.344 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005239/0.3864, allocations: 362 kB / 0.5214 GB, free: 8.336 MB / 382.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.003027/0.3895, allocations: 3.371 MB / 0.5247 GB, free: 5.895 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005429/0.39, allocations: 266.1 kB / 0.525 GB, free: 5.867 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001367/0.3901, allocations: 86.5 kB / 0.5251 GB, free: 5.855 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.567e-05/0.3902, allocations: 5.75 kB / 0.5251 GB, free: 5.855 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.05e-05/0.3902, allocations: 36.88 kB / 0.5251 GB, free: 5.816 MB / 382.1 MB Notification: Performance of pre-optimization done (n=29): time 3.096e-06/0.3902, allocations: 1.547 kB / 0.5251 GB, free: 5.816 MB / 382.1 MB Notification: Performance of matching and sorting (n=29): time 0.0009437/0.3911, allocations: 408.1 kB / 0.5255 GB, free: 5.629 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.982e-05/0.3912, allocations: 55.66 kB / 0.5256 GB, free: 5.566 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007532/0.3919, allocations: 0.6068 MB / 0.5261 GB, free: 5.27 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.118e-05/0.392, allocations: 32.81 kB / 0.5262 GB, free: 5.234 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002039/0.3922, allocations: 327.4 kB / 0.5265 GB, free: 4.977 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001064/0.3923, allocations: 129.2 kB / 0.5266 GB, free: 4.887 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003119/0.3926, allocations: 241.3 kB / 0.5268 GB, free: 4.766 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.000117/0.3927, allocations: 388.7 kB / 0.5272 GB, free: 4.418 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000468/0.3932, allocations: 303.6 kB / 0.5275 GB, free: 4.305 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005365/0.3937, allocations: 411.9 kB / 0.5279 GB, free: 4.121 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007053/0.3944, allocations: 0.5716 MB / 0.5285 GB, free: 3.824 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.637e-06/0.3944, allocations: 0 / 0.5285 GB, free: 3.824 MB / 382.1 MB Notification: Performance of matching and sorting (n=160) (initialization): time 0.001427/0.3958, allocations: 0.9848 MB / 0.5294 GB, free: 3.406 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.148e-05/0.3959, allocations: 10.91 kB / 0.5294 GB, free: 3.402 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.607e-06/0.3959, allocations: 1.188 kB / 0.5294 GB, free: 3.402 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000243/0.3961, allocations: 44.27 kB / 0.5295 GB, free: 3.383 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001002/0.3971, allocations: 255.5 kB / 0.5297 GB, free: 3.375 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.806e-05/0.3971, allocations: 7.703 kB / 0.5297 GB, free: 3.375 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007624/0.3979, allocations: 88.19 kB / 0.5298 GB, free: 3.312 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.451e-05/0.398, allocations: 41.27 kB / 0.5298 GB, free: 3.301 MB / 382.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.0002254/0.3982, allocations: 199.9 kB / 0.53 GB, free: 3.137 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001056/0.3983, allocations: 66.2 kB / 0.5301 GB, free: 3.102 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006199/0.3989, allocations: 328.5 kB / 0.5304 GB, free: 2.922 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.352e-06/0.3989, allocations: 3.828 kB / 0.5304 GB, free: 2.922 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.613e-06/0.3989, allocations: 1.125 kB / 0.5304 GB, free: 2.922 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.001e-06/0.3989, allocations: 1.453 kB / 0.5304 GB, free: 2.922 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00119/0.4001, allocations: 0.9178 MB / 0.5313 GB, free: 2.371 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.937e-06/0.4001, allocations: 1.156 kB / 0.5313 GB, free: 2.371 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002167/0.4003, allocations: 54.56 kB / 0.5314 GB, free: 2.367 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001444/0.4005, allocations: 31.8 kB / 0.5314 GB, free: 2.355 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.11e-05/0.4005, allocations: 7.516 kB / 0.5314 GB, free: 2.352 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.999e-06/0.4005, allocations: 10.44 kB / 0.5314 GB, free: 2.344 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.493e-06/0.4005, allocations: 0 / 0.5314 GB, free: 2.344 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005507/0.4011, allocations: 420.5 kB / 0.5318 GB, free: 2.066 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002209/0.4013, allocations: 108.3 kB / 0.5319 GB, free: 1.996 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.375e-05/0.4014, allocations: 11.23 kB / 0.5319 GB, free: 1.988 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004137/0.4018, allocations: 21.08 kB / 0.5319 GB, free: 1.984 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.518e-05/0.4018, allocations: 21.45 kB / 0.532 GB, free: 1.98 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.537e-05/0.4019, allocations: 9.875 kB / 0.532 GB, free: 1.98 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.000445/0.4023, allocations: 412.3 kB / 0.5324 GB, free: 1.793 MB / 382.1 MB Notification: Performance of sort global known variables: time 7e-08/0.4023, allocations: 0 / 0.5324 GB, free: 1.793 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0006556/0.403, allocations: 239.8 kB / 0.5326 GB, free: 1.754 MB / 382.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.0002137/0.4032, allocations: 152 kB / 0.5327 GB, free: 1.648 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0009027/0.4041, allocations: 0.5486 MB / 0.5333 GB, free: 1.477 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.046e-06/0.4041, allocations: 1.312 kB / 0.5333 GB, free: 1.477 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001807/0.4043, allocations: 117.2 kB / 0.5334 GB, free: 1.434 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005464/0.4048, allocations: 60.22 kB / 0.5335 GB, free: 1.398 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001276/0.4061, allocations: 0.8423 MB / 0.5343 GB, free: 0.8633 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003321/0.4064, allocations: 0.8482 MB / 0.5351 GB, free: 156 kB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001624/0.4066, allocations: 57.81 kB / 0.5352 GB, free: 144 kB / 382.1 MB Notification: Performance of SimCode: time 3.41e-07/0.4066, allocations: 0 / 0.5352 GB, free: 144 kB / 382.1 MB Notification: Performance of Templates: time 0.01858/0.4252, allocations: 10.32 MB / 0.5452 GB, free: 12.55 MB / 398.1 MB " [Timeout remaining time 660] make -j1 -f PowerGrids_dev_PowerGrids.Electrical.PowerFlow.Test.OneSlackOneLoad.makefile [Timeout 660] (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) [Timeout 480] [Calling sys.exit(0), Time elapsed: 8.082339444896206] Failed to read output from testmodel.py, exit status != 0: 0.4345896691083908 0.44861835800000005 0.064674456 Calling exit ...