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.001735/0.001735, allocations: 114.5 kB / 18.94 MB, free: 2.934 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.001379/0.001379, allocations: 217 kB / 22.25 MB, free: 5.082 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.35/1.35, allocations: 230.6 MB / 256 MB, free: 8.027 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.07702/0.07702, allocations: 16.95 MB / 329.4 MB, free: 2.598 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.001938/0.001938, allocations: 59.91 kB / 460.5 MB, free: 1.969 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1129/0.1149, allocations: 57.74 MB / 0.5061 GB, free: 8.113 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Electrical.PowerFlow.Test.OneSlackOneZLoad): time 0.005897/0.1208, allocations: 4.64 MB / 0.5106 GB, free: 3.457 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.003966/0.1247, allocations: 2.59 MB / 0.5132 GB, free: 0.8477 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002923/0.125, allocations: 15.88 kB / 0.5132 GB, free: 0.832 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006501/0.1257, allocations: 258.5 kB / 0.5134 GB, free: 0.5781 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.2176/0.3432, allocations: 1.171 MB / 0.5146 GB, free: 9.672 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009407/0.3442, allocations: 485.9 kB / 0.515 GB, free: 9.672 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.001267/0.3454, allocations: 1.056 MB / 0.5161 GB, free: 9.672 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001497/0.3456, allocations: 37.78 kB / 0.5161 GB, free: 9.656 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004316/0.346, allocations: 385.8 kB / 0.5165 GB, free: 9.621 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003757/0.3464, allocations: 390 kB / 0.5168 GB, free: 9.551 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 6.14e-05/0.3465, allocations: 43.81 kB / 0.5169 GB, free: 9.551 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005611/0.347, allocations: 311.4 kB / 0.5172 GB, free: 9.551 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.842e-05/0.3471, allocations: 111.7 kB / 0.5173 GB, free: 9.527 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002252/0.3473, allocations: 353.7 kB / 0.5176 GB, free: 9.43 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008914/0.3482, allocations: 0.9191 MB / 0.5185 GB, free: 9.297 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.529e-06/0.3482, allocations: 1.078 kB / 0.5185 GB, free: 9.297 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.733e-06/0.3482, allocations: 1.188 kB / 0.5185 GB, free: 9.297 MB / 382.1 MB Notification: Performance of Transformations before backend: time 9.257e-06/0.3482, allocations: 0.875 kB / 0.5185 GB, free: 9.297 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.00302/0.3512, allocations: 1.216 MB / 0.5197 GB, free: 8.758 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.684e-05/0.3513, allocations: 8.688 kB / 0.5197 GB, free: 8.758 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000511/0.3518, allocations: 104.2 kB / 0.5198 GB, free: 8.723 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007888/0.3526, allocations: 468 kB / 0.5203 GB, free: 8.516 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.961e-05/0.3526, allocations: 35.06 kB / 0.5203 GB, free: 8.516 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.143e-05/0.3527, allocations: 44.2 kB / 0.5203 GB, free: 8.516 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000621/0.3533, allocations: 0.5202 MB / 0.5208 GB, free: 8.285 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.615e-05/0.3533, allocations: 7.281 kB / 0.5208 GB, free: 8.281 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.042e-05/0.3533, allocations: 21.25 kB / 0.5209 GB, free: 8.281 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.33e-05/0.3534, allocations: 10.66 kB / 0.5209 GB, free: 8.281 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005198/0.3539, allocations: 377.8 kB / 0.5212 GB, free: 8.281 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.003011/0.3569, allocations: 3.387 MB / 0.5245 GB, free: 5.828 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005908/0.3575, allocations: 277.2 kB / 0.5248 GB, free: 5.754 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001569/0.3576, allocations: 99.05 kB / 0.5249 GB, free: 5.707 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.827e-05/0.3577, allocations: 12.92 kB / 0.5249 GB, free: 5.703 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.682e-05/0.3577, allocations: 38.08 kB / 0.525 GB, free: 5.66 MB / 382.1 MB Notification: Performance of pre-optimization done (n=33): time 2.364e-06/0.3577, allocations: 0 / 0.525 GB, free: 5.66 MB / 382.1 MB Notification: Performance of matching and sorting (n=33): time 0.0009183/0.3586, allocations: 432.8 kB / 0.5254 GB, free: 5.465 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.75e-05/0.3586, allocations: 58.69 kB / 0.5254 GB, free: 5.398 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006818/0.3593, allocations: 0.5964 MB / 0.526 GB, free: 5.102 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.205e-05/0.3594, allocations: 39.05 kB / 0.526 GB, free: 5.059 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001757/0.3595, allocations: 315.7 kB / 0.5263 GB, free: 4.812 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001071/0.3596, allocations: 142.8 kB / 0.5265 GB, free: 4.711 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002927/0.3599, allocations: 250.2 kB / 0.5267 GB, free: 4.586 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 9.869e-05/0.36, allocations: 378.2 kB / 0.5271 GB, free: 4.246 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004546/0.3605, allocations: 325.9 kB / 0.5274 GB, free: 4.121 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005543/0.361, allocations: 438.7 kB / 0.5278 GB, free: 3.922 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007385/0.3618, allocations: 0.6034 MB / 0.5284 GB, free: 3.609 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.178e-06/0.3618, allocations: 0 / 0.5284 GB, free: 3.609 MB / 382.1 MB Notification: Performance of matching and sorting (n=166) (initialization): time 0.001487/0.3633, allocations: 1.033 MB / 0.5294 GB, free: 3.164 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.435e-05/0.3633, allocations: 6.859 kB / 0.5294 GB, free: 3.164 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.869e-06/0.3633, allocations: 1.062 kB / 0.5294 GB, free: 3.164 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001994/0.3635, allocations: 38.7 kB / 0.5294 GB, free: 3.145 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009459/0.3645, allocations: 262 kB / 0.5297 GB, free: 3.137 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008604/0.3653, allocations: 1.335 MB / 0.531 GB, free: 1.828 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008271/0.3661, allocations: 79.64 kB / 0.5311 GB, free: 1.773 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.6e-05/0.3662, allocations: 46.88 kB / 0.5311 GB, free: 1.758 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.0002929/0.3665, allocations: 207.5 kB / 0.5313 GB, free: 1.594 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000118/0.3666, allocations: 61.12 kB / 0.5314 GB, free: 1.562 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006648/0.3673, allocations: 353.2 kB / 0.5317 GB, free: 1.371 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.352e-06/0.3673, allocations: 11.72 kB / 0.5317 GB, free: 1.363 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.917e-06/0.3673, allocations: 0 / 0.5317 GB, free: 1.363 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.747e-06/0.3673, allocations: 7.734 kB / 0.5317 GB, free: 1.359 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001279/0.3686, allocations: 0.9629 MB / 0.5327 GB, free: 0.7852 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.628e-06/0.3686, allocations: 3.938 kB / 0.5327 GB, free: 0.7812 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002257/0.3688, allocations: 50.33 kB / 0.5327 GB, free: 0.7812 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001099/0.3689, allocations: 32.78 kB / 0.5328 GB, free: 0.7656 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.928e-05/0.3689, allocations: 10.62 kB / 0.5328 GB, free: 0.7578 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008879/0.3698, allocations: 1.318 MB / 0.5341 GB, free: 15.46 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.986e-06/0.3698, allocations: 4.016 kB / 0.5341 GB, free: 15.46 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006053/0.3704, allocations: 449.6 kB / 0.5345 GB, free: 15.16 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002667/0.3707, allocations: 113.4 kB / 0.5346 GB, free: 15.09 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.269e-05/0.3708, allocations: 5.906 kB / 0.5346 GB, free: 15.08 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004305/0.3712, allocations: 27.5 kB / 0.5346 GB, free: 15.07 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.949e-05/0.3713, allocations: 18.86 kB / 0.5346 GB, free: 15.07 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.843e-05/0.3713, allocations: 14.77 kB / 0.5347 GB, free: 15.07 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.000514/0.3718, allocations: 390.5 kB / 0.535 GB, free: 14.89 MB / 398.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3718, allocations: 0 / 0.535 GB, free: 14.89 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.000759/0.3726, allocations: 256.5 kB / 0.5353 GB, free: 14.84 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.0002626/0.3728, allocations: 145.8 kB / 0.5354 GB, free: 14.74 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.001213/0.374, allocations: 0.6848 MB / 0.5361 GB, free: 14.44 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.146e-06/0.374, allocations: 1.062 kB / 0.5361 GB, free: 14.44 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003468/0.3744, allocations: 235.6 kB / 0.5363 GB, free: 14.28 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005409/0.3749, allocations: 58.94 kB / 0.5364 GB, free: 14.25 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00149/0.3764, allocations: 0.8661 MB / 0.5372 GB, free: 13.72 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005671/0.377, allocations: 0.8471 MB / 0.538 GB, free: 13.01 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0003227/0.3773, allocations: 101.3 kB / 0.5381 GB, free: 13 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001278/0.3774, allocations: 46.94 kB / 0.5382 GB, free: 12.99 MB / 398.1 MB Notification: Performance of SimCode: time 5.01e-07/0.3774, allocations: 0 / 0.5382 GB, free: 12.99 MB / 398.1 MB Notification: Performance of Templates: time 0.01562/0.393, allocations: 7.863 MB / 0.5459 GB, free: 10.87 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=50 -lv LOG_STATS > PowerGrids_dev_PowerGrids.Electrical.PowerFlow.Test.OneSlackOneZLoad.pipe 2>&1) [Timeout 50] [Calling sys.exit(0), Time elapsed: 4.839773774845526] Failed to read output from testmodel.py, exit status != 0: 0.4017417391296476 0.41494231299999995 0.06374593499999995 Calling exit ...