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.001409/0.001409, allocations: 110.1 kB / 19.73 MB, free: 2.242 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.001622/0.001622, allocations: 218.4 kB / 23.04 MB, free: 5.074 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.599/1.599, allocations: 230.6 MB / 256.8 MB, free: 7.965 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.08164/0.08164, allocations: 16.94 MB / 330.2 MB, free: 2.562 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.002008/0.002008, allocations: 67.91 kB / 461.3 MB, free: 1.926 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1376/0.1397, allocations: 57.74 MB / 0.5069 GB, free: 8.078 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Electrical.PowerFlow.Test.OneSlackOneZLoad): time 0.006248/0.1459, allocations: 4.641 MB / 0.5114 GB, free: 3.418 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.004531/0.1504, allocations: 2.586 MB / 0.5139 GB, free: 0.8125 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005169/0.1509, allocations: 15.88 kB / 0.5139 GB, free: 0.7969 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000802/0.1518, allocations: 254.5 kB / 0.5142 GB, free: 0.5469 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.3233/0.4751, allocations: 1.176 MB / 0.5153 GB, free: 9.711 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001254/0.4763, allocations: 491.1 kB / 0.5158 GB, free: 9.711 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.001937/0.4783, allocations: 1.044 MB / 0.5168 GB, free: 9.711 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001887/0.4784, allocations: 40.08 kB / 0.5169 GB, free: 9.695 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006201/0.4791, allocations: 384.4 kB / 0.5172 GB, free: 9.66 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004582/0.4795, allocations: 383.6 kB / 0.5176 GB, free: 9.59 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 7.78e-05/0.4796, allocations: 40.91 kB / 0.5176 GB, free: 9.59 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008545/0.4805, allocations: 318.5 kB / 0.5179 GB, free: 9.59 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 9.957e-05/0.4806, allocations: 119 kB / 0.518 GB, free: 9.566 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003093/0.4809, allocations: 350.2 kB / 0.5184 GB, free: 9.469 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001173/0.482, allocations: 0.9205 MB / 0.5193 GB, free: 9.336 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.689e-06/0.482, allocations: 0 / 0.5193 GB, free: 9.336 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.565e-06/0.482, allocations: 2.594 kB / 0.5193 GB, free: 9.336 MB / 382.1 MB Notification: Performance of Transformations before backend: time 9.438e-06/0.4821, allocations: 1.406 kB / 0.5193 GB, free: 9.336 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.003436/0.4855, allocations: 1.217 MB / 0.5205 GB, free: 8.797 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.685e-05/0.4855, allocations: 9.688 kB / 0.5205 GB, free: 8.797 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005668/0.4861, allocations: 102.4 kB / 0.5206 GB, free: 8.762 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009107/0.487, allocations: 466.2 kB / 0.521 GB, free: 8.555 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.892e-05/0.4871, allocations: 34.28 kB / 0.5211 GB, free: 8.555 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.923e-05/0.4871, allocations: 41.56 kB / 0.5211 GB, free: 8.555 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007354/0.4879, allocations: 0.5252 MB / 0.5216 GB, free: 8.32 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.991e-05/0.4879, allocations: 5.062 kB / 0.5216 GB, free: 8.316 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.657e-05/0.4879, allocations: 18.12 kB / 0.5216 GB, free: 8.316 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.55e-05/0.4879, allocations: 11.67 kB / 0.5216 GB, free: 8.316 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000581/0.4885, allocations: 379 kB / 0.522 GB, free: 8.316 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.003121/0.4916, allocations: 3.386 MB / 0.5253 GB, free: 5.867 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006086/0.4922, allocations: 284.8 kB / 0.5256 GB, free: 5.746 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001662/0.4924, allocations: 100.8 kB / 0.5257 GB, free: 5.699 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.261e-05/0.4924, allocations: 7.797 kB / 0.5257 GB, free: 5.699 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.156e-05/0.4925, allocations: 45.67 kB / 0.5257 GB, free: 5.652 MB / 382.1 MB Notification: Performance of pre-optimization done (n=33): time 2.033e-06/0.4925, allocations: 1.344 kB / 0.5257 GB, free: 5.652 MB / 382.1 MB Notification: Performance of matching and sorting (n=33): time 0.0009967/0.4935, allocations: 423.8 kB / 0.5261 GB, free: 5.461 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.139e-05/0.4935, allocations: 58.75 kB / 0.5262 GB, free: 5.395 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007799/0.4943, allocations: 0.6043 MB / 0.5268 GB, free: 5.094 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.199e-05/0.4943, allocations: 31.55 kB / 0.5268 GB, free: 5.059 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001946/0.4945, allocations: 323.4 kB / 0.5271 GB, free: 4.805 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001209/0.4946, allocations: 143.6 kB / 0.5273 GB, free: 4.703 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003364/0.495, allocations: 246.2 kB / 0.5275 GB, free: 4.582 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001175/0.4951, allocations: 381.5 kB / 0.5279 GB, free: 4.238 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004977/0.4956, allocations: 321.9 kB / 0.5282 GB, free: 4.113 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005857/0.4962, allocations: 431.8 kB / 0.5286 GB, free: 3.922 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007757/0.4969, allocations: 0.604 MB / 0.5292 GB, free: 3.605 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.398e-06/0.4969, allocations: 1.156 kB / 0.5292 GB, free: 3.605 MB / 382.1 MB Notification: Performance of matching and sorting (n=166) (initialization): time 0.001616/0.4986, allocations: 1.033 MB / 0.5302 GB, free: 3.16 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.28e-05/0.4986, allocations: 9.438 kB / 0.5302 GB, free: 3.156 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.023e-05/0.4986, allocations: 1.891 kB / 0.5302 GB, free: 3.156 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002051/0.4988, allocations: 39.31 kB / 0.5302 GB, free: 3.141 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009945/0.4998, allocations: 261.6 kB / 0.5305 GB, free: 3.129 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008783/0.5007, allocations: 1.328 MB / 0.5318 GB, free: 1.824 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000884/0.5016, allocations: 85.36 kB / 0.5319 GB, free: 1.766 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.254e-05/0.5016, allocations: 42.23 kB / 0.5319 GB, free: 1.754 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 (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.0002705/0.5019, allocations: 207.5 kB / 0.5321 GB, free: 1.586 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001207/0.502, allocations: 61.27 kB / 0.5321 GB, free: 1.555 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005946/0.5026, allocations: 357.2 kB / 0.5325 GB, free: 1.359 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.799e-06/0.5026, allocations: 4.844 kB / 0.5325 GB, free: 1.359 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.626e-06/0.5026, allocations: 1.344 kB / 0.5325 GB, free: 1.359 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.516e-06/0.5026, allocations: 1.641 kB / 0.5325 GB, free: 1.359 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001212/0.5038, allocations: 0.9645 MB / 0.5334 GB, free: 0.7852 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.846e-06/0.5038, allocations: 3.938 kB / 0.5334 GB, free: 0.7812 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002287/0.5041, allocations: 56.77 kB / 0.5335 GB, free: 0.7773 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001054/0.5042, allocations: 24.84 kB / 0.5335 GB, free: 0.7656 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.144e-05/0.5042, allocations: 8.188 kB / 0.5335 GB, free: 0.7617 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009145/0.5051, allocations: 1.331 MB / 0.5348 GB, free: 15.45 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.352e-06/0.5051, allocations: 0 / 0.5348 GB, free: 15.45 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000648/0.5058, allocations: 447.5 kB / 0.5353 GB, free: 15.15 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00028/0.506, allocations: 115.2 kB / 0.5354 GB, free: 15.08 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.028e-05/0.5061, allocations: 8.578 kB / 0.5354 GB, free: 15.07 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004473/0.5066, allocations: 23.78 kB / 0.5354 GB, free: 15.07 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.406e-05/0.5066, allocations: 27.11 kB / 0.5354 GB, free: 15.06 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.745e-05/0.5066, allocations: 14.39 kB / 0.5354 GB, free: 15.05 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0005522/0.5072, allocations: 390 kB / 0.5358 GB, free: 14.87 MB / 398.1 MB Notification: Performance of sort global known variables: time 8e-08/0.5072, allocations: 0 / 0.5358 GB, free: 14.87 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0008815/0.5081, allocations: 252.2 kB / 0.536 GB, free: 14.83 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.0002868/0.5084, allocations: 158 kB / 0.5362 GB, free: 14.73 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.001349/0.5097, allocations: 0.6827 MB / 0.5369 GB, free: 14.42 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 4.579e-06/0.5097, allocations: 1.5 kB / 0.5369 GB, free: 14.42 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003802/0.5101, allocations: 236.7 kB / 0.5371 GB, free: 14.27 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005746/0.5107, allocations: 57.06 kB / 0.5371 GB, free: 14.24 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001575/0.5123, allocations: 0.8572 MB / 0.538 GB, free: 13.71 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005629/0.5128, allocations: 0.8473 MB / 0.5388 GB, free: 13 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0003588/0.5132, allocations: 98.33 kB / 0.5389 GB, free: 12.98 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001385/0.5133, allocations: 51.86 kB / 0.539 GB, free: 12.97 MB / 398.1 MB Notification: Performance of SimCode: time 5.61e-07/0.5133, allocations: 0 / 0.539 GB, free: 12.97 MB / 398.1 MB Notification: Performance of Templates: time 0.01912/0.5324, allocations: 7.86 MB / 0.5466 GB, free: 10.85 MB / 398.1 MB " [Timeout remaining time 659] 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=50 -lv LOG_STATS > PowerGrids_dev_PowerGrids.Electrical.PowerFlow.Test.OneSlackOneZLoad.pipe 2>&1) [Timeout 50] [Calling sys.exit(0), Time elapsed: 5.487083844025619] Failed to read output from testmodel.py, exit status != 0: 0.5414707980235107 0.556472907 0.070925017 Calling exit ...