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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001457/0.001457, allocations: 108.8 kB / 18.93 MB, free: 2.945 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001517/0.001517, allocations: 189.4 kB / 22.23 MB, free: 5.16 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.295/1.295, allocations: 225.6 MB / 251 MB, free: 13.01 MB / 206.1 MB " [Timeout remaining time 179] 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.07742/0.07742, allocations: 16.95 MB / 323.2 MB, free: 8.09 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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: Performance of FrontEnd - loaded program: time 0.001891/0.001891, allocations: 63.89 kB / 452 MB, free: 8.742 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09631/0.0982, allocations: 56.56 MB / 0.4966 GB, free: 72 kB / 366.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Electrical.PowerFlow.Test.OneSlackOneLoad): time 0.005366/0.1036, allocations: 4.587 MB / 0.5011 GB, free: 11.46 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.00321/0.1068, allocations: 2.361 MB / 0.5034 GB, free: 9.086 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001908/0.107, allocations: 15.88 kB / 0.5034 GB, free: 9.07 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005021/0.1075, allocations: 238.6 kB / 0.5036 GB, free: 8.836 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002219/0.1097, allocations: 1.204 MB / 0.5048 GB, free: 7.629 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006998/0.1104, allocations: 356.6 kB / 0.5052 GB, free: 7.289 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0011/0.1115, allocations: 1.035 MB / 0.5062 GB, free: 6.25 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001268/0.1116, allocations: 41.94 kB / 0.5062 GB, free: 6.203 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003924/0.112, allocations: 374.5 kB / 0.5066 GB, free: 5.836 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004217/0.1124, allocations: 382.2 kB / 0.5069 GB, free: 5.461 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 7.192e-05/0.1125, allocations: 44 kB / 0.507 GB, free: 5.418 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004521/0.113, allocations: 243.8 kB / 0.5072 GB, free: 5.18 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001122/0.1131, allocations: 119.4 kB / 0.5073 GB, free: 5.062 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003241/0.1134, allocations: 346.1 kB / 0.5077 GB, free: 4.723 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009761/0.1144, allocations: 0.8639 MB / 0.5085 GB, free: 3.855 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.096e-06/0.1144, allocations: 4 kB / 0.5085 GB, free: 3.852 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.132e-06/0.1144, allocations: 0 / 0.5085 GB, free: 3.852 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.223e-06/0.1144, allocations: 0 / 0.5085 GB, free: 3.852 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.003074/0.1175, allocations: 1.155 MB / 0.5096 GB, free: 2.664 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.101e-05/0.1175, allocations: 16.81 kB / 0.5096 GB, free: 2.648 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003361/0.1178, allocations: 96.48 kB / 0.5097 GB, free: 2.555 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007974/0.1186, allocations: 459.8 kB / 0.5102 GB, free: 2.082 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.022e-05/0.1186, allocations: 37.31 kB / 0.5102 GB, free: 2.047 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.221e-05/0.1187, allocations: 40.38 kB / 0.5102 GB, free: 2.008 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000719/0.1194, allocations: 0.521 MB / 0.5108 GB, free: 1.406 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.377e-05/0.1194, allocations: 4 kB / 0.5108 GB, free: 1.402 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.167e-05/0.1195, allocations: 20 kB / 0.5108 GB, free: 1.383 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.366e-05/0.1195, allocations: 12 kB / 0.5108 GB, free: 1.371 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005275/0.12, allocations: 350.1 kB / 0.5111 GB, free: 1.031 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.1749/0.295, allocations: 3.373 MB / 0.5144 GB, free: 19.24 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005032/0.2955, allocations: 268 kB / 0.5147 GB, free: 19.22 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001242/0.2956, allocations: 84.5 kB / 0.5148 GB, free: 19.21 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.003e-05/0.2956, allocations: 5.297 kB / 0.5148 GB, free: 19.21 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.234e-05/0.2956, allocations: 37.47 kB / 0.5148 GB, free: 19.17 MB / 382.1 MB Notification: Performance of pre-optimization done (n=29): time 2.074e-06/0.2956, allocations: 0 / 0.5148 GB, free: 19.17 MB / 382.1 MB Notification: Performance of matching and sorting (n=29): time 0.000881/0.2965, allocations: 405.4 kB / 0.5152 GB, free: 19.12 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.059e-05/0.2965, allocations: 54.44 kB / 0.5152 GB, free: 19.06 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005622/0.2971, allocations: 0.6078 MB / 0.5158 GB, free: 18.95 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.405e-05/0.2971, allocations: 32.77 kB / 0.5159 GB, free: 18.91 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001483/0.2973, allocations: 329.1 kB / 0.5162 GB, free: 18.76 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.466e-05/0.2974, allocations: 128.5 kB / 0.5163 GB, free: 18.7 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002489/0.2976, allocations: 244.9 kB / 0.5165 GB, free: 18.67 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 7.773e-05/0.2977, allocations: 379 kB / 0.5169 GB, free: 18.36 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003911/0.2981, allocations: 298.9 kB / 0.5172 GB, free: 18.36 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004453/0.2985, allocations: 412.4 kB / 0.5176 GB, free: 18.31 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006099/0.2991, allocations: 0.5696 MB / 0.5181 GB, free: 18.25 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.875e-06/0.2991, allocations: 0 / 0.5181 GB, free: 18.25 MB / 382.1 MB Notification: Performance of matching and sorting (n=160) (initialization): time 0.0012/0.3003, allocations: 0.9872 MB / 0.5191 GB, free: 18.14 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.659e-05/0.3003, allocations: 12.84 kB / 0.5191 GB, free: 18.14 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.063e-06/0.3004, allocations: 0 / 0.5191 GB, free: 18.14 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002203/0.3006, allocations: 47.56 kB / 0.5191 GB, free: 18.13 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008432/0.3014, allocations: 255.4 kB / 0.5194 GB, free: 18.13 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.214e-05/0.3014, allocations: 5.5 kB / 0.5194 GB, free: 18.13 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006879/0.3021, allocations: 87.78 kB / 0.5195 GB, free: 18.11 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.425e-05/0.3022, allocations: 42.83 kB / 0.5195 GB, free: 18.11 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 (159): * Single equations (assignments): 158 * 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.0001845/0.3024, allocations: 199.1 kB / 0.5197 GB, free: 17.99 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.88e-05/0.3024, allocations: 65.98 kB / 0.5198 GB, free: 17.96 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000518/0.303, allocations: 327.4 kB / 0.5201 GB, free: 17.89 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.897e-06/0.303, allocations: 1.906 kB / 0.5201 GB, free: 17.89 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.169e-06/0.303, allocations: 8.406 kB / 0.5201 GB, free: 17.89 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.617e-06/0.303, allocations: 0 / 0.5201 GB, free: 17.89 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008861/0.3039, allocations: 0.9094 MB / 0.521 GB, free: 17.43 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.304e-06/0.3039, allocations: 1.438 kB / 0.521 GB, free: 17.43 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002178/0.3041, allocations: 51.17 kB / 0.521 GB, free: 17.43 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00014/0.3042, allocations: 36.67 kB / 0.5211 GB, free: 17.41 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.866e-05/0.3042, allocations: 8.422 kB / 0.5211 GB, free: 17.41 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.174e-06/0.3042, allocations: 2.344 kB / 0.5211 GB, free: 17.41 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.154e-06/0.3042, allocations: 4.469 kB / 0.5211 GB, free: 17.41 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004607/0.3047, allocations: 428.8 kB / 0.5215 GB, free: 17.12 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002007/0.3049, allocations: 106.2 kB / 0.5216 GB, free: 17.06 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.288e-05/0.305, allocations: 7.062 kB / 0.5216 GB, free: 17.05 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004294/0.3054, allocations: 31.56 kB / 0.5216 GB, free: 17.05 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.59e-05/0.3055, allocations: 17.62 kB / 0.5216 GB, free: 17.05 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.58e-05/0.3055, allocations: 15.38 kB / 0.5217 GB, free: 17.04 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0004019/0.3059, allocations: 404.3 kB / 0.522 GB, free: 16.86 MB / 382.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3059, allocations: 1.406 kB / 0.522 GB, free: 16.86 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0005533/0.3064, allocations: 235.7 kB / 0.5223 GB, free: 16.83 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.000175/0.3066, allocations: 147.2 kB / 0.5224 GB, free: 16.73 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.000787/0.3074, allocations: 0.5416 MB / 0.5229 GB, free: 16.57 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.126e-06/0.3074, allocations: 1.375 kB / 0.5229 GB, free: 16.57 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001619/0.3076, allocations: 114.8 kB / 0.5231 GB, free: 16.52 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004938/0.3081, allocations: 59.45 kB / 0.5231 GB, free: 16.5 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009699/0.309, allocations: 0.8239 MB / 0.5239 GB, free: 16 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002247/0.3093, allocations: 0.8448 MB / 0.5247 GB, free: 15.29 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0002868/0.3095, allocations: 95.45 kB / 0.5248 GB, free: 15.27 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001133/0.3097, allocations: 54.67 kB / 0.5249 GB, free: 15.26 MB / 382.1 MB Notification: Performance of SimCode: time 3.1e-07/0.3097, allocations: 0 / 0.5249 GB, free: 15.26 MB / 382.1 MB Notification: Performance of Templates: time 0.01282/0.3225, allocations: 7.342 MB / 0.5321 GB, free: 14.34 MB / 382.1 MB " [Timeout remaining time 660] 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=480 -lv LOG_STATS > PowerGrids_dev_PowerGrids.Electrical.PowerFlow.Test.OneSlackOneLoad.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.468772131018341] Failed to read output from testmodel.py, exit status != 0: 0.3298028213903308 0.339112477 0.22254761 Calling exit ... <OMPython.OMCSessionZMQ object at 0x7fd0184757b0>