Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerGrids_dev_PowerGrids.Electrical.PowerFlow.Test.SmallSystem.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.001335/0.001335, 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.00152/0.00152, allocations: 209.6 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.531/1.531, allocations: 230.6 MB / 256 MB, free: 7.793 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.1223/0.1223, allocations: 16.93 MB / 329.4 MB, free: 2.398 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.SmallSystem,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PowerGrids_dev_PowerGrids.Electrical.PowerFlow.Test.SmallSystem") translateModel(PowerGrids.Electrical.PowerFlow.Test.SmallSystem,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PowerGrids_dev_PowerGrids.Electrical.PowerFlow.Test.SmallSystem") [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.002396/0.002396, allocations: 67.89 kB / 460.4 MB, free: 1.832 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1248/0.1272, allocations: 57.74 MB / 0.506 GB, free: 7.992 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Electrical.PowerFlow.Test.SmallSystem): time 0.2886/0.4158, allocations: 24.78 MB / 0.5302 GB, free: 1.977 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01551/0.4313, allocations: 7.692 MB / 0.5377 GB, free: 13.22 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005202/0.4365, allocations: 79.66 kB / 0.5378 GB, free: 13.19 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005445/0.442, allocations: 1.021 MB / 0.5388 GB, free: 12.7 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01432/0.4563, allocations: 3.669 MB / 0.5423 GB, free: 10.3 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004774/0.4611, allocations: 1.383 MB / 0.5437 GB, free: 9.578 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.01235/0.4734, allocations: 6.478 MB / 0.55 GB, free: 6.117 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001077/0.4745, allocations: 259.1 kB / 0.5503 GB, free: 5.949 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005357/0.4799, allocations: 2.229 MB / 0.5524 GB, free: 4.633 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005548/0.4854, allocations: 2.157 MB / 0.5545 GB, free: 3.25 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001296/0.4867, allocations: 255.1 kB / 0.5548 GB, free: 3.25 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004606/0.4913, allocations: 0.7478 MB / 0.5555 GB, free: 3.109 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0009695/0.4923, allocations: 0.6682 MB / 0.5562 GB, free: 2.527 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.005741/0.498, allocations: 1.714 MB / 0.5578 GB, free: 1.445 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009923/0.508, allocations: 4.771 MB / 0.5625 GB, free: 14.15 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.077e-06/0.508, allocations: 3.984 kB / 0.5625 GB, free: 14.14 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.565e-06/0.508, allocations: 1.344 kB / 0.5625 GB, free: 14.14 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0001598/0.5081, allocations: 0 / 0.5625 GB, free: 14.14 MB / 414.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 664 * Number of variables: 664 Notification: Performance of Generate backend data structure: time 0.02325/0.5314, allocations: 6.016 MB / 0.5684 GB, free: 10.18 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.09e-05/0.5314, allocations: 8.031 kB / 0.5684 GB, free: 10.18 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003601/0.535, allocations: 0.6037 MB / 0.569 GB, free: 9.57 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005996/0.541, allocations: 2.101 MB / 0.571 GB, free: 7.402 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000187/0.5412, allocations: 205.5 kB / 0.5712 GB, free: 7.199 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003781/0.5416, allocations: 276.4 kB / 0.5715 GB, free: 6.93 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005588/0.5472, allocations: 3.711 MB / 0.5751 GB, free: 2.629 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.309e-05/0.5472, allocations: 19.81 kB / 0.5751 GB, free: 2.609 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002688/0.5475, allocations: 120 kB / 0.5753 GB, free: 2.492 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.875e-05/0.5476, allocations: 76.81 kB / 0.5753 GB, free: 2.418 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004499/0.5521, allocations: 2.502 MB / 0.5778 GB, free: 15.89 MB / 430.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.02836/0.5804, allocations: 17.7 MB / 0.5951 GB, free: 13.58 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005068/0.5855, allocations: 2.181 MB / 0.5972 GB, free: 11.42 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001772/0.5873, allocations: 0.8311 MB / 0.598 GB, free: 10.59 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001824/0.5875, allocations: 49.91 kB / 0.598 GB, free: 10.54 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.688e-05/0.5875, allocations: 75.62 kB / 0.5981 GB, free: 10.46 MB / 446.1 MB Notification: Performance of pre-optimization done (n=252): time 5.561e-06/0.5876, allocations: 0.7031 kB / 0.5981 GB, free: 10.46 MB / 446.1 MB Notification: Performance of matching and sorting (n=252): time 0.02278/0.6103, allocations: 5.765 MB / 0.6037 GB, free: 4.676 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.587e-05/0.6104, allocations: 81.34 kB / 0.6038 GB, free: 4.586 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005897/0.6163, allocations: 2.737 MB / 0.6065 GB, free: 1.832 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003828/0.6167, allocations: 77.7 kB / 0.6066 GB, free: 1.75 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001765/0.6184, allocations: 1.494 MB / 0.608 GB, free: 248 kB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001662/0.6201, allocations: 1.047 MB / 0.6091 GB, free: 15.18 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003692/0.6238, allocations: 1.425 MB / 0.6104 GB, free: 13.74 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001457/0.6239, allocations: 301.1 kB / 0.6107 GB, free: 13.45 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004365/0.6283, allocations: 2.004 MB / 0.6127 GB, free: 11.43 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005318/0.6336, allocations: 2.66 MB / 0.6153 GB, free: 8.691 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008212/0.6418, allocations: 3.865 MB / 0.6191 GB, free: 4.695 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.645e-05/0.6419, allocations: 0 / 0.6191 GB, free: 4.695 MB / 462.1 MB Notification: Performance of matching and sorting (n=1046) (initialization): time 0.01511/0.657, allocations: 6.723 MB / 0.6256 GB, free: 13.88 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.191e-05/0.657, allocations: 8 kB / 0.6256 GB, free: 13.87 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.904e-05/0.6571, allocations: 4 kB / 0.6256 GB, free: 13.86 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002812/0.6599, allocations: 0.9222 MB / 0.6265 GB, free: 12.93 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006219/0.6661, allocations: 1.525 MB / 0.628 GB, free: 11.41 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01271/0.6788, allocations: 6.482 MB / 0.6344 GB, free: 4.855 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00732/0.6861, allocations: 0.4892 MB / 0.6348 GB, free: 4.363 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001121/0.6872, allocations: 252 kB / 0.6351 GB, free: 4.117 MB / 478.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 21 * Number of states: 0 () * Number of discrete variables: 7 (bus.isSlackBus,slack.isSlackBus,load4.isSlackBus,load3.isSlackBus,load2.isSlackBus,load1.isSlackBus,bus2.isSlackBus) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (982): * Single equations (assignments): 980 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 1 * 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: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(8,56)} Notification: Performance of prepare postOptimizeDAE: time 0.002235/0.6895, allocations: 0.6689 MB / 0.6357 GB, free: 3.438 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001348/0.6908, allocations: 337.9 kB / 0.6361 GB, free: 3.105 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006391/0.6972, allocations: 2.645 MB / 0.6386 GB, free: 452 kB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.39e-05/0.6972, allocations: 24 kB / 0.6387 GB, free: 428 kB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.466e-05/0.6972, allocations: 8 kB / 0.6387 GB, free: 420 kB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.387e-05/0.6973, allocations: 11.95 kB / 0.6387 GB, free: 408 kB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01317/0.7104, allocations: 4.512 MB / 0.6431 GB, free: 11.82 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.288e-06/0.7105, allocations: 0 / 0.6431 GB, free: 11.82 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001957/0.7124, allocations: 315.5 kB / 0.6434 GB, free: 11.52 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003604/0.716, allocations: 0.7386 MB / 0.6441 GB, free: 10.77 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003055/0.7163, allocations: 51.92 kB / 0.6442 GB, free: 10.72 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01654/0.7329, allocations: 6.262 MB / 0.6503 GB, free: 4.352 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.895e-06/0.7329, allocations: 3.938 kB / 0.6503 GB, free: 4.348 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008952/0.7418, allocations: 2.724 MB / 0.6529 GB, free: 1.594 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003316/0.7451, allocations: 0.6184 MB / 0.6535 GB, free: 0.9727 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001288/0.7464, allocations: 40 kB / 0.6536 GB, free: 0.9336 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00419/0.7506, allocations: 103.9 kB / 0.6537 GB, free: 0.832 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005067/0.7511, allocations: 169.5 kB / 0.6538 GB, free: 0.6641 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002921/0.7514, allocations: 83.97 kB / 0.6539 GB, free: 0.582 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.004236/0.7556, allocations: 1.603 MB / 0.6555 GB, free: 14.97 MB / 0.4981 GB Notification: Performance of sort global known variables: time 8e-08/0.7556, allocations: 0 / 0.6555 GB, free: 14.97 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.005686/0.7613, allocations: 1.613 MB / 0.6571 GB, free: 13.36 MB / 0.4981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (188): * Single equations (assignments): 186 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 1 * 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: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(8,56)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0008463/0.7622, allocations: 299.9 kB / 0.6573 GB, free: 13.06 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.01026/0.7724, allocations: 4.269 MB / 0.6615 GB, free: 8.781 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.48e-05/0.7724, allocations: 4 kB / 0.6615 GB, free: 8.777 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.003139/0.7756, allocations: 1.37 MB / 0.6629 GB, free: 7.387 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004632/0.7802, allocations: 263.2 kB / 0.6631 GB, free: 7.137 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01004/0.7903, allocations: 4.636 MB / 0.6676 GB, free: 2.465 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001968/0.7922, allocations: 1.183 MB / 0.6688 GB, free: 1.246 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.002779/0.795, allocations: 0.5296 MB / 0.6693 GB, free: 0.7148 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001111/0.7961, allocations: 239.4 kB / 0.6695 GB, free: 492 kB / 0.4981 GB Notification: Performance of SimCode: time 1.102e-06/0.7961, allocations: 0 / 0.6695 GB, free: 492 kB / 0.4981 GB Notification: Performance of Templates: time 0.09059/0.8867, allocations: 47.59 MB / 0.716 GB, free: 1.094 MB / 0.545 GB " [Timeout remaining time 659] make -j1 -f PowerGrids_dev_PowerGrids.Electrical.PowerFlow.Test.SmallSystem.makefile [Timeout 660] (rm -f PowerGrids_dev_PowerGrids.Electrical.PowerFlow.Test.SmallSystem.pipe ; mkfifo PowerGrids_dev_PowerGrids.Electrical.PowerFlow.Test.SmallSystem.pipe ; head -c 1048576 < PowerGrids_dev_PowerGrids.Electrical.PowerFlow.Test.SmallSystem.pipe >> ../files/PowerGrids_dev_PowerGrids.Electrical.PowerFlow.Test.SmallSystem.sim & ./PowerGrids_dev_PowerGrids.Electrical.PowerFlow.Test.SmallSystem -abortSlowSimulation -alarm=50 -lv LOG_STATS > PowerGrids_dev_PowerGrids.Electrical.PowerFlow.Test.SmallSystem.pipe 2>&1) [Timeout 50] [Calling sys.exit(0), Time elapsed: 7.766594156157225] Failed to read output from testmodel.py, exit status != 0: 0.8976798383519053 0.912146744 0.40065833999999995 Calling exit ...