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.001462/0.001462, allocations: 102.7 kB / 16.45 MB, free: 6.449 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.001523/0.001523, allocations: 206.4 kB / 19.42 MB, free: 3.641 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.577/1.577, allocations: 230.6 MB / 252.8 MB, free: 8.992 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.08004/0.08004, allocations: 16.94 MB / 325.8 MB, free: 3.762 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.002033/0.002033, allocations: 63.91 kB / 455.3 MB, free: 4.383 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1292/0.1312, allocations: 57.7 MB / 0.501 GB, free: 10.57 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Electrical.PowerFlow.Test.SmallSystem): time 0.3031/0.4343, allocations: 28.82 MB / 0.5291 GB, free: 0.7656 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01646/0.4508, allocations: 8.254 MB / 0.5372 GB, free: 11.42 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005229/0.456, allocations: 77.56 kB / 0.5373 GB, free: 11.38 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004659/0.4607, allocations: 1.074 MB / 0.5383 GB, free: 10.84 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0146/0.4753, allocations: 3.714 MB / 0.5419 GB, free: 8.379 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005014/0.4803, allocations: 1.413 MB / 0.5433 GB, free: 7.621 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0121/0.4924, allocations: 6.485 MB / 0.5497 GB, free: 4.246 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009908/0.4934, allocations: 262.7 kB / 0.5499 GB, free: 4.074 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005166/0.4985, allocations: 2.229 MB / 0.5521 GB, free: 2.758 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00543/0.504, allocations: 2.383 MB / 0.5544 GB, free: 1.148 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0009672/0.5049, allocations: 254.9 kB / 0.5547 GB, free: 1.148 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004016/0.509, allocations: 0.7599 MB / 0.5554 GB, free: 0.9961 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0008501/0.5098, allocations: 0.6676 MB / 0.556 GB, free: 424 kB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.005402/0.5152, allocations: 2.068 MB / 0.5581 GB, free: 14.97 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01184/0.527, allocations: 4.737 MB / 0.5627 GB, free: 11.68 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.214e-06/0.527, allocations: 0 / 0.5627 GB, free: 11.68 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.512e-06/0.527, allocations: 0 / 0.5627 GB, free: 11.68 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0002317/0.5273, allocations: 0 / 0.5627 GB, free: 11.68 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.0257/0.553, allocations: 6.095 MB / 0.5686 GB, free: 7.559 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.368e-05/0.553, allocations: 8.031 kB / 0.5687 GB, free: 7.551 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00374/0.5568, allocations: 0.5958 MB / 0.5692 GB, free: 6.953 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006253/0.563, allocations: 2.204 MB / 0.5714 GB, free: 4.676 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001771/0.5632, allocations: 206.4 kB / 0.5716 GB, free: 4.473 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003614/0.5636, allocations: 268.4 kB / 0.5718 GB, free: 4.211 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005542/0.5691, allocations: 3.18 MB / 0.5749 GB, free: 0.5742 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.598e-05/0.5692, allocations: 24.41 kB / 0.575 GB, free: 0.5508 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002798/0.5694, allocations: 120 kB / 0.5751 GB, free: 444 kB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.964e-05/0.5695, allocations: 76 kB / 0.5752 GB, free: 368 kB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004492/0.574, allocations: 2.537 MB / 0.5776 GB, free: 13.8 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.0291/0.6031, allocations: 20.53 MB / 0.5977 GB, free: 8.344 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004448/0.6076, allocations: 2.209 MB / 0.5998 GB, free: 6.16 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001634/0.6092, allocations: 0.8349 MB / 0.6007 GB, free: 5.324 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001708/0.6094, allocations: 46.03 kB / 0.6007 GB, free: 5.281 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.816e-05/0.6094, allocations: 68.55 kB / 0.6008 GB, free: 5.203 MB / 446.1 MB Notification: Performance of pre-optimization done (n=252): time 5.04e-06/0.6095, allocations: 0 / 0.6008 GB, free: 5.203 MB / 446.1 MB Notification: Performance of matching and sorting (n=252): time 0.02276/0.6322, allocations: 5.965 MB / 0.6066 GB, free: 15.18 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.281e-05/0.6323, allocations: 77.41 kB / 0.6067 GB, free: 15.09 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005969/0.6383, allocations: 2.954 MB / 0.6095 GB, free: 12.13 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0005995/0.6389, allocations: 77.7 kB / 0.6096 GB, free: 12.05 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001701/0.6406, allocations: 1.448 MB / 0.611 GB, free: 10.59 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001873/0.6424, allocations: 1.058 MB / 0.6121 GB, free: 9.523 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002913/0.6453, allocations: 1.517 MB / 0.6135 GB, free: 7.992 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001782/0.6455, allocations: 305.1 kB / 0.6138 GB, free: 7.691 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004154/0.6497, allocations: 2.078 MB / 0.6159 GB, free: 5.605 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005019/0.6547, allocations: 2.751 MB / 0.6186 GB, free: 2.777 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007696/0.6624, allocations: 3.986 MB / 0.6224 GB, free: 14.67 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.211e-05/0.6624, allocations: 4 kB / 0.6225 GB, free: 14.66 MB / 478.1 MB Notification: Performance of matching and sorting (n=1098) (initialization): time 0.01512/0.6775, allocations: 6.982 MB / 0.6293 GB, free: 7.594 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.609e-05/0.6776, allocations: 4 kB / 0.6293 GB, free: 7.59 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.917e-05/0.6776, allocations: 8 kB / 0.6293 GB, free: 7.582 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002847/0.6805, allocations: 0.9278 MB / 0.6302 GB, free: 6.652 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007277/0.6877, allocations: 1.595 MB / 0.6317 GB, free: 5.055 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01241/0.7001, allocations: 6.994 MB / 0.6386 GB, free: 13.92 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00772/0.7079, allocations: 0.5483 MB / 0.6391 GB, free: 13.37 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008503/0.7087, allocations: 264.1 kB / 0.6394 GB, free: 13.11 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 (1034): * Single equations (assignments): 1032 * 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.001655/0.7104, allocations: 0.687 MB / 0.64 GB, free: 12.41 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008937/0.7113, allocations: 357.8 kB / 0.6404 GB, free: 12.06 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00567/0.7169, allocations: 2.651 MB / 0.643 GB, free: 9.387 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.834e-05/0.717, allocations: 24 kB / 0.643 GB, free: 9.363 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.888e-06/0.717, allocations: 4 kB / 0.643 GB, free: 9.359 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.6e-05/0.717, allocations: 11.95 kB / 0.643 GB, free: 9.348 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01121/0.7282, allocations: 5.511 MB / 0.6484 GB, free: 3.766 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.111e-05/0.7282, allocations: 7.875 kB / 0.6484 GB, free: 3.758 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001487/0.7297, allocations: 319.5 kB / 0.6487 GB, free: 3.445 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002699/0.7324, allocations: 0.7443 MB / 0.6494 GB, free: 2.691 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001568/0.7326, allocations: 44 kB / 0.6495 GB, free: 2.648 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01147/0.744, allocations: 6.771 MB / 0.6561 GB, free: 11.7 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.224e-06/0.744, allocations: 4 kB / 0.6561 GB, free: 11.69 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006438/0.7505, allocations: 2.745 MB / 0.6588 GB, free: 8.918 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00251/0.753, allocations: 0.717 MB / 0.6595 GB, free: 8.18 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007964/0.7538, allocations: 47.98 kB / 0.6595 GB, free: 8.133 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002766/0.7566, allocations: 103.9 kB / 0.6596 GB, free: 8.031 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004182/0.757, allocations: 161.7 kB / 0.6598 GB, free: 7.871 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001706/0.7571, allocations: 75.97 kB / 0.6598 GB, free: 7.797 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.002942/0.7601, allocations: 1.77 MB / 0.6616 GB, free: 6.031 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.2e-07/0.7601, allocations: 0 / 0.6616 GB, free: 6.031 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.005792/0.7659, allocations: 1.625 MB / 0.6631 GB, free: 4.406 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.0006496/0.7665, allocations: 295.1 kB / 0.6634 GB, free: 4.113 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.009064/0.7756, allocations: 4.454 MB / 0.6678 GB, free: 15.63 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 6.602e-06/0.7756, allocations: 192 / 0.6678 GB, free: 15.63 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.003062/0.7787, allocations: 1.464 MB / 0.6692 GB, free: 14.13 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003536/0.7822, allocations: 272.8 kB / 0.6695 GB, free: 13.87 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009357/0.7915, allocations: 4.626 MB / 0.674 GB, free: 9.211 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00159/0.7931, allocations: 1.73 MB / 0.6757 GB, free: 7.453 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.002472/0.7956, allocations: 0.5505 MB / 0.6762 GB, free: 6.895 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007935/0.7964, allocations: 251.4 kB / 0.6765 GB, free: 6.648 MB / 0.5137 GB Notification: Performance of SimCode: time 2.104e-06/0.7964, allocations: 0 / 0.6765 GB, free: 6.648 MB / 0.5137 GB Notification: Performance of Templates: time 0.0871/0.8835, allocations: 46.37 MB / 0.7217 GB, free: 8.312 MB / 0.5606 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.612893359968439] Failed to read output from testmodel.py, exit status != 0: 0.8936277381144464 1.143422059 0.6136995900000001 Calling exit ...