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.001626/0.001626, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.001501/0.001501, allocations: 210.9 kB / 22.24 MB, free: 5.262 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.485/1.485, allocations: 230.6 MB / 256 MB, free: 7.777 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.08359/0.08359, allocations: 16.93 MB / 329.4 MB, free: 2.371 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.00341/0.00341, allocations: 63.91 kB / 460.4 MB, free: 1.805 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1488/0.1522, allocations: 57.74 MB / 0.506 GB, free: 7.961 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Electrical.PowerFlow.Test.OneSlackOneLoad): time 0.006943/0.1591, allocations: 4.12 MB / 0.51 GB, free: 3.824 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.004428/0.1635, allocations: 2.213 MB / 0.5122 GB, free: 1.594 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004769/0.164, allocations: 15.88 kB / 0.5122 GB, free: 1.578 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007804/0.1648, allocations: 230.5 kB / 0.5124 GB, free: 1.352 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002857/0.1677, allocations: 1.126 MB / 0.5135 GB, free: 232 kB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.2714/0.4391, allocations: 339.2 kB / 0.5138 GB, free: 9.883 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.001898/0.441, allocations: 1.028 MB / 0.5148 GB, free: 9.883 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001818/0.4412, allocations: 44.78 kB / 0.5149 GB, free: 9.867 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005367/0.4417, allocations: 381.8 kB / 0.5152 GB, free: 9.848 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004525/0.4422, allocations: 341.5 kB / 0.5156 GB, free: 9.777 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 9.332e-05/0.4422, allocations: 41.72 kB / 0.5156 GB, free: 9.777 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006977/0.4429, allocations: 255.2 kB / 0.5158 GB, free: 9.777 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 8.887e-05/0.443, allocations: 113 kB / 0.5159 GB, free: 9.754 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002545/0.4433, allocations: 287.8 kB / 0.5162 GB, free: 9.684 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009663/0.4443, allocations: 0.8857 MB / 0.5171 GB, free: 9.547 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.708e-06/0.4443, allocations: 3.312 kB / 0.5171 GB, free: 9.547 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.864e-06/0.4443, allocations: 0.7812 kB / 0.5171 GB, free: 9.547 MB / 382.1 MB Notification: Performance of Transformations before backend: time 8.957e-06/0.4443, allocations: 0 / 0.5171 GB, free: 9.547 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.003206/0.4475, allocations: 1.156 MB / 0.5182 GB, free: 9.023 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.2e-05/0.4475, allocations: 12.94 kB / 0.5182 GB, free: 9.02 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005382/0.4481, allocations: 109.1 kB / 0.5183 GB, free: 8.98 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009039/0.449, allocations: 467.1 kB / 0.5188 GB, free: 8.773 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.002e-05/0.449, allocations: 32.06 kB / 0.5188 GB, free: 8.773 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.154e-05/0.4491, allocations: 41.72 kB / 0.5188 GB, free: 8.773 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008014/0.4499, allocations: 0.6687 MB / 0.5195 GB, free: 8.355 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.977e-05/0.4499, allocations: 10.06 kB / 0.5195 GB, free: 8.352 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.548e-05/0.4499, allocations: 18.72 kB / 0.5195 GB, free: 8.352 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.971e-05/0.4499, allocations: 11.38 kB / 0.5195 GB, free: 8.352 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006271/0.4506, allocations: 345.5 kB / 0.5199 GB, free: 8.352 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.003547/0.4541, allocations: 2.872 MB / 0.5227 GB, free: 6.277 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006983/0.4548, allocations: 267.3 kB / 0.5229 GB, free: 6.25 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001824/0.455, allocations: 85.7 kB / 0.523 GB, free: 6.238 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.431e-05/0.455, allocations: 9.438 kB / 0.523 GB, free: 6.238 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.124e-05/0.4551, allocations: 34.8 kB / 0.5231 GB, free: 6.199 MB / 382.1 MB Notification: Performance of pre-optimization done (n=29): time 1.813e-06/0.4551, allocations: 0 / 0.5231 GB, free: 6.199 MB / 382.1 MB Notification: Performance of matching and sorting (n=29): time 0.001149/0.4562, allocations: 397.1 kB / 0.5234 GB, free: 6.121 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.53e-05/0.4563, allocations: 60.23 kB / 0.5235 GB, free: 6.055 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009884/0.4573, allocations: 0.5739 MB / 0.524 GB, free: 5.902 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.53e-05/0.4573, allocations: 32.08 kB / 0.5241 GB, free: 5.871 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003185/0.4576, allocations: 335.9 kB / 0.5244 GB, free: 5.676 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001403/0.4578, allocations: 126.8 kB / 0.5245 GB, free: 5.605 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003756/0.4581, allocations: 223.7 kB / 0.5247 GB, free: 5.527 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001671/0.4583, allocations: 378.2 kB / 0.5251 GB, free: 5.184 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000544/0.4588, allocations: 289.5 kB / 0.5254 GB, free: 5.074 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006531/0.4595, allocations: 402.5 kB / 0.5258 GB, free: 4.891 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009522/0.4604, allocations: 0.5528 MB / 0.5263 GB, free: 4.602 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.458e-06/0.4605, allocations: 0 / 0.5263 GB, free: 4.602 MB / 382.1 MB Notification: Performance of matching and sorting (n=152) (initialization): time 0.001771/0.4622, allocations: 0.952 MB / 0.5272 GB, free: 4.191 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.709e-05/0.4623, allocations: 8.719 kB / 0.5272 GB, free: 4.191 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.235e-05/0.4623, allocations: 5.734 kB / 0.5272 GB, free: 4.188 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000262/0.4625, allocations: 41.38 kB / 0.5273 GB, free: 4.172 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009944/0.4635, allocations: 249.3 kB / 0.5275 GB, free: 4.16 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.021e-05/0.4635, allocations: 6.688 kB / 0.5275 GB, free: 4.16 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008169/0.4644, allocations: 73.03 kB / 0.5276 GB, free: 4.109 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.95e-05/0.4644, allocations: 39.7 kB / 0.5276 GB, free: 4.098 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.0002641/0.4647, allocations: 203.8 kB / 0.5278 GB, free: 3.934 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001164/0.4648, allocations: 57.28 kB / 0.5279 GB, free: 3.906 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006633/0.4655, allocations: 333.4 kB / 0.5282 GB, free: 3.719 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.474e-06/0.4655, allocations: 2.5 kB / 0.5282 GB, free: 3.719 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.444e-06/0.4655, allocations: 1.281 kB / 0.5282 GB, free: 3.719 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.261e-06/0.4655, allocations: 1.781 kB / 0.5282 GB, free: 3.719 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001166/0.4667, allocations: 0.7539 MB / 0.5289 GB, free: 3.25 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.795e-06/0.4667, allocations: 0 / 0.5289 GB, free: 3.25 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002394/0.4669, allocations: 54 kB / 0.529 GB, free: 3.246 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001623/0.4671, allocations: 40.48 kB / 0.529 GB, free: 3.227 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.924e-05/0.4671, allocations: 2.984 kB / 0.529 GB, free: 3.227 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.32e-06/0.4671, allocations: 2.734 kB / 0.529 GB, free: 3.227 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.226e-06/0.4671, allocations: 1.156 kB / 0.529 GB, free: 3.227 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005942/0.4677, allocations: 419.4 kB / 0.5294 GB, free: 2.949 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002477/0.4679, allocations: 100.9 kB / 0.5295 GB, free: 2.887 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.495e-05/0.468, allocations: 9.359 kB / 0.5295 GB, free: 2.883 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004301/0.4685, allocations: 28.97 kB / 0.5296 GB, free: 2.871 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.45e-05/0.4685, allocations: 17.3 kB / 0.5296 GB, free: 2.871 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.125e-05/0.4686, allocations: 15.33 kB / 0.5296 GB, free: 2.867 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0005023/0.4691, allocations: 374.5 kB / 0.53 GB, free: 2.688 MB / 382.1 MB Notification: Performance of sort global known variables: time 7e-08/0.4691, allocations: 0 / 0.53 GB, free: 2.688 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0008203/0.4699, allocations: 236.7 kB / 0.5302 GB, free: 2.652 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.0002436/0.4701, allocations: 151.2 kB / 0.5303 GB, free: 2.547 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0009643/0.4711, allocations: 0.5354 MB / 0.5308 GB, free: 2.375 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.126e-06/0.4711, allocations: 6.656 kB / 0.5309 GB, free: 2.371 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000196/0.4713, allocations: 114.6 kB / 0.531 GB, free: 2.328 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005417/0.4718, allocations: 52.22 kB / 0.531 GB, free: 2.305 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00128/0.4731, allocations: 0.8262 MB / 0.5318 GB, free: 1.793 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002832/0.4734, allocations: 238.2 kB / 0.532 GB, free: 1.691 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0003317/0.4737, allocations: 92.16 kB / 0.5321 GB, free: 1.676 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001329/0.4739, allocations: 47.39 kB / 0.5322 GB, free: 1.668 MB / 382.1 MB Notification: Performance of SimCode: time 2.8e-07/0.4739, allocations: 1.281 kB / 0.5322 GB, free: 1.668 MB / 382.1 MB Notification: Performance of Templates: time 0.01854/0.4924, allocations: 7.724 MB / 0.5397 GB, free: 64 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.578905513975769] Failed to read output from testmodel.py, exit status != 0: 0.505352923180908 0.517373729 0.069736462 Calling exit ...