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.001995/0.001995, allocations: 77.94 kB / 19.76 MB, free: 2.031 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.001485/0.001485, allocations: 159.5 kB / 23.01 MB, free: 4.945 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.471/1.471, allocations: 177.2 MB / 203.4 MB, free: 8.945 MB / 190.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.08464/0.08464, allocations: 12.53 MB / 272.3 MB, free: 4.547 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.002142/0.002142, allocations: 71.89 kB / 403.3 MB, free: 15.09 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3495/0.3517, allocations: 57.72 MB / 461 MB, free: 9.391 MB / 366.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Electrical.PowerFlow.Test.SmallSystem): time 0.02712/0.3788, allocations: 24.78 MB / 485.8 MB, free: 7.98 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.017/0.3958, allocations: 7.696 MB / 493.5 MB, free: 1.699 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004822/0.4006, allocations: 77.5 kB / 493.6 MB, free: 1.664 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004161/0.4048, allocations: 1.024 MB / 494.6 MB, free: 0.8555 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01431/0.4191, allocations: 3.665 MB / 498.3 MB, free: 13.8 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004742/0.4238, allocations: 1.393 MB / 499.7 MB, free: 12.44 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.01189/0.4357, allocations: 6.475 MB / 0.4943 GB, free: 5.949 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009948/0.4367, allocations: 256.9 kB / 0.4945 GB, free: 5.672 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004623/0.4413, allocations: 2.233 MB / 0.4967 GB, free: 3.43 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004577/0.4459, allocations: 2.158 MB / 0.4988 GB, free: 1.262 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0007836/0.4467, allocations: 256 kB / 0.4991 GB, free: 1.012 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002717/0.4494, allocations: 0.7458 MB / 0.4998 GB, free: 272 kB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000702/0.4501, allocations: 0.6647 MB / 0.5004 GB, free: 15.6 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003471/0.4536, allocations: 1.722 MB / 0.5021 GB, free: 13.87 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008068/0.4617, allocations: 4.766 MB / 0.5068 GB, free: 9.086 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.071e-06/0.4617, allocations: 3.938 kB / 0.5068 GB, free: 9.082 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.523e-06/0.4617, allocations: 0 / 0.5068 GB, free: 9.082 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0001068/0.4618, allocations: 0 / 0.5068 GB, free: 9.082 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.02194/0.4837, allocations: 6.021 MB / 0.5127 GB, free: 3.004 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.547e-05/0.4838, allocations: 8.031 kB / 0.5127 GB, free: 2.996 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003182/0.4869, allocations: 0.6037 MB / 0.5133 GB, free: 2.391 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004652/0.4916, allocations: 2.101 MB / 0.5153 GB, free: 228 kB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001753/0.4918, allocations: 205.6 kB / 0.5155 GB, free: 20 kB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003769/0.4922, allocations: 272.4 kB / 0.5158 GB, free: 15.75 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005308/0.4975, allocations: 3.711 MB / 0.5194 GB, free: 11.45 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.761e-05/0.4975, allocations: 19.81 kB / 0.5194 GB, free: 11.43 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002335/0.4978, allocations: 120 kB / 0.5195 GB, free: 11.32 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.558e-05/0.4978, allocations: 72 kB / 0.5196 GB, free: 11.25 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004237/0.5021, allocations: 2.505 MB / 0.522 GB, free: 8.723 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.02377/0.5258, allocations: 17.7 MB / 0.5393 GB, free: 6.398 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00432/0.5301, allocations: 2.189 MB / 0.5415 GB, free: 4.227 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001405/0.5316, allocations: 0.8349 MB / 0.5423 GB, free: 3.387 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000141/0.5317, allocations: 41.97 kB / 0.5423 GB, free: 3.348 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.59e-05/0.5318, allocations: 72.44 kB / 0.5424 GB, free: 3.266 MB / 446.1 MB Notification: Performance of pre-optimization done (n=252): time 5.15e-06/0.5318, allocations: 0 / 0.5424 GB, free: 3.266 MB / 446.1 MB Notification: Performance of matching and sorting (n=252): time 0.02156/0.5533, allocations: 5.776 MB / 0.548 GB, free: 13.47 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.007e-05/0.5534, allocations: 81.34 kB / 0.5481 GB, free: 13.38 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005174/0.5586, allocations: 2.729 MB / 0.5508 GB, free: 10.63 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003258/0.5589, allocations: 81.69 kB / 0.5508 GB, free: 10.55 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001518/0.5604, allocations: 1.498 MB / 0.5523 GB, free: 9.035 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001665/0.5621, allocations: 1.043 MB / 0.5533 GB, free: 7.984 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002608/0.5647, allocations: 1.425 MB / 0.5547 GB, free: 6.547 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001603/0.5649, allocations: 301.1 kB / 0.555 GB, free: 6.25 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003985/0.5688, allocations: 2.007 MB / 0.557 GB, free: 4.234 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004944/0.5738, allocations: 2.653 MB / 0.5596 GB, free: 1.496 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008204/0.582, allocations: 3.861 MB / 0.5633 GB, free: 13.5 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.724e-05/0.582, allocations: 4 kB / 0.5633 GB, free: 13.5 MB / 478.1 MB Notification: Performance of matching and sorting (n=1046) (initialization): time 0.01716/0.5992, allocations: 6.723 MB / 0.5699 GB, free: 6.672 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.913e-05/0.5992, allocations: 4 kB / 0.5699 GB, free: 6.668 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.488e-05/0.5993, allocations: 8 kB / 0.5699 GB, free: 6.66 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002873/0.6021, allocations: 0.9222 MB / 0.5708 GB, free: 5.73 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006631/0.6088, allocations: 1.521 MB / 0.5723 GB, free: 4.207 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01209/0.6209, allocations: 6.483 MB / 0.5786 GB, free: 13.65 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006649/0.6275, allocations: 0.497 MB / 0.5791 GB, free: 13.15 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007187/0.6282, allocations: 248 kB / 0.5793 GB, free: 12.91 MB / 494.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.001648/0.6299, allocations: 0.6682 MB / 0.58 GB, free: 12.23 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009079/0.6308, allocations: 333.9 kB / 0.5803 GB, free: 11.9 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005818/0.6366, allocations: 2.645 MB / 0.5829 GB, free: 9.238 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.862e-05/0.6366, allocations: 27.98 kB / 0.5829 GB, free: 9.211 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.356e-06/0.6367, allocations: 0 / 0.5829 GB, free: 9.211 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.899e-05/0.6367, allocations: 11.95 kB / 0.5829 GB, free: 9.199 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01037/0.6471, allocations: 4.516 MB / 0.5874 GB, free: 4.621 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.044e-05/0.6471, allocations: 4.062 kB / 0.5874 GB, free: 4.617 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001405/0.6485, allocations: 315.6 kB / 0.5877 GB, free: 4.309 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002573/0.651, allocations: 0.7462 MB / 0.5884 GB, free: 3.559 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000228/0.6513, allocations: 51.92 kB / 0.5884 GB, free: 3.508 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01129/0.6626, allocations: 6.267 MB / 0.5946 GB, free: 13.13 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.655e-06/0.6626, allocations: 0 / 0.5946 GB, free: 13.13 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006865/0.6694, allocations: 2.721 MB / 0.5972 GB, free: 10.38 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002889/0.6723, allocations: 0.6184 MB / 0.5978 GB, free: 9.758 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009044/0.6732, allocations: 44 kB / 0.5979 GB, free: 9.715 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003185/0.6764, allocations: 103.9 kB / 0.598 GB, free: 9.613 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004777/0.6769, allocations: 165.6 kB / 0.5981 GB, free: 9.449 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000271/0.6771, allocations: 79.97 kB / 0.5982 GB, free: 9.371 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.003585/0.6807, allocations: 1.603 MB / 0.5998 GB, free: 7.766 MB / 0.4981 GB Notification: Performance of sort global known variables: time 9e-08/0.6807, allocations: 0 / 0.5998 GB, free: 7.766 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.006188/0.6869, allocations: 1.616 MB / 0.6013 GB, free: 6.148 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.0007859/0.6877, allocations: 292.2 kB / 0.6016 GB, free: 5.855 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.01019/0.6979, allocations: 4.261 MB / 0.6058 GB, free: 1.582 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 7.534e-06/0.6979, allocations: 4.125 kB / 0.6058 GB, free: 1.578 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.003211/0.7011, allocations: 1.381 MB / 0.6071 GB, free: 180 kB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003908/0.705, allocations: 248 kB / 0.6074 GB, free: 15.93 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01067/0.7157, allocations: 4.649 MB / 0.6119 GB, free: 11.25 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001959/0.7177, allocations: 1.179 MB / 0.6131 GB, free: 10.04 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.00281/0.7205, allocations: 0.5335 MB / 0.6136 GB, free: 9.504 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001143/0.7216, allocations: 244.5 kB / 0.6138 GB, free: 9.266 MB / 0.5137 GB Notification: Performance of SimCode: time 1.282e-06/0.7216, allocations: 0 / 0.6138 GB, free: 9.266 MB / 0.5137 GB Notification: Performance of Templates: time 0.3397/1.061, allocations: 43.34 MB / 0.6561 GB, free: 159 MB / 0.5294 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=480 -s ida -lv LOG_STATS > PowerGrids_dev_PowerGrids.Electrical.PowerFlow.Test.SmallSystem.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 7.633993820985779] Failed to read output from testmodel.py, exit status != 0: 1.0717231000307947 1.088106921 0.6224298349999999 Calling exit ...