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.001708/0.001708, allocations: 97.31 kB / 19.73 MB, free: 2.117 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.002081/0.002081, allocations: 218.2 kB / 23.03 MB, free: 4.922 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.55/1.55, allocations: 230.6 MB / 256.8 MB, free: 7.824 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.08214/0.08214, allocations: 16.96 MB / 330.2 MB, free: 2.375 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.002027/0.002027, allocations: 67.91 kB / 461.2 MB, free: 1.789 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1419/0.1439, allocations: 57.74 MB / 0.5068 GB, free: 7.945 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Electrical.PowerFlow.Test.OneSlackOneLoad): time 0.006605/0.1505, allocations: 4.128 MB / 0.5108 GB, free: 3.801 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.004365/0.1549, allocations: 2.209 MB / 0.513 GB, free: 1.574 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004577/0.1553, allocations: 15.88 kB / 0.513 GB, free: 1.559 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007876/0.1561, allocations: 226.6 kB / 0.5132 GB, free: 1.336 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002928/0.159, allocations: 1.13 MB / 0.5143 GB, free: 212 kB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.308/0.467, allocations: 333.9 kB / 0.5146 GB, free: 9.895 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.001806/0.4689, allocations: 1.032 MB / 0.5156 GB, free: 9.895 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001821/0.469, allocations: 40.88 kB / 0.5157 GB, free: 9.879 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005967/0.4696, allocations: 386.1 kB / 0.516 GB, free: 9.855 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004453/0.4701, allocations: 375.5 kB / 0.5164 GB, free: 9.785 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 8.994e-05/0.4702, allocations: 42.25 kB / 0.5164 GB, free: 9.785 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007017/0.4709, allocations: 259.9 kB / 0.5167 GB, free: 9.785 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 9.539e-05/0.471, allocations: 117.8 kB / 0.5168 GB, free: 9.762 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002489/0.4712, allocations: 285.4 kB / 0.5171 GB, free: 9.691 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000999/0.4722, allocations: 0.8804 MB / 0.5179 GB, free: 9.559 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.262e-06/0.4722, allocations: 3.344 kB / 0.5179 GB, free: 9.559 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.794e-06/0.4722, allocations: 1 kB / 0.5179 GB, free: 9.559 MB / 382.1 MB Notification: Performance of Transformations before backend: time 9.307e-06/0.4722, allocations: 5.188 kB / 0.5179 GB, free: 9.555 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.003172/0.4754, allocations: 1.162 MB / 0.5191 GB, free: 9.031 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.315e-05/0.4754, allocations: 9.812 kB / 0.5191 GB, free: 9.031 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005541/0.476, allocations: 107.9 kB / 0.5192 GB, free: 8.992 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008608/0.4769, allocations: 460.6 kB / 0.5196 GB, free: 8.785 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.288e-05/0.4769, allocations: 36.31 kB / 0.5197 GB, free: 8.785 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.886e-05/0.477, allocations: 42.69 kB / 0.5197 GB, free: 8.785 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007712/0.4777, allocations: 0.6676 MB / 0.5204 GB, free: 8.371 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.929e-05/0.4777, allocations: 6.281 kB / 0.5204 GB, free: 8.367 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.771e-05/0.4778, allocations: 22.5 kB / 0.5204 GB, free: 8.367 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.101e-05/0.4778, allocations: 11.66 kB / 0.5204 GB, free: 8.367 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005749/0.4784, allocations: 351.2 kB / 0.5207 GB, free: 8.367 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.003028/0.4814, allocations: 2.873 MB / 0.5235 GB, free: 6.289 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005928/0.482, allocations: 265.9 kB / 0.5238 GB, free: 6.262 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001485/0.4822, allocations: 88.52 kB / 0.5239 GB, free: 6.25 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.195e-05/0.4822, allocations: 9.344 kB / 0.5239 GB, free: 6.25 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.401e-05/0.4822, allocations: 35.84 kB / 0.5239 GB, free: 6.211 MB / 382.1 MB Notification: Performance of pre-optimization done (n=29): time 2.475e-06/0.4822, allocations: 0 / 0.5239 GB, free: 6.211 MB / 382.1 MB Notification: Performance of matching and sorting (n=29): time 0.001008/0.4832, allocations: 405 kB / 0.5243 GB, free: 6.129 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.676e-05/0.4833, allocations: 58.66 kB / 0.5244 GB, free: 6.062 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007141/0.484, allocations: 0.5585 MB / 0.5249 GB, free: 5.922 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.188e-05/0.484, allocations: 31.42 kB / 0.5249 GB, free: 5.891 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002184/0.4842, allocations: 334.5 kB / 0.5253 GB, free: 5.691 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001108/0.4843, allocations: 125.8 kB / 0.5254 GB, free: 5.602 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000322/0.4847, allocations: 227.3 kB / 0.5256 GB, free: 5.488 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.000122/0.4848, allocations: 380.1 kB / 0.526 GB, free: 5.145 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004663/0.4853, allocations: 287.5 kB / 0.5262 GB, free: 5.035 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005469/0.4858, allocations: 401.2 kB / 0.5266 GB, free: 4.855 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007372/0.4865, allocations: 0.5491 MB / 0.5271 GB, free: 4.566 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.929e-06/0.4865, allocations: 0.9688 kB / 0.5271 GB, free: 4.566 MB / 382.1 MB Notification: Performance of matching and sorting (n=152) (initialization): time 0.001544/0.4881, allocations: 0.9519 MB / 0.5281 GB, free: 4.156 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.48e-05/0.4881, allocations: 6.219 kB / 0.5281 GB, free: 4.156 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.123e-05/0.4881, allocations: 5.5 kB / 0.5281 GB, free: 4.152 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002618/0.4884, allocations: 40.81 kB / 0.5281 GB, free: 4.137 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009803/0.4894, allocations: 245.8 kB / 0.5284 GB, free: 4.125 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.816e-05/0.4894, allocations: 8.938 kB / 0.5284 GB, free: 4.125 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008332/0.4902, allocations: 70.61 kB / 0.5284 GB, free: 4.078 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.413e-05/0.4903, allocations: 39.77 kB / 0.5285 GB, free: 4.066 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 (151): * Single equations (assignments): 150 * 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.0002721/0.4906, allocations: 199.3 kB / 0.5287 GB, free: 3.906 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001144/0.4907, allocations: 67.12 kB / 0.5287 GB, free: 3.871 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006524/0.4913, allocations: 323.3 kB / 0.529 GB, free: 3.691 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.833e-06/0.4913, allocations: 6.219 kB / 0.529 GB, free: 3.691 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.705e-06/0.4913, allocations: 0.6562 kB / 0.529 GB, free: 3.691 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.021e-06/0.4914, allocations: 5.719 kB / 0.529 GB, free: 3.688 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001137/0.4925, allocations: 0.755 MB / 0.5298 GB, free: 3.219 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.988e-06/0.4925, allocations: 1.828 kB / 0.5298 GB, free: 3.219 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002368/0.4927, allocations: 58.67 kB / 0.5298 GB, free: 3.211 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001587/0.4929, allocations: 32.55 kB / 0.5299 GB, free: 3.199 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.065e-05/0.4929, allocations: 5.844 kB / 0.5299 GB, free: 3.195 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.228e-06/0.4929, allocations: 2.406 kB / 0.5299 GB, free: 3.195 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.927e-06/0.4929, allocations: 2.172 kB / 0.5299 GB, free: 3.195 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005878/0.4935, allocations: 423.3 kB / 0.5303 GB, free: 2.914 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002122/0.4937, allocations: 94.61 kB / 0.5304 GB, free: 2.855 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.682e-05/0.4938, allocations: 11.11 kB / 0.5304 GB, free: 2.848 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004373/0.4942, allocations: 24.91 kB / 0.5304 GB, free: 2.84 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.277e-05/0.4943, allocations: 23.03 kB / 0.5304 GB, free: 2.84 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.902e-05/0.4943, allocations: 13.41 kB / 0.5304 GB, free: 2.836 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0004511/0.4948, allocations: 375.7 kB / 0.5308 GB, free: 2.656 MB / 382.1 MB Notification: Performance of sort global known variables: time 7e-08/0.4948, allocations: 0 / 0.5308 GB, free: 2.656 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.000769/0.4955, allocations: 239.9 kB / 0.531 GB, free: 2.617 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.0002536/0.4958, allocations: 150 kB / 0.5312 GB, free: 2.512 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0009401/0.4967, allocations: 0.5293 MB / 0.5317 GB, free: 2.344 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.068e-06/0.4967, allocations: 0 / 0.5317 GB, free: 2.344 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001791/0.4969, allocations: 110.7 kB / 0.5318 GB, free: 2.305 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005564/0.4975, allocations: 56.12 kB / 0.5319 GB, free: 2.281 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001215/0.4987, allocations: 0.8256 MB / 0.5327 GB, free: 1.77 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002635/0.499, allocations: 245.3 kB / 0.5329 GB, free: 1.664 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0003311/0.4993, allocations: 86.61 kB / 0.533 GB, free: 1.652 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001441/0.4994, allocations: 46.12 kB / 0.533 GB, free: 1.645 MB / 382.1 MB Notification: Performance of SimCode: time 1.132e-06/0.4994, allocations: 0 / 0.533 GB, free: 1.645 MB / 382.1 MB Notification: Performance of Templates: time 0.01616/0.5156, allocations: 7.682 MB / 0.5405 GB, free: 136 kB / 382.1 MB " [Timeout remaining time 659] 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=50 -lv LOG_STATS > PowerGrids_dev_PowerGrids.Electrical.PowerFlow.Test.OneSlackOneLoad.pipe 2>&1) [Timeout 50] [Calling sys.exit(0), Time elapsed: 5.535628117970191] Failed to read output from testmodel.py, exit status != 0: 0.5245740090031177 0.541632451 0.06573181900000001 Calling exit ...