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.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.001482/0.001482, allocations: 100.3 kB / 19.7 MB, free: 2.012 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.001768/0.001768, allocations: 219.5 kB / 22.99 MB, free: 4.914 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.495/1.495, allocations: 230.6 MB / 256.8 MB, free: 8.004 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.0876/0.0876, allocations: 16.93 MB / 330.1 MB, free: 2.434 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.OneSlackOneZLoad,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PowerGrids_dev_PowerGrids.Electrical.PowerFlow.Test.OneSlackOneZLoad") translateModel(PowerGrids.Electrical.PowerFlow.Test.OneSlackOneZLoad,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PowerGrids_dev_PowerGrids.Electrical.PowerFlow.Test.OneSlackOneZLoad") [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.002093/0.002093, allocations: 67.91 kB / 461.1 MB, free: 1.836 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1222/0.1243, allocations: 57.73 MB / 0.5067 GB, free: 7.996 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Electrical.PowerFlow.Test.OneSlackOneZLoad): time 0.005822/0.1301, allocations: 4.159 MB / 0.5108 GB, free: 3.82 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.004119/0.1342, allocations: 2.353 MB / 0.5131 GB, free: 1.449 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003611/0.1346, allocations: 19.81 kB / 0.5131 GB, free: 1.43 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007081/0.1353, allocations: 234.5 kB / 0.5133 GB, free: 1.199 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002936/0.1382, allocations: 1.131 MB / 0.5144 GB, free: 72 kB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.2526/0.3908, allocations: 460.8 kB / 0.5148 GB, free: 9.934 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.001829/0.3927, allocations: 1.044 MB / 0.5159 GB, free: 9.934 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001726/0.3928, allocations: 39.12 kB / 0.5159 GB, free: 9.918 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005785/0.3934, allocations: 385.8 kB / 0.5163 GB, free: 9.898 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004456/0.3939, allocations: 352.5 kB / 0.5166 GB, free: 9.824 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 8.976e-05/0.394, allocations: 40.88 kB / 0.5166 GB, free: 9.824 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008936/0.3949, allocations: 304.2 kB / 0.5169 GB, free: 9.824 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 8.948e-05/0.3949, allocations: 113.1 kB / 0.517 GB, free: 9.801 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002672/0.3952, allocations: 286.5 kB / 0.5173 GB, free: 9.73 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00106/0.3963, allocations: 0.9322 MB / 0.5182 GB, free: 9.594 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.779e-06/0.3963, allocations: 3.562 kB / 0.5182 GB, free: 9.594 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.573e-06/0.3963, allocations: 0 / 0.5182 GB, free: 9.594 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.066e-05/0.3963, allocations: 0 / 0.5182 GB, free: 9.594 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.003403/0.3997, allocations: 1.213 MB / 0.5194 GB, free: 9.059 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.433e-05/0.3997, allocations: 6.906 kB / 0.5194 GB, free: 9.059 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005512/0.4003, allocations: 103.6 kB / 0.5195 GB, free: 9.023 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009132/0.4012, allocations: 464.4 kB / 0.52 GB, free: 8.816 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.06e-05/0.4012, allocations: 34 kB / 0.52 GB, free: 8.816 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.13e-05/0.4013, allocations: 42.59 kB / 0.52 GB, free: 8.816 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007854/0.4021, allocations: 0.6734 MB / 0.5207 GB, free: 8.398 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.739e-05/0.4021, allocations: 5.25 kB / 0.5207 GB, free: 8.395 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.231e-05/0.4021, allocations: 23.47 kB / 0.5207 GB, free: 8.391 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.004e-05/0.4022, allocations: 13.84 kB / 0.5207 GB, free: 8.391 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006112/0.4028, allocations: 371.6 kB / 0.5211 GB, free: 8.391 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.003096/0.4059, allocations: 2.887 MB / 0.5239 GB, free: 6.305 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006311/0.4065, allocations: 289.9 kB / 0.5242 GB, free: 6.273 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001659/0.4067, allocations: 95.28 kB / 0.5243 GB, free: 6.266 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.794e-05/0.4067, allocations: 6.891 kB / 0.5243 GB, free: 6.266 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.157e-05/0.4067, allocations: 37.3 kB / 0.5243 GB, free: 6.227 MB / 382.1 MB Notification: Performance of pre-optimization done (n=33): time 2.234e-06/0.4067, allocations: 1.938 kB / 0.5243 GB, free: 6.227 MB / 382.1 MB Notification: Performance of matching and sorting (n=33): time 0.0009941/0.4077, allocations: 429 kB / 0.5247 GB, free: 6.152 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.918e-05/0.4078, allocations: 60.38 kB / 0.5248 GB, free: 6.086 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007256/0.4085, allocations: 0.5688 MB / 0.5253 GB, free: 5.871 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.51e-05/0.4085, allocations: 37.16 kB / 0.5254 GB, free: 5.832 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002029/0.4087, allocations: 320.9 kB / 0.5257 GB, free: 5.578 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001215/0.4088, allocations: 144.4 kB / 0.5258 GB, free: 5.477 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003207/0.4092, allocations: 230.9 kB / 0.526 GB, free: 5.363 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001161/0.4093, allocations: 385 kB / 0.5264 GB, free: 5.016 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004839/0.4098, allocations: 308.9 kB / 0.5267 GB, free: 4.895 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005542/0.4103, allocations: 422.1 kB / 0.5271 GB, free: 4.703 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008104/0.4111, allocations: 0.5845 MB / 0.5277 GB, free: 4.398 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.538e-06/0.4111, allocations: 0 / 0.5277 GB, free: 4.398 MB / 382.1 MB Notification: Performance of matching and sorting (n=158) (initialization): time 0.001573/0.4127, allocations: 1 MB / 0.5287 GB, free: 3.965 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.13e-05/0.4127, allocations: 7.938 kB / 0.5287 GB, free: 3.965 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.828e-06/0.4127, allocations: 6.297 kB / 0.5287 GB, free: 3.961 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002089/0.4129, allocations: 39.97 kB / 0.5287 GB, free: 3.941 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009878/0.4139, allocations: 246.6 kB / 0.5289 GB, free: 3.934 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009363/0.4149, allocations: 1.306 MB / 0.5302 GB, free: 2.66 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008765/0.4157, allocations: 86.56 kB / 0.5303 GB, free: 2.602 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.854e-05/0.4158, allocations: 36.83 kB / 0.5303 GB, free: 2.594 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 (157): * Single equations (assignments): 156 * 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.000285/0.4161, allocations: 203.5 kB / 0.5305 GB, free: 2.43 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001093/0.4162, allocations: 68.53 kB / 0.5306 GB, free: 2.391 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006231/0.4168, allocations: 351.1 kB / 0.5309 GB, free: 2.203 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.53e-06/0.4168, allocations: 3.75 kB / 0.5309 GB, free: 2.203 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.126e-06/0.4168, allocations: 0.6094 kB / 0.5309 GB, free: 2.203 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.903e-06/0.4168, allocations: 3.156 kB / 0.5309 GB, free: 2.203 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001081/0.4179, allocations: 0.7932 MB / 0.5317 GB, free: 1.711 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.448e-06/0.4179, allocations: 2.031 kB / 0.5317 GB, free: 1.711 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002508/0.4182, allocations: 53.3 kB / 0.5318 GB, free: 1.711 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001337/0.4183, allocations: 31.16 kB / 0.5318 GB, free: 1.695 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.2e-05/0.4183, allocations: 7.266 kB / 0.5318 GB, free: 1.691 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007817/0.4191, allocations: 1.301 MB / 0.5331 GB, free: 436 kB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.135e-06/0.4191, allocations: 4.062 kB / 0.5331 GB, free: 436 kB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005815/0.4197, allocations: 444 kB / 0.5335 GB, free: 136 kB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002874/0.42, allocations: 105.9 kB / 0.5336 GB, free: 68 kB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.399e-05/0.4201, allocations: 9.031 kB / 0.5336 GB, free: 64 kB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004379/0.4205, allocations: 21.48 kB / 0.5336 GB, free: 60 kB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.442e-05/0.4206, allocations: 23.47 kB / 0.5337 GB, free: 56 kB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.802e-05/0.4206, allocations: 17.47 kB / 0.5337 GB, free: 52 kB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0006298/0.4212, allocations: 382.2 kB / 0.534 GB, free: 15.89 MB / 398.1 MB Notification: Performance of sort global known variables: time 7e-08/0.4212, allocations: 2.188 kB / 0.534 GB, free: 15.89 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0009606/0.4222, allocations: 247.5 kB / 0.5343 GB, free: 15.86 MB / 398.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.0004292/0.4226, allocations: 150 kB / 0.5344 GB, free: 15.75 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.001804/0.4244, allocations: 0.6669 MB / 0.5351 GB, free: 15.47 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 6.763e-06/0.4244, allocations: 4.719 kB / 0.5351 GB, free: 15.47 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004536/0.4249, allocations: 238.3 kB / 0.5353 GB, free: 15.32 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007755/0.4256, allocations: 60.62 kB / 0.5354 GB, free: 15.29 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002235/0.4279, allocations: 0.8958 MB / 0.5362 GB, free: 14.73 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004438/0.4283, allocations: 243 kB / 0.5365 GB, free: 14.62 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002216/0.4285, allocations: 59.33 kB / 0.5365 GB, free: 14.61 MB / 398.1 MB Notification: Performance of SimCode: time 1.032e-06/0.4285, allocations: 1.156 kB / 0.5365 GB, free: 14.61 MB / 398.1 MB Notification: Performance of Templates: time 0.02233/0.4509, allocations: 10.66 MB / 0.5469 GB, free: 11.07 MB / 398.1 MB " [Timeout remaining time 660] make -j1 -f PowerGrids_dev_PowerGrids.Electrical.PowerFlow.Test.OneSlackOneZLoad.makefile [Timeout 660] (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) [Timeout 480] [Calling sys.exit(0), Time elapsed: 8.568071019370109] Failed to read output from testmodel.py, exit status != 0: 0.46050291787832975 0.47425163600000003 0.07486557 Calling exit ...